/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (https://www.swig.org).
 * Version 4.2.1
 *
 * Do not make changes to this file unless you know what you are doing - modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

#ifdef _MSC_VER
#define SWIG_PYTHON_INTERPRETER_NO_DEBUG 
#endif



#define SWIG_VERSION 0x040201
#define SWIGPYTHON
#define SWIG_DIRECTORS
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE

/* -----------------------------------------------------------------------------
 *  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(__cplusplus) && __cplusplus >=201103L
# define SWIG_NULLPTR nullptr
#else
# define SWIG_NULLPTR NULL
#endif 

/* -----------------------------------------------------------------------------
 * swigcompat.swg
 *
 * Macros to provide support compatibility with older C and C++ standards.
 * ----------------------------------------------------------------------------- */

/* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF
 * if you're missing it.
 */
#if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
     (defined __cplusplus && __cplusplus >= 201103L) || \
     defined SWIG_HAVE_SNPRINTF) && \
    !defined SWIG_NO_SNPRINTF
# define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
# define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
#else
/* Fallback versions ignore the buffer size, but most of our uses either have a
 * fixed maximum possible size or dynamically allocate a buffer that's large
 * enough.
 */
# define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
# define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
#endif


#if defined(__GNUC__) && defined(_WIN32) && !defined(SWIG_PYTHON_NO_HYPOT_WORKAROUND)
/* Workaround for '::hypot' has not been declared', see https://bugs.python.org/issue11566 */
# include <math.h>
#endif

#if !defined(PY_SSIZE_T_CLEAN) && !defined(SWIG_NO_PY_SSIZE_T_CLEAN)
#define PY_SSIZE_T_CLEAN
#endif

#if __GNUC__ >= 7
#pragma GCC diagnostic push
#if defined(__cplusplus) && __cplusplus >=201703L
#pragma GCC diagnostic ignored "-Wregister" /* For python-2.7 headers that use register */
#endif
#endif

#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
/* Use debug wrappers with the Python release dll */

#if defined(_MSC_VER) && _MSC_VER >= 1929
/* Workaround compilation errors when redefining _DEBUG in MSVC 2019 version 16.10 and later
 * See https://github.com/swig/swig/issues/2090 */
# include <corecrt.h>
#endif

# undef _DEBUG
# include <Python.h>
# define _DEBUG 1
#else
# include <Python.h>
#endif

#if __GNUC__ >= 7
#pragma GCC diagnostic pop
#endif

#include <stdio.h>

/* -----------------------------------------------------------------------------
 * 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
#define SWIG_POINTER_NO_NULL       0x4
#define SWIG_POINTER_CLEAR         0x8
#define SWIG_POINTER_RELEASE       (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)

/* 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 returning 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)
/* Runtime errors are < 0 */
#define SWIG_ERROR                 (-1)
/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
/* Errors < -200 are generic runtime specific errors */
#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)

#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 temporary 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 object 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(const 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.  Choose the last
     name. It should be the most specific; a fully resolved name
     but not necessarily with default template parameters expanded. */
  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

/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
#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 _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


/* Wrapper around PyUnicode_AsUTF8AndSize - call Py_XDECREF on the returned pbytes when finished with the returned string */
SWIGINTERN const char *
SWIG_PyUnicode_AsUTF8AndSize(PyObject *str, Py_ssize_t *psize, PyObject **pbytes)
{
#if PY_VERSION_HEX >= 0x03030000
# if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
  *pbytes = NULL;
  return PyUnicode_AsUTF8AndSize(str, psize);
# else
   *pbytes = PyUnicode_AsUTF8String(str);
   const char *chars = *pbytes ? PyBytes_AsString(*pbytes) : NULL;
   if (chars && psize)
     *psize = PyBytes_Size(*pbytes);
  return chars;
# endif
#else
  char *chars = NULL;
  *pbytes = NULL;
  PyString_AsStringAndSize(str, &chars, psize);
  return chars;
#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
}

#ifndef PyObject_DEL
# define PyObject_DEL PyObject_Del
#endif

/* SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user interface files check for it. */
# define SWIGPY_USE_CAPSULE
#ifdef SWIGPYTHON_BUILTIN
# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME
#else
# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME
#endif
# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION "." SWIGPY_CAPSULE_ATTR_NAME)

#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

#ifdef Py_LIMITED_API
# define PyTuple_GET_ITEM PyTuple_GetItem
/* Note that PyTuple_SetItem() has different semantics from PyTuple_SET_ITEM as it decref's the original tuple item, so in general they cannot be used
  interchangeably. However in SWIG-generated code PyTuple_SET_ITEM is only used with newly initialized tuples without any items and for them this does work. */
# define PyTuple_SET_ITEM PyTuple_SetItem
# define PyTuple_GET_SIZE PyTuple_Size
# define PyCFunction_GET_FLAGS PyCFunction_GetFlags
# define PyCFunction_GET_FUNCTION PyCFunction_GetFunction
# define PyCFunction_GET_SELF PyCFunction_GetSelf
# define PyList_GET_ITEM PyList_GetItem
# define PyList_SET_ITEM PyList_SetItem
# define PySliceObject PyObject
#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) {
    PyObject *old_str = PyObject_Str(value);
    PyObject *bytes = NULL;
    const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes);
    PyErr_Clear();
    Py_XINCREF(type);
    if (tmp)
      PyErr_Format(type, "%s %s", tmp, mesg);
    else
      PyErr_Format(type, "%s", mesg);
    Py_XDECREF(bytes);
    Py_DECREF(old_str);
    Py_DECREF(value);
  } else {
    PyErr_SetString(PyExc_RuntimeError, mesg);
  }
}

SWIGRUNTIME int
SWIG_Python_TypeErrorOccurred(PyObject *obj)
{
  PyObject *error;
  if (obj)
    return 0;
  error = PyErr_Occurred();
  return error && PyErr_GivenExceptionMatches(error, PyExc_TypeError);
}

SWIGRUNTIME void
SWIG_Python_RaiseOrModifyTypeError(const char *message)
{
  if (SWIG_Python_TypeErrorOccurred(NULL)) {
    /* Use existing TypeError to preserve stacktrace and enhance with given message */
    PyObject *newvalue;
    PyObject *type = NULL, *value = NULL, *traceback = NULL;
    PyErr_Fetch(&type, &value, &traceback);
#if PY_VERSION_HEX >= 0x03000000
    newvalue = PyUnicode_FromFormat("%S\nAdditional information:\n%s", value, message);
#else
    newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message);
#endif
    if (newvalue) {
      Py_XDECREF(value);
      PyErr_Restore(type, newvalue, traceback);
    } else {
      PyErr_Restore(type, value, traceback);
    }
  } else {
    /* Raise TypeError using given message */
    PyErr_SetString(PyExc_TypeError, message);
  }
}

#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)
#    define SWIG_PYTHON_USE_GIL
#  endif
#  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
#    if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
#      if PY_VERSION_HEX < 0x03070000
#        define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
#      else
#        define SWIG_PYTHON_INITIALIZE_THREADS
#      endif
#    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) { status = false; PyEval_RestoreThread(save); }}
         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;
  const char *name;
  long lvalue;
  double dvalue;
  void   *pvalue;
  swig_type_info **ptype;
} swig_const_info;

#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.
 *
 * ----------------------------------------------------------------------------- */

#if PY_VERSION_HEX < 0x02070000 /* 2.7.0 */
# error "This version of SWIG only supports Python >= 2.7"
#endif

#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03030000
# error "This version of SWIG only supports Python 3 >= 3.3"
#endif

/* 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) {   
  PyDict_SetItemString(d, name, obj);
  Py_DECREF(obj);
  if (public_interface)
    SwigPyBuiltin_AddPublicSymbol(public_interface, name);
}

#else

SWIGINTERN void
SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {   
  PyDict_SetItemString(d, name, obj);
  Py_DECREF(obj);                            
}

#endif

/* Append a value to the result obj */

SWIGINTERN PyObject*
SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
  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);
      if (result) {
        PyList_SET_ITEM(result, 0, o2);
      } else {
        Py_DECREF(obj);
        return o2;
      }
    }
    PyList_Append(result,obj);
    Py_DECREF(obj);
  }
  return result;
}

/* 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;
    }    
  }
}

SWIGINTERN int
SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) {
  int no_kwargs = 1;
  if (kwargs) {
    assert(PyDict_Check(kwargs));
    if (PyDict_Size(kwargs) > 0) {
      PyErr_Format(PyExc_TypeError, "%s() does not take keyword arguments", name);
      no_kwargs = 0;
    }
  }
  return no_kwargs;
}

/* A functor is a function object with one single object argument */
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunctionObjArgs(functor, obj, NULL);

/*
  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

#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(PyObject *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(PyObject *o) {
  swig_varlinkobject *v = (swig_varlinkobject *) o;
#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 void
swig_varlink_dealloc(PyObject *o) {
  swig_varlinkobject *v = (swig_varlinkobject *) o;
  swig_globalvar *var = v->vars;
  while (var) {
    swig_globalvar *n = var->next;
    free(var->name);
    free(var);
    var = n;
  }
}

SWIGINTERN PyObject *
swig_varlink_getattr(PyObject *o, char *n) {
  swig_varlinkobject *v = (swig_varlinkobject *) o;
  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(PyObject *o, char *n, PyObject *p) {
  swig_varlinkobject *v = (swig_varlinkobject *) o;
  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";
#ifndef Py_LIMITED_API
  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
      "swigvarlink",                      /* tp_name */
      sizeof(swig_varlinkobject),         /* tp_basicsize */
      0,                                  /* tp_itemsize */
      (destructor) swig_varlink_dealloc,  /* tp_dealloc */
#if PY_VERSION_HEX < 0x030800b4
      (printfunc)0,                       /*tp_print*/
#else
      (Py_ssize_t)0,                      /*tp_vectorcall_offset*/
#endif
      (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 */
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
      0,                                  /* tp_del */
      0,                                  /* tp_version_tag */
#if PY_VERSION_HEX >= 0x03040000
      0,                                  /* tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x03080000
      0,                                  /* tp_vectorcall */
#endif
#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
      0,                                  /* tp_print */
#endif
#if PY_VERSION_HEX >= 0x030C0000
      0,                                  /* tp_watched */
#endif
#ifdef COUNT_ALLOCS
      0,                                  /* tp_allocs */
      0,                                  /* tp_frees */
      0,                                  /* tp_maxalloc */
      0,                                  /* tp_prev */
      0                                   /* tp_next */
#endif
    };
    varlink_type = tmp;
    type_init = 1;
    if (PyType_Ready(&varlink_type) < 0)
      return NULL;
  }
  return &varlink_type;
#else
  PyType_Slot slots[] = {
    { Py_tp_dealloc, (void *)swig_varlink_dealloc },
    { Py_tp_repr, (void *)swig_varlink_repr },
    { Py_tp_getattr, (void *)swig_varlink_getattr },
    { Py_tp_setattr, (void *)swig_varlink_setattr },
    { Py_tp_str, (void *)swig_varlink_str },
    { Py_tp_doc, (void *)varlink__doc__ },
    { 0, NULL }
  };
  PyType_Spec spec = {
    "swigvarlink",
    sizeof(swig_varlinkobject),
    0,
    Py_TPFLAGS_DEFAULT,
    slots
  };
  return (PyTypeObject *)PyType_FromSpec(&spec);
#endif
}

/* 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, const 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) {
      memcpy(gv->name, name, size);
      gv->get_attr = get_attr;
      gv->set_attr = set_attr;
      gv->next = v->vars;
    }
  }
  v->vars = gv;
}


static PyObject *Swig_Globals_global = NULL;
  
SWIGINTERN PyObject *
SWIG_globals(void) {
  if (Swig_Globals_global == NULL) {
    Swig_Globals_global = SWIG_newvarlink();
  }
  return Swig_Globals_global;
}

#ifdef __cplusplus
}
#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

/* 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;
  int fail = data ? data->implicitconv : 0;
  if (fail)
    PyErr_SetString(PyExc_TypeError, "Implicit conversion is prohibited for explicit constructors.");
  return fail;
}

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;
      Py_INCREF(obj);
      data->newargs = obj;
    } else {
      data->newraw = PyObject_GetAttrString(data->klass, "__new__");
      if (data->newraw) {
        data->newargs = PyTuple_New(1);
        if (data->newargs) {
          Py_INCREF(obj);
          PyTuple_SET_ITEM(data->newargs, 0, obj);
        } else {
          Py_DECREF(data->newraw);
          Py_DECREF(data->klass);
          free(data);
          return 0;
        }
      } else {
        Py_INCREF(obj);
        data->newargs = obj;
      }
    }
    /* the destroy method, aka as the C++ delete method */
    data->destroy = PyObject_GetAttrString(data->klass, "__swig_destroy__");
    if (PyErr_Occurred()) {
      PyErr_Clear();
      data->destroy = 0;
    }
    if (data->destroy) {
      data->delargs = !(PyCFunction_GET_FLAGS(data->destroy) & METH_O);
    } else {
      data->delargs = 0;
    }
    data->implicitconv = 0;
    data->pytype = 0;
    return data;
  }
}

SWIGRUNTIME void 
SwigPyClientData_Del(SwigPyClientData *data)
{
  Py_XDECREF(data->klass);
  Py_XDECREF(data->newraw);
  Py_XDECREF(data->newargs);
  Py_XDECREF(data->destroy);
  free(data);
}

/* =============== 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_XINCREF(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) {
    PyObject *val = SwigPyObject_long(v);
    if (val) {
      PyObject *ofmt;
      PyTuple_SET_ITEM(args, 0, val);
      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 *
SwigPyObject_repr(SwigPyObject *v)
{
  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 (repr && v->next) {
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
    if (nrep) {
# 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
    } else {
      Py_DecRef(repr);
      repr = NULL;
    }
  }
  return repr;
}

/* We need a version taking two PyObject* parameters so it's a valid
 * PyCFunction to use in swigobject_methods[]. */
SWIGRUNTIME PyObject *
SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
{
  return SwigPyObject_repr((SwigPyObject*)v);
}

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 = NULL;
  if (!PyErr_Occurred()) {
    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) {
  PyTypeObject *target_tp = SwigPyObject_type();
  PyTypeObject *op_type = Py_TYPE(op);
#ifdef SWIGPYTHON_BUILTIN
  if (PyType_IsSubtype(op_type, target_tp))
    return 1;
  return (strcmp(op_type->tp_name, "SwigPyObject") == 0);
#else
  if (op_type == target_tp)
    return 1;
# ifdef Py_LIMITED_API
  int cmp;
  PyObject *tp_name = PyObject_GetAttrString((PyObject *)op_type, "__name__");
  if (!tp_name)
    return 0;
  cmp = PyUnicode_CompareWithASCIIString(tp_name, "SwigPyObject");
  Py_DECREF(tp_name);
  return cmp == 0;
# else
  return (strcmp(op_type->tp_name, "SwigPyObject") == 0);
# endif
#endif
}

SWIGRUNTIME PyObject *
SwigPyObject_New(void *ptr, swig_type_info *ty, int own);

static PyObject* Swig_Capsule_global = NULL;

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 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 *type = NULL, *value = NULL, *traceback = NULL;
      PyErr_Fetch(&type, &value, &traceback);

      if (data->delargs) {
        /* we need to create a temporary object to carry the destroy operation */
        PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
        if (tmp) {
          res = SWIG_Python_CallFunctor(destroy, tmp);
        } else {
          res = 0;
        }
        Py_XDECREF(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(type, value, traceback);

      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(Swig_Capsule_global);
  }
  Py_XDECREF(next);
#ifdef SWIGPYTHON_BUILTIN
  Py_XDECREF(sobj->dict);
#endif
  PyObject_DEL(v);
}

SWIGRUNTIME PyObject* 
SwigPyObject_append(PyObject* v, PyObject* next)
{
  SwigPyObject *sobj = (SwigPyObject *) v;
  if (!SwigPyObject_Check(next)) {
    PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject");
    return NULL;
  }
  ((SwigPyObject *)next)->next = sobj->next;
  sobj->next = next;
  Py_INCREF(next);
  return SWIG_Py_Void();
}

SWIGRUNTIME PyObject* 
SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
{
  SwigPyObject *sobj = (SwigPyObject *) v;
  if (sobj->next) {    
    Py_INCREF(sobj->next);
    return sobj->next;
  } else {
    return SWIG_Py_Void();
  }
}

SWIGINTERN PyObject*
SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
{
  SwigPyObject *sobj = (SwigPyObject *)v;
  sobj->own = 0;
  return SWIG_Py_Void();
}

SWIGINTERN PyObject*
SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
{
  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 (!PyArg_UnpackTuple(args, "own", 0, 1, &val)) {
    return NULL;
  } else {
    SwigPyObject *sobj = (SwigPyObject *)v;
    PyObject *obj = PyBool_FromLong(sobj->own);
    if (val) {
      if (PyObject_IsTrue(val)) {
        Py_DECREF(SwigPyObject_acquire(v,args));
      } else {
        Py_DECREF(SwigPyObject_disown(v,args));
      }
    } 
    return obj;
  }
}

static PyMethodDef
swigobject_methods[] = {
  {"disown",  SwigPyObject_disown,  METH_NOARGS,  "releases ownership of the pointer"},
  {"acquire", SwigPyObject_acquire, METH_NOARGS,  "acquires ownership of the pointer"},
  {"own",     SwigPyObject_own,     METH_VARARGS, "returns/sets ownership of the pointer"},
  {"append",  SwigPyObject_append,  METH_O,       "appends another 'this' object"},
  {"next",    SwigPyObject_next,    METH_NOARGS,  "returns the next 'this' object"},
  {"__repr__",SwigPyObject_repr2,   METH_NOARGS,  "returns object representation"},
  {0, 0, 0, 0}  
};

SWIGRUNTIME PyTypeObject*
SwigPyObject_TypeOnce(void) {
  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
#ifndef Py_LIMITED_API
  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 */
#else
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
#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
      "SwigPyObject",                       /* tp_name */
      sizeof(SwigPyObject),                 /* tp_basicsize */
      0,                                    /* tp_itemsize */
      (destructor)SwigPyObject_dealloc,     /* tp_dealloc */
#if PY_VERSION_HEX < 0x030800b4
      (printfunc)0,                         /*tp_print*/
#else
      (Py_ssize_t)0,                        /*tp_vectorcall_offset*/
#endif
      (getattrfunc)0,                       /* tp_getattr */
      (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 */
      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 */
      0,                                    /* tp_del */
      0,                                    /* tp_version_tag */
#if PY_VERSION_HEX >= 0x03040000
      0,                                    /* tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x03080000
      0,                                    /* tp_vectorcall */
#endif
#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
      0,                                    /* tp_print */
#endif
#if PY_VERSION_HEX >= 0x030C0000
      0,                                    /* tp_watched */
#endif
#ifdef COUNT_ALLOCS
      0,                                    /* tp_allocs */
      0,                                    /* tp_frees */
      0,                                    /* tp_maxalloc */
      0,                                    /* tp_prev */
      0                                     /* tp_next */
#endif
    };
    swigpyobject_type = tmp;
    type_init = 1;
    if (PyType_Ready(&swigpyobject_type) != 0)
      return NULL;
  }
  return &swigpyobject_type;
#else
  PyType_Slot slots[] = {
    { Py_tp_dealloc, (void *)SwigPyObject_dealloc },
    { Py_tp_repr, (void *)SwigPyObject_repr },
    { Py_tp_getattro, (void *)PyObject_GenericGetAttr },
    { Py_tp_doc, (void *)swigobject_doc },
    { Py_tp_richcompare, (void *)SwigPyObject_richcompare },
    { Py_tp_methods, (void *)swigobject_methods },
    { Py_nb_int, (void *)SwigPyObject_long },
    { 0, NULL }
  };
  PyType_Spec spec = {
    "SwigPyObject",
    sizeof(SwigPyObject),
    0,
    Py_TPFLAGS_DEFAULT,
    slots
  };
  return (PyTypeObject *)PyType_FromSpec(&spec);
#endif
}

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;
#ifdef SWIGPYTHON_BUILTIN
    sobj->dict = 0;
#endif
    if (own == SWIG_POINTER_OWN) {
      /* Obtain a reference to the Python capsule wrapping the module information, so that the
       * module information is correctly destroyed after all SWIG python objects have been freed
       * by the GC (and corresponding destructors invoked) */
      Py_XINCREF(Swig_Capsule_global);
    }
  }
  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 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((const char *)v->pack, (const 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) {
  PyTypeObject* op_type = Py_TYPE(op);
  if (op_type == SwigPyPacked_TypeOnce())
    return 1;
#ifdef Py_LIMITED_API
  int cmp;
  PyObject *tp_name = PyObject_GetAttrString((PyObject *)op_type, "__name__");
  if (!tp_name)
    return 0;
  cmp = PyUnicode_CompareWithASCIIString(tp_name, "SwigPyPacked");
  Py_DECREF(tp_name);
  return cmp == 0;
#else
  return (strcmp(op_type->tp_name, "SwigPyPacked") == 0);
#endif
}

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";
#ifndef Py_LIMITED_API
  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
      "SwigPyPacked",                       /* tp_name */
      sizeof(SwigPyPacked),                 /* tp_basicsize */
      0,                                    /* tp_itemsize */
      (destructor)SwigPyPacked_dealloc,     /* tp_dealloc */
#if PY_VERSION_HEX < 0x030800b4
      (printfunc)0,                         /*tp_print*/
#else
      (Py_ssize_t)0,                        /*tp_vectorcall_offset*/
#endif
      (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 */
      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 */
      0,                                    /* tp_del */
      0,                                    /* tp_version_tag */
#if PY_VERSION_HEX >= 0x03040000
      0,                                    /* tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x03080000
      0,                                    /* tp_vectorcall */
#endif
#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
      0,                                    /* tp_print */
#endif
#if PY_VERSION_HEX >= 0x030C0000
      0,                                    /* tp_watched */
#endif
#ifdef COUNT_ALLOCS
      0,                                    /* tp_allocs */
      0,                                    /* tp_frees */
      0,                                    /* tp_maxalloc */
      0,                                    /* tp_prev */
      0                                     /* tp_next */
#endif
    };
    swigpypacked_type = tmp;
    type_init = 1;
    if (PyType_Ready(&swigpypacked_type) != 0)
      return NULL;
  }
  return &swigpypacked_type;
#else
  PyType_Slot slots[] = {
    { Py_tp_dealloc, (void *)SwigPyPacked_dealloc },
    { Py_tp_repr, (void *)SwigPyPacked_repr },
    { Py_tp_str, (void *)SwigPyPacked_str },
    { Py_tp_getattro, (void *)PyObject_GenericGetAttr },
    { Py_tp_doc, (void *)swigpacked_doc },
    { 0, NULL }
  };
  PyType_Spec spec = {
    "SwigPyPacked",
    sizeof(SwigPyPacked),
    0,
    Py_TPFLAGS_DEFAULT,
    slots
  };
  return (PyTypeObject *)PyType_FromSpec(&spec);
#endif
}

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
 * ----------------------------------------------------------------------------- */

static PyObject *Swig_This_global = NULL;

SWIGRUNTIME PyObject *
SWIG_This(void)
{
  if (Swig_This_global == NULL)
    Swig_This_global = SWIG_Python_str_FromChar("this");
  return Swig_This_global;
}

/* #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)
  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 (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : 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 (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !sobj->own) {
      res = SWIG_ERROR_RELEASE_NOT_OWNED;
    } else {
      if (own)
        *own = *own | sobj->own;
      if (flags & SWIG_POINTER_DISOWN) {
        sobj->own = 0;
      }
      if (flags & SWIG_POINTER_CLEAR) {
        sobj->ptr = 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;
    swig_cast_info *tc;

    /* here we get the method pointer for callbacks */
#ifndef Py_LIMITED_API
    const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
#else
    PyObject* pystr_doc = PyObject_GetAttrString(obj, "__doc__");
    PyObject *bytes = NULL;
    const char *doc = pystr_doc ? SWIG_PyUnicode_AsUTF8AndSize(pystr_doc, NULL, &bytes) : 0;
#endif
    const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
    if (desc)
      desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
#ifdef Py_LIMITED_API
    Py_XDECREF(bytes);
    Py_XDECREF(pystr_doc);
#endif
    if (!desc)
      return SWIG_ERROR;
    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;
    }
    return SWIG_OK;
  }
}

/* Convert a packed pointer 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)
{
  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;
        }
        if (dict) {
          PyDict_SetItem(dict, SWIG_This(), swig_this);
        } else{
          Py_DECREF(inst);
          inst = 0;
        }
      }
#else
      if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) {
        Py_DECREF(inst);
        inst = 0;
      }
#endif
    }
  } else {
#if PY_VERSION_HEX >= 0x03000000
    PyObject *empty_args = PyTuple_New(0);
    if (empty_args) {
      PyObject *empty_kwargs = PyDict_New();
      if (empty_kwargs) {
#ifndef Py_LIMITED_API
        newfunc newfn = ((PyTypeObject *)data->newargs)->tp_new;
#else
        newfunc newfn = (newfunc)PyType_GetSlot((PyTypeObject *)data->newargs, Py_tp_new);
#endif
        inst = newfn((PyTypeObject *)data->newargs, empty_args, empty_kwargs);
        Py_DECREF(empty_kwargs);
        if (inst) {
          if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) {
            Py_DECREF(inst);
            inst = 0;
          } else {
            PyType_Modified(Py_TYPE(inst));
          }
        }
      }
      Py_DECREF(empty_args);
    }
#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;
}

SWIGRUNTIME int
SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
{
#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;
    }
    if (dict) {
      return PyDict_SetItem(dict, SWIG_This(), swig_this);
    } else{
      return -1;
    }
  }
#endif
  return PyObject_SetAttr(inst, SWIG_This(), swig_this);
} 


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) {
      Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1]));
    } else {
      if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0)
        return NULL;
    }
    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) {
#ifndef Py_LIMITED_API
        allocfunc alloc = clientdata->pytype->tp_alloc;
#else
        allocfunc alloc = (allocfunc)PyType_GetSlot(clientdata->pytype, Py_tp_alloc);
#endif
        PyObject *next_self = 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
      if (newobj) {
        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

static PyObject *Swig_TypeCache_global = NULL;

/* The python cached type query */
SWIGRUNTIME PyObject *
SWIG_Python_TypeCache(void) {
  if (Swig_TypeCache_global == NULL) {
    Swig_TypeCache_global = PyDict_New();
  }
  return Swig_TypeCache_global;
}

SWIGRUNTIME swig_module_info *
SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
#ifdef SWIG_LINK_RUNTIME
  static void *type_pointer = (void *)0;
  /* first check if module already created */
  if (!type_pointer) {
    type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
  }
#else
  void *type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
  if (PyErr_Occurred()) {
    PyErr_Clear();
    type_pointer = (void *)0;
  }
#endif
  return (swig_module_info *) type_pointer;
}


static int interpreter_counter = 0; /* how many (sub-)interpreters are using swig_module's types */

SWIGRUNTIME void
SWIG_Python_DestroyModule(PyObject *obj)
{
  swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
  swig_type_info **types = swig_module->types;
  size_t i;
  if (--interpreter_counter != 0) /* another sub-interpreter may still be using the swig_module's types */
    return;
  for (i =0; i < swig_module->size; ++i) {
    swig_type_info *ty = types[i];
    if (ty->owndata) {
      SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
      ty->clientdata = 0;
      if (data) SwigPyClientData_Del(data);
    }
  }
  Py_DECREF(SWIG_This());
  Swig_This_global = NULL;
  Py_DECREF(SWIG_globals());
  Swig_Globals_global = NULL;
  Py_DECREF(SWIG_Python_TypeCache());
  Swig_TypeCache_global = NULL;
  Swig_Capsule_global = 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("swig_runtime_data" SWIG_RUNTIME_VERSION);
#else
  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */
  PyObject *module = Py_InitModule("swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
#endif
  PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
  if (pointer && module) {
    if (PyModule_AddObject(module, SWIGPY_CAPSULE_ATTR_NAME, pointer) == 0) {
      ++interpreter_counter;
      Swig_Capsule_global = pointer;
    } else {
      Py_DECREF(pointer);
    }
  } else {
    Py_XDECREF(pointer);
  }
}

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) {
    descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
  } else {
    swig_module_info *swig_module = SWIG_GetModule(0);
    descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
    if (descriptor) {
      obj = PyCapsule_New((void*) descriptor, NULL, NULL);
      if (obj) {
        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) {
      PyObject *old_str = PyObject_Str(value);
      PyObject *bytes = NULL;
      const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes);
      const char *errmesg = tmp ? tmp : "Invalid error message";
      Py_XINCREF(type);
      PyErr_Clear();
      if (infront) {
	PyErr_Format(type, "%s %s", mesg, errmesg);
      } else {
	PyErr_Format(type, "%s %s", errmesg, mesg);
      }
      Py_XDECREF(bytes);
      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      
    {
#ifndef Py_LIMITED_API
      /* tp_name is not accessible */
      const char *otype = (obj ? obj->ob_type->tp_name : 0); 
      if (otype) {
	PyObject *str = PyObject_Str(obj);
	PyObject *bytes = NULL;
	const char *cstr = str ? SWIG_PyUnicode_AsUTF8AndSize(str, NULL, &bytes) : 0;
	if (cstr) {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
		       type, otype, cstr);
	} else {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
		       type, otype);
	}
	Py_XDECREF(bytes);
	Py_XDECREF(str);
	return;
      }
#endif
    }   
    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();
  }
  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);
      if (!encoded_name)
        goto done;
    }
    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) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0) 



  #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0) 

/* -----------------------------------------------------------------------------
 * director_common.swg
 *
 * This file contains support for director classes which is common between
 * languages.
 * ----------------------------------------------------------------------------- */

/*
  Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the
  'Swig' namespace. This could be useful for multi-modules projects.
*/
#ifdef SWIG_DIRECTOR_STATIC
/* Force anonymous (static) namespace */
#define Swig
#endif
/* -----------------------------------------------------------------------------
 * director.swg
 *
 * This file contains support for director classes so that Python proxy
 * methods can be called from C++.
 * ----------------------------------------------------------------------------- */

#ifndef SWIG_DIRECTOR_PYTHON_HEADER_
#define SWIG_DIRECTOR_PYTHON_HEADER_

#include <string>
#include <iostream>
#include <exception>
#include <vector>
#include <map>

#if defined(SWIG_PYTHON_THREADS)
/*  __THREAD__ is the old macro to activate some thread support */
# if !defined(__THREAD__)
#   define __THREAD__ 1
# endif
#endif

#ifdef __THREAD__
#ifndef Py_LIMITED_API
# include "pythread.h"
#else
# if defined(_WIN32)
#   include <windows.h>
# else
#   include <pthread.h>
# endif
#endif
#endif

/*
  Use -DSWIG_PYTHON_DIRECTOR_NO_VTABLE if you don't want to generate a 'virtual
  table', and avoid multiple GetAttr calls to retrieve the python
  methods.
*/

#ifndef SWIG_PYTHON_DIRECTOR_NO_VTABLE
#ifndef SWIG_PYTHON_DIRECTOR_VTABLE
#define SWIG_PYTHON_DIRECTOR_VTABLE
#endif
#endif



/*
  Use -DSWIG_DIRECTOR_NO_UEH if you prefer to avoid the use of the
  Undefined Exception Handler provided by swig.
*/
#ifndef SWIG_DIRECTOR_NO_UEH
#ifndef SWIG_DIRECTOR_UEH
#define SWIG_DIRECTOR_UEH
#endif
#endif


/*
  Use -DSWIG_DIRECTOR_NORTTI if you prefer to avoid the use of the
  native C++ RTTI and dynamic_cast<>. But be aware that directors
  could stop working when using this option.
*/
#ifdef SWIG_DIRECTOR_NORTTI
/*
   When we don't use the native C++ RTTI, we implement a minimal one
   only for Directors.
*/
# ifndef SWIG_DIRECTOR_RTDIR
# define SWIG_DIRECTOR_RTDIR

namespace Swig {
  class Director;
  SWIGINTERN std::map<void *, Director *>& get_rtdir_map() {
    static std::map<void *, Director *> rtdir_map;
    return rtdir_map;
  }

  SWIGINTERNINLINE void set_rtdir(void *vptr, Director *rtdir) {
    get_rtdir_map()[vptr] = rtdir;
  }

  SWIGINTERNINLINE Director *get_rtdir(void *vptr) {
    std::map<void *, Director *>::const_iterator pos = get_rtdir_map().find(vptr);
    Director *rtdir = (pos != get_rtdir_map().end()) ? pos->second : 0;
    return rtdir;
  }
}
# endif /* SWIG_DIRECTOR_RTDIR */

# define SWIG_DIRECTOR_CAST(ARG) Swig::get_rtdir(static_cast<void *>(ARG))
# define SWIG_DIRECTOR_RGTR(ARG1, ARG2) Swig::set_rtdir(static_cast<void *>(ARG1), ARG2)

#else

# define SWIG_DIRECTOR_CAST(ARG) dynamic_cast<Swig::Director *>(ARG)
# define SWIG_DIRECTOR_RGTR(ARG1, ARG2)

#endif /* SWIG_DIRECTOR_NORTTI */

extern "C" {
  struct swig_type_info;
}

namespace Swig {

  /* memory handler */
  struct GCItem {
    virtual ~GCItem() {}

    virtual int get_own() const {
      return 0;
    }
  };

  struct GCItem_var {
    GCItem_var(GCItem *item = 0) : _item(item) {
    }

    GCItem_var& operator=(GCItem *item) {
      GCItem *tmp = _item;
      _item = item;
      delete tmp;
      return *this;
    }

    ~GCItem_var() {
      delete _item;
    }

    GCItem * operator->() const {
      return _item;
    }

  private:
    GCItem *_item;
  };

  struct GCItem_Object : GCItem {
    GCItem_Object(int own) : _own(own) {
    }

    virtual ~GCItem_Object() {
    }

    int get_own() const {
      return _own;
    }

  private:
    int _own;
  };

  template <typename Type>
  struct GCItem_T : GCItem {
    GCItem_T(Type *ptr) : _ptr(ptr) {
    }

    virtual ~GCItem_T() {
      delete _ptr;
    }

  private:
    Type *_ptr;
  };

  template <typename Type>
  struct GCArray_T : GCItem {
    GCArray_T(Type *ptr) : _ptr(ptr) {
    }

    virtual ~GCArray_T() {
      delete[] _ptr;
    }

  private:
    Type *_ptr;
  };

  /* base class for director exceptions */
  class DirectorException : public std::exception {
  protected:
    std::string swig_msg;
  public:
    DirectorException(PyObject *error, const char *hdr ="", const char *msg ="") : swig_msg(hdr) {
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      if (msg[0]) {
        swig_msg += " ";
        swig_msg += msg;
      }
      if (!PyErr_Occurred()) {
        PyErr_SetString(error, swig_msg.c_str());
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
    }

    virtual ~DirectorException() throw() {
    }

    /* Deprecated, use what() instead */
    const char *getMessage() const {
      return what();
    }

    const char *what() const throw() {
      return swig_msg.c_str();
    }

    static void raise(PyObject *error, const char *msg) {
      throw DirectorException(error, msg);
    }

    static void raise(const char *msg) {
      raise(PyExc_RuntimeError, msg);
    }
  };

  /* type mismatch in the return value from a python method call */
  class DirectorTypeMismatchException : public DirectorException {
  public:
    DirectorTypeMismatchException(PyObject *error, const char *msg="")
      : DirectorException(error, "SWIG director type mismatch", msg) {
    }

    DirectorTypeMismatchException(const char *msg="")
      : DirectorException(PyExc_TypeError, "SWIG director type mismatch", msg) {
    }

    static void raise(PyObject *error, const char *msg) {
      throw DirectorTypeMismatchException(error, msg);
    }

    static void raise(const char *msg) {
      throw DirectorTypeMismatchException(msg);
    }
  };

  /* any python exception that occurs during a director method call */
  class DirectorMethodException : public DirectorException {
  public:
    DirectorMethodException(const char *msg = "")
      : DirectorException(PyExc_RuntimeError, "SWIG director method error.", msg) {
    }

    static void raise(const char *msg) {
      throw DirectorMethodException(msg);
    }
  };

  /* attempt to call a pure virtual method via a director method */
  class DirectorPureVirtualException : public DirectorException {
  public:
    DirectorPureVirtualException(const char *msg = "")
      : DirectorException(PyExc_RuntimeError, "SWIG director pure virtual method called", msg) {
    }

    static void raise(const char *msg) {
      throw DirectorPureVirtualException(msg);
    }
  };


#ifdef __THREAD__
#ifndef Py_LIMITED_API
   class Mutex
   {
   public:
       Mutex() {
           mutex_ = PyThread_allocate_lock();
       }

       ~Mutex() {
           PyThread_release_lock(mutex_);
       }

   private:
       void Lock() {
           PyThread_acquire_lock(mutex_, WAIT_LOCK);
       }

       void Unlock() {
           PyThread_free_lock(mutex_);
       }

       PyThread_type_lock mutex_;

       friend class Guard;
   };
#elif defined(_WIN32)
    class Mutex : private CRITICAL_SECTION {
    public:
        Mutex() {
            InitializeCriticalSection(this);
        }

        ~Mutex() {
            DeleteCriticalSection(this);
        }

    private:
        void Lock() {
            EnterCriticalSection(this);
        }

        void Unlock() {
            LeaveCriticalSection(this);
        }

        friend class Guard;
    };
#else
    class Mutex {
    public:
        Mutex() {
            pthread_mutex_init(&mutex_, NULL);
        }

        ~Mutex() {
            pthread_mutex_destroy(&mutex_);
        }

    private:
        void Lock() {
            pthread_mutex_lock(&mutex_);
        }

        void Unlock() {
            pthread_mutex_unlock(&mutex_);
        }

        friend class Guard;

        pthread_mutex_t mutex_;
    };
#endif
  class Guard {
    Mutex &mutex_;

  public:
    Guard(Mutex & mutex) : mutex_(mutex) {
      mutex_.Lock();
    }

    ~Guard() {
      mutex_.Unlock();
    }
  };
# define SWIG_GUARD(mutex) Guard _guard(mutex)
#else
# define SWIG_GUARD(mutex)
#endif

  /* director base class */
  class Director {
  private:
    /* pointer to the wrapped python object */
    PyObject *swig_self;
    /* flag indicating whether the object is owned by python or c++ */
    mutable bool swig_disown_flag;

    /* decrement the reference count of the wrapped python object */
    void swig_decref() const {
      if (swig_disown_flag) {
        SWIG_PYTHON_THREAD_BEGIN_BLOCK;
        Py_DECREF(swig_self);
        SWIG_PYTHON_THREAD_END_BLOCK;
      }
    }

  public:
    /* wrap a python object. */
    Director(PyObject *self) : swig_self(self), swig_disown_flag(false) {
    }

    /* discard our reference at destruction */
    virtual ~Director() {
      swig_decref();
    }

    /* return a pointer to the wrapped python object */
    PyObject *swig_get_self() const {
      return swig_self;
    }

    /* acquire ownership of the wrapped python object (the sense of "disown" is from python) */
    void swig_disown() const {
      if (!swig_disown_flag) {
        swig_disown_flag=true;
        swig_incref();
      }
    }

    /* increase the reference count of the wrapped python object */
    void swig_incref() const {
      if (swig_disown_flag) {
        Py_INCREF(swig_self);
      }
    }

    /* methods to implement pseudo protected director members */
    virtual bool swig_get_inner(const char * /* swig_protected_method_name */) const {
      return true;
    }

    virtual void swig_set_inner(const char * /* swig_protected_method_name */, bool /* swig_val */) const {
    }

  /* ownership management */
  private:
    typedef std::map<void *, GCItem_var> swig_ownership_map;
    mutable swig_ownership_map swig_owner;
#ifdef __THREAD__
    static Mutex swig_mutex_own;
#endif

  public:
    template <typename Type>
    void swig_acquire_ownership_array(Type *vptr) const {
      if (vptr) {
        SWIG_GUARD(swig_mutex_own);
        swig_owner[vptr] = new GCArray_T<Type>(vptr);
      }
    }

    template <typename Type>
    void swig_acquire_ownership(Type *vptr) const {
      if (vptr) {
        SWIG_GUARD(swig_mutex_own);
        swig_owner[vptr] = new GCItem_T<Type>(vptr);
      }
    }

    void swig_acquire_ownership_obj(void *vptr, int own) const {
      if (vptr && own) {
        SWIG_GUARD(swig_mutex_own);
        swig_owner[vptr] = new GCItem_Object(own);
      }
    }

    int swig_release_ownership(void *vptr) const {
      int own = 0;
      if (vptr) {
        SWIG_GUARD(swig_mutex_own);
        swig_ownership_map::iterator iter = swig_owner.find(vptr);
        if (iter != swig_owner.end()) {
          own = iter->second->get_own();
          swig_owner.erase(iter);
        }
      }
      return own;
    }

    template <typename Type>
    static PyObject *swig_pyobj_disown(PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args)) {
      SwigPyObject *sobj = (SwigPyObject *)pyobj;
      sobj->own = 0;
      Director *d = SWIG_DIRECTOR_CAST(reinterpret_cast<Type *>(sobj->ptr));
      if (d)
        d->swig_disown();
      return PyWeakref_NewProxy(pyobj, NULL);
    }
  };

#ifdef __THREAD__
  Mutex Director::swig_mutex_own;
#endif
}

#endif

/* -------- TYPES TABLE (BEGIN) -------- */

#define SWIGTYPE_p_CLSMFrame swig_types[0]
#define SWIGTYPE_p_CLSMImage swig_types[1]
#define SWIGTYPE_p_CLSMLine swig_types[2]
#define SWIGTYPE_p_CLSMPixel swig_types[3]
#define SWIGTYPE_p_CLSMSettings swig_types[4]
#define SWIGTYPE_p_CorrelationCurveSettings swig_types[5]
#define SWIGTYPE_p_Correlator swig_types[6]
#define SWIGTYPE_p_CorrelatorCurve swig_types[7]
#define SWIGTYPE_p_CorrelatorPhotonStream swig_types[8]
#define SWIGTYPE_p_DecayFit swig_types[9]
#define SWIGTYPE_p_DecayFit23 swig_types[10]
#define SWIGTYPE_p_DecayFit24 swig_types[11]
#define SWIGTYPE_p_DecayFit25 swig_types[12]
#define SWIGTYPE_p_DecayFit26 swig_types[13]
#define SWIGTYPE_p_DecayFitCorrections swig_types[14]
#define SWIGTYPE_p_DecayFitIntegrateSignals swig_types[15]
#define SWIGTYPE_p_DecayFitSettings swig_types[16]
#define SWIGTYPE_p_DecayPhasor swig_types[17]
#define SWIGTYPE_p_FILE swig_types[18]
#define SWIGTYPE_p_HistogramAxisT_double_t swig_types[19]
#define SWIGTYPE_p_HistogramT_double_t swig_types[20]
#define SWIGTYPE_p_LVDoubleArray swig_types[21]
#define SWIGTYPE_p_LVI32Array swig_types[22]
#define SWIGTYPE_p_MParam swig_types[23]
#define SWIGTYPE_p_Pda swig_types[24]
#define SWIGTYPE_p_PdaCallback swig_types[25]
#define SWIGTYPE_p_ReadingRoutine swig_types[26]
#define SWIGTYPE_p_TTTR swig_types[27]
#define SWIGTYPE_p_TTTRHeader swig_types[28]
#define SWIGTYPE_p_TTTRMask swig_types[29]
#define SWIGTYPE_p_TTTRRange swig_types[30]
#define SWIGTYPE_p_TTTRSelection swig_types[31]
#define SWIGTYPE_p_allocator_type swig_types[32]
#define SWIGTYPE_p_char swig_types[33]
#define SWIGTYPE_p_const_reference swig_types[34]
#define SWIGTYPE_p_difference_type swig_types[35]
#define SWIGTYPE_p_double swig_types[36]
#define SWIGTYPE_p_first_type swig_types[37]
#define SWIGTYPE_p_int swig_types[38]
#define SWIGTYPE_p_key_type swig_types[39]
#define SWIGTYPE_p_mapped_type swig_types[40]
#define SWIGTYPE_p_nlohmann__json swig_types[41]
#define SWIGTYPE_p_p_LVDoubleArray swig_types[42]
#define SWIGTYPE_p_p_LVI32Array swig_types[43]
#define SWIGTYPE_p_p_PyObject swig_types[44]
#define SWIGTYPE_p_p_double swig_types[45]
#define SWIGTYPE_p_p_float swig_types[46]
#define SWIGTYPE_p_p_int swig_types[47]
#define SWIGTYPE_p_p_signed_char swig_types[48]
#define SWIGTYPE_p_p_unsigned_char swig_types[49]
#define SWIGTYPE_p_p_unsigned_int swig_types[50]
#define SWIGTYPE_p_p_unsigned_long_long swig_types[51]
#define SWIGTYPE_p_p_unsigned_short swig_types[52]
#define SWIGTYPE_p_second_type swig_types[53]
#define SWIGTYPE_p_short swig_types[54]
#define SWIGTYPE_p_size_type swig_types[55]
#define SWIGTYPE_p_std__FILE swig_types[56]
#define SWIGTYPE_p_std__allocatorT_CLSMFrame_p_t swig_types[57]
#define SWIGTYPE_p_std__allocatorT_CLSMLine_p_t swig_types[58]
#define SWIGTYPE_p_std__allocatorT_CLSMPixel_p_t swig_types[59]
#define SWIGTYPE_p_std__allocatorT_bool_t swig_types[60]
#define SWIGTYPE_p_std__allocatorT_double_t swig_types[61]
#define SWIGTYPE_p_std__allocatorT_int_t swig_types[62]
#define SWIGTYPE_p_std__allocatorT_long_long_t swig_types[63]
#define SWIGTYPE_p_std__allocatorT_short_t swig_types[64]
#define SWIGTYPE_p_std__allocatorT_std__pairT_int_int_t_t swig_types[65]
#define SWIGTYPE_p_std__allocatorT_std__pairT_short_const_std__vectorT_double_t_t_t swig_types[66]
#define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_std__string_t_t swig_types[67]
#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[68]
#define SWIGTYPE_p_std__allocatorT_std__vectorT_double_t_t swig_types[69]
#define SWIGTYPE_p_std__allocatorT_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t_t swig_types[70]
#define SWIGTYPE_p_std__allocatorT_unsigned_int_t swig_types[71]
#define SWIGTYPE_p_std__allocatorT_unsigned_long_long_t swig_types[72]
#define SWIGTYPE_p_std__allocatorT_unsigned_long_t swig_types[73]
#define SWIGTYPE_p_std__any swig_types[74]
#define SWIGTYPE_p_std__invalid_argument swig_types[75]
#define SWIGTYPE_p_std__lessT_int_t swig_types[76]
#define SWIGTYPE_p_std__lessT_short_t swig_types[77]
#define SWIGTYPE_p_std__lessT_std__string_t swig_types[78]
#define SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t swig_types[79]
#define SWIGTYPE_p_std__mapT_std__string_std__string_t swig_types[80]
#define SWIGTYPE_p_std__pairT_int_int_t swig_types[81]
#define SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t swig_types[82]
#define SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t swig_types[83]
#define SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t swig_types[84]
#define SWIGTYPE_p_std__setT_int_t swig_types[85]
#define SWIGTYPE_p_std__shared_ptrT_CLSMImage_t swig_types[86]
#define SWIGTYPE_p_std__shared_ptrT_TTTR_t swig_types[87]
#define SWIGTYPE_p_std__string swig_types[88]
#define SWIGTYPE_p_std__vectorT_CLSMFrame_p_t swig_types[89]
#define SWIGTYPE_p_std__vectorT_CLSMLine_p_t swig_types[90]
#define SWIGTYPE_p_std__vectorT_CLSMPixel_p_t swig_types[91]
#define SWIGTYPE_p_std__vectorT_CLSMPixel_std__allocatorT_CLSMPixel_t_t swig_types[92]
#define SWIGTYPE_p_std__vectorT_bool_t swig_types[93]
#define SWIGTYPE_p_std__vectorT_double_t swig_types[94]
#define SWIGTYPE_p_std__vectorT_int_t swig_types[95]
#define SWIGTYPE_p_std__vectorT_long_long_t swig_types[96]
#define SWIGTYPE_p_std__vectorT_short_t swig_types[97]
#define SWIGTYPE_p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t swig_types[98]
#define SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t swig_types[99]
#define SWIGTYPE_p_std__vectorT_std__string_t swig_types[100]
#define SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t swig_types[101]
#define SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t swig_types[102]
#define SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t swig_types[103]
#define SWIGTYPE_p_std__vectorT_unsigned_int_t swig_types[104]
#define SWIGTYPE_p_std__vectorT_unsigned_long_long_t swig_types[105]
#define SWIGTYPE_p_std__vectorT_unsigned_long_t swig_types[106]
#define SWIGTYPE_p_swig__SwigPyIterator swig_types[107]
#define SWIGTYPE_p_uint64_t swig_types[108]
#define SWIGTYPE_p_unsigned_long_long swig_types[109]
#define SWIGTYPE_p_unsigned_short swig_types[110]
#define SWIGTYPE_p_value_type swig_types[111]
#define SWIGTYPE_p_wchar_t swig_types[112]
static swig_type_info *swig_types[114];
static swig_module_info swig_module = {swig_types, 113, 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) -------- */

#ifdef SWIG_TypeQuery
# undef SWIG_TypeQuery
#endif
#define SWIG_TypeQuery SWIG_Python_TypeQuery

/*-----------------------------------------------
              @(target):= _tttrlib.so
  ------------------------------------------------*/
#if PY_VERSION_HEX >= 0x03000000
#  define SWIG_init    PyInit__tttrlib

#else
#  define SWIG_init    init_tttrlib

#endif
#define SWIG_name    "_tttrlib"

#ifdef __cplusplus
#include <utility>
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
  struct SwigSmartPointer {
    T *ptr;
    SwigSmartPointer(T *p) : ptr(p) { }
    ~SwigSmartPointer() { delete ptr; }
    SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
    void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; }
  } pointer;
  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
  SwigValueWrapper() : pointer(0) { }
  SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; }
#if __cplusplus >=201103L
  SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; }
  operator T&&() const { return std::move(*pointer.ptr); }
#else
  operator T&() const { return *pointer.ptr; }
#endif
  T *operator&() const { return pointer.ptr; }
  static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); }
};

/*
 * SwigValueInit() is a generic initialisation solution as the following approach:
 * 
 *       T c_result = T();
 * 
 * doesn't compile for all types for example:
 * 
 *       unsigned int c_result = unsigned int();
 */
template <typename T> T SwigValueInit() {
  return T();
}

#if __cplusplus >=201103L
# define SWIG_STD_MOVE(OBJ) std::move(OBJ)
#else
# define SWIG_STD_MOVE(OBJ) OBJ
#endif

#endif


#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;      
    }
  };
}


// This fixes numpy int casting to std::vector,int>
// (see: https://github.com/swig/swig/issues/888)
#define SWIG_PYTHON_CAST_MODE
// This is needed for numpy as you need SWIG_FILE_WITH_INIT
#define SWIG_FILE_WITH_INIT
#include <assert.h>


SWIGINTERNINLINE PyObject*
  SWIG_From_int  (int value)
{
  return PyInt_FromLong((long) value);
}


#include <typeinfo>
#include <stdexcept>


#if defined(__GNUC__)
#  if __GNUC__ == 2 && __GNUC_MINOR <= 96
#     define SWIG_STD_NOMODERN_STL
#  endif
#endif


#include <string>


#include <stddef.h>


#include <iostream>

#if PY_VERSION_HEX >= 0x03020000
# define SWIGPY_SLICEOBJECT PyObject
#else
# define SWIGPY_SLICEOBJECT PySliceObject
#endif


namespace swig {
  struct stop_iteration {
  };

  struct SwigPyIterator {
  private:
    SwigPtr_PyObject _seq;

  protected:
    SwigPyIterator(PyObject *seq) : _seq(seq)
    {
    }
      
  public:
    virtual ~SwigPyIterator() {}

    // Access iterator method, required by Python
    virtual PyObject *value() const = 0;

    // Forward iterator method, required by Python
    virtual SwigPyIterator *incr(size_t n = 1) = 0;
    
    // Backward iterator method, very common in C++, but not required in Python
    virtual SwigPyIterator *decr(size_t /*n*/ = 1)
    {
      throw stop_iteration();
    }

    // Random access iterator methods, but not required in Python
    virtual ptrdiff_t distance(const SwigPyIterator &/*x*/) const
    {
      throw std::invalid_argument("operation not supported");
    }

    virtual bool equal (const SwigPyIterator &/*x*/) const
    {
      throw std::invalid_argument("operation not supported");
    }
    
    // C++ common/needed methods
    virtual SwigPyIterator *copy() const = 0;

    PyObject *next()     
    {
      SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads       
      PyObject *obj = value();
      incr();       
      SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads
      return obj;     
    }

    /* Make an alias for Python 3.x */
    PyObject *__next__()
    {
      return next();
    }

    PyObject *previous()
    {
      SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads       
      decr();
      PyObject *obj = value();
      SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads       
      return obj;
    }

    SwigPyIterator *advance(ptrdiff_t n)
    {
      return  (n > 0) ?  incr(n) : decr(-n);
    }
      
    bool operator == (const SwigPyIterator& x)  const
    {
      return equal(x);
    }
      
    bool operator != (const SwigPyIterator& x) const
    {
      return ! operator==(x);
    }
      
    SwigPyIterator& operator += (ptrdiff_t n)
    {
      return *advance(n);
    }

    SwigPyIterator& operator -= (ptrdiff_t n)
    {
      return *advance(-n);
    }
      
    SwigPyIterator* operator + (ptrdiff_t n) const
    {
      return copy()->advance(n);
    }

    SwigPyIterator* operator - (ptrdiff_t n) const
    {
      return copy()->advance(-n);
    }
      
    ptrdiff_t operator - (const SwigPyIterator& x) const
    {
      return x.distance(*this);
    }
      
    static swig_type_info* descriptor() {
      static int init = 0;
      static swig_type_info* desc = 0;
      if (!init) {
	desc = SWIG_TypeQuery("swig::SwigPyIterator *");
	init = 1;
      }	
      return desc;
    }    
  };

#if defined(SWIGPYTHON_BUILTIN)
  inline PyObject* make_output_iterator_builtin (PyObject *pyself)
  {
    Py_INCREF(pyself);
    return pyself;
  }
#endif
}


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, cx, rd;
   errno = 0;
   fx = floor(x);
   cx = ceil(x);
   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_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));
      // Largest double not larger than ULONG_MAX (not portably calculated easily)
      // Note that double(ULONG_MAX) is stored in a double rounded up by one (for 64-bit unsigned long)
      // 0xfffffffffffff800ULL == (uint64_t)std::nextafter(double(__uint128_t(ULONG_MAX)+1), double(0))
      const double ulong_max = sizeof(unsigned long) == 8 ? 0xfffffffffffff800ULL : ULONG_MAX;
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ulong_max)) {
	if (val) *val = (unsigned long)(d);
	return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}


#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


#if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
#  define SWIG_LONG_LONG_AVAILABLE
#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;
}


  #define SWIG_From_long   PyInt_FromLong 


#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


SWIGINTERNINLINE PyObject *
SWIG_From_ptrdiff_t  (ptrdiff_t value)
{    
#ifdef SWIG_LONG_LONG_AVAILABLE
  if (sizeof(ptrdiff_t) <= sizeof(long)) {
#endif
    return SWIG_From_long  (static_cast< long >(value));
#ifdef SWIG_LONG_LONG_AVAILABLE
  } else {
    /* assume sizeof(ptrdiff_t) <= sizeof(long long) */
    return SWIG_From_long_SS_long  (static_cast< long long >(value));
  }
#endif
}


SWIGINTERNINLINE PyObject*
  SWIG_From_bool  (bool value)
{
  return PyBool_FromLong(value ? 1 : 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));
      // Largest double not larger than LONG_MAX (not portably calculated easily)
      // Note that double(LONG_MAX) is stored in a double rounded up by one (for 64-bit long)
      // 0x7ffffffffffffc00LL == (int64_t)std::nextafter(double(__uint128_t(LONG_MAX)+1), double(0))
      const double long_max = sizeof(long) == 8 ? 0x7ffffffffffffc00LL : LONG_MAX;
      // No equivalent needed for 64-bit double(LONG_MIN) is exactly LONG_MIN
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, long_max)) {
	if (val) *val = (long)(d);
	return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}


#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


SWIGINTERNINLINE int
SWIG_AsVal_ptrdiff_t (PyObject * obj, ptrdiff_t *val)
{
  int res = SWIG_TypeError;
#ifdef SWIG_LONG_LONG_AVAILABLE
  if (sizeof(ptrdiff_t) <= sizeof(long)) {
#endif
    long v;
    res = SWIG_AsVal_long (obj, val ? &v : 0);
    if (SWIG_IsOK(res) && val) *val = static_cast< ptrdiff_t >(v);
#ifdef SWIG_LONG_LONG_AVAILABLE
  } else if (sizeof(ptrdiff_t) <= sizeof(long long)) {
    long long v;
    res = SWIG_AsVal_long_SS_long (obj, val ? &v : 0);
    if (SWIG_IsOK(res) && val) *val = static_cast< ptrdiff_t >(v);
  }
#endif
  return res;
}


#include <algorithm>


#include <vector>


#include <utility>


#include <map>


#include <algorithm>


#if PY_VERSION_HEX >= 0x03020000
# define SWIGPY_UNICODE_ARG(obj) ((PyObject*) (obj))
#else
# define SWIGPY_UNICODE_ARG(obj) ((PyUnicodeObject*) (obj))
#endif


#include <cwchar>


#include <set>


#include <list>


#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> 


namespace swig {
  template <class Type>
  struct noconst_traits {
    typedef Type noconst_type;
  };

  template <class Type>
  struct noconst_traits<const Type> {
    typedef Type noconst_type;
  };

  /*
    type categories
  */
  struct pointer_category { };
  struct value_category { };

  /*
    General traits that provides type_name and type_info
  */
  template <class Type> struct traits { };

  template <class Type>
  inline const char* type_name() {
    return traits<typename noconst_traits<Type >::noconst_type >::type_name();
  }

  template <class Type> struct traits_info {
    static swig_type_info *type_query(std::string name) {
      name += " *";
      return SWIG_TypeQuery(name.c_str());
    }
    static swig_type_info *type_info() {
      static swig_type_info *info = type_query(type_name<Type>());
      return info;
    }
  };

  /*
    Partial specialization for pointers (traits_info)
  */
  template <class Type> struct traits_info<Type *> {
    static swig_type_info *type_query(std::string name) {
      name += " *";
      return SWIG_TypeQuery(name.c_str());
    }
    static swig_type_info *type_info() {
      static swig_type_info *info = type_query(type_name<Type>());
      return info;
    }
  };

  template <class Type>
  inline swig_type_info *type_info() {
    return traits_info<Type>::type_info();
  }

  /*
    Partial specialization for pointers (traits)
  */
  template <class Type> struct traits <Type *> {
    typedef pointer_category category;
    static std::string make_ptr_name(const char* name) {
      std::string ptrname = name;
      ptrname += " *";
      return ptrname;
    }
    static const char* type_name() {
      static std::string name = make_ptr_name(swig::type_name<Type>());
      return name.c_str();
    }
  };

  template <class Type, class Category>
  struct traits_as { };

  template <class Type, class Category>
  struct traits_check { };

}


namespace swig {  
  /*
    Traits that provides the from method
  */
  template <class Type> struct traits_from_ptr {
    static PyObject *from(Type *val, int owner = 0) {
      return SWIG_InternalNewPointerObj(val, type_info<Type>(), owner);
    }
  };

  template <class Type> struct traits_from {
    static PyObject *from(const Type& val) {
      return traits_from_ptr<Type>::from(new Type(val), 1);
    }
  };

  template <class Type> struct traits_from<Type *> {
    static PyObject *from(Type* val) {
      return traits_from_ptr<Type>::from(val, 0);
    }
  };

  template <class Type> struct traits_from<const Type *> {
    static PyObject *from(const Type* val) {
      return traits_from_ptr<Type>::from(const_cast<Type*>(val), 0);
    }
  };


  template <class Type>
  inline PyObject *from(const Type& val) {
    return traits_from<Type>::from(val);
  }

  template <class Type>
  inline PyObject *from_ptr(Type* val, int owner) {
    return traits_from_ptr<Type>::from(val, owner);
  }

  /*
    Traits that provides the asval/as/check method
  */
  template <class Type>
  struct traits_asptr {   
    static int asptr(PyObject *obj, Type **val) {
      int res = SWIG_ERROR;
      swig_type_info *descriptor = type_info<Type>();
      if (val) {
        Type *p = 0;
        int newmem = 0;
        res = descriptor ? SWIG_ConvertPtrAndOwn(obj, (void **)&p, descriptor, 0, &newmem) : SWIG_ERROR;
        if (SWIG_IsOK(res)) {
          if (newmem & SWIG_CAST_NEW_MEMORY) {
            res |= SWIG_NEWOBJMASK;
          }
          *val = p;
        }
      } else {
        res = descriptor ? SWIG_ConvertPtr(obj, 0, descriptor, 0) : SWIG_ERROR;
      }
      return res;
    }
  }; 

  template <class Type>
  inline int asptr(PyObject *obj, Type **vptr) {
    return traits_asptr<Type>::asptr(obj, vptr);
  }

  template <class Type> 
  struct traits_asval {
    static int asval(PyObject *obj, Type *val) {
      if (val) {
	Type *p = 0;
	int res = traits_asptr<Type>::asptr(obj, &p);
	if (!SWIG_IsOK(res)) return res;	
	if (p) {
	  typedef typename noconst_traits<Type>::noconst_type noconst_type;
	  *(const_cast<noconst_type*>(val)) = *p;
	  if (SWIG_IsNewObj(res)){
	    delete p;
	    res = SWIG_DelNewMask(res);
	  }
	  return res;
	} else {
	  return SWIG_ERROR;
	}
      } else {
	return traits_asptr<Type>::asptr(obj, (Type **)(0));
      }
    }
  };

  template <class Type> struct traits_asval<Type*> {
    static int asval(PyObject *obj, Type **val) {
      if (val) {
        typedef typename noconst_traits<Type>::noconst_type noconst_type;
        noconst_type *p = 0;
        int res = traits_asptr<noconst_type>::asptr(obj,  &p);
        if (SWIG_IsOK(res)) {
          *(const_cast<noconst_type**>(val)) = p;
	}
	return res;
      } else {
	return traits_asptr<Type>::asptr(obj, (Type **)(0));
      }
    }
  };
  
  template <class Type>
  inline int asval(PyObject *obj, Type *val) {
    return traits_asval<Type>::asval(obj, val);
  }

  template <class Type> 
  struct traits_as<Type, value_category> {
    static Type as(PyObject *obj) {
      Type v;
      int res = asval(obj, &v);
      if (!obj || !SWIG_IsOK(res)) {
	if (!PyErr_Occurred()) {
	  ::SWIG_Error(SWIG_TypeError,  swig::type_name<Type>());
	}
	throw std::invalid_argument("bad type");
      }
      return v;
    }
  };

  template <class Type> 
  struct traits_as<Type, pointer_category> {
    static Type as(PyObject *obj) {
      Type *v = 0;      
      int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR);
      if (SWIG_IsOK(res) && v) {
	if (SWIG_IsNewObj(res)) {
	  Type r(*v);
	  delete v;
	  return r;
	} else {
	  return *v;
	}
      } else {
	if (!PyErr_Occurred()) {
	  SWIG_Error(SWIG_TypeError,  swig::type_name<Type>());
	}
	throw std::invalid_argument("bad type");
      }
    }
  };

  template <class Type> 
  struct traits_as<Type*, pointer_category> {
    static Type* as(PyObject *obj) {
      Type *v = 0;      
      int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR);
      if (SWIG_IsOK(res)) {
	return v;
      } else {
	if (!PyErr_Occurred()) {
	  SWIG_Error(SWIG_TypeError,  swig::type_name<Type>());
	}
	throw std::invalid_argument("bad type");
      }
    }
  };
    
  template <class Type>
  inline Type as(PyObject *obj) {
    return traits_as<Type, typename traits<Type>::category>::as(obj);
  }

  template <class Type> 
  struct traits_check<Type, value_category> {
    static bool check(PyObject *obj) {
      int res = obj ? asval(obj, (Type *)(0)) : SWIG_ERROR;
      return SWIG_IsOK(res) ? true : false;
    }
  };

  template <class Type> 
  struct traits_check<Type, pointer_category> {
    static bool check(PyObject *obj) {
      int res = obj ? asptr(obj, (Type **)(0)) : SWIG_ERROR;
      return SWIG_IsOK(res) ? true : false;
    }
  };

  template <class Type>
  inline bool check(PyObject *obj) {
    return traits_check<Type, typename traits<Type>::category>::check(obj);
  }
}


#if defined(__SUNPRO_CC) && defined(_RWSTD_VER)
#  if !defined(SWIG_NO_STD_NOITERATOR_TRAITS_STL)
#    define SWIG_STD_NOITERATOR_TRAITS_STL
#  endif
#endif

#if !defined(SWIG_STD_NOITERATOR_TRAITS_STL)
#include <iterator>
#else
namespace std {
  template <class Iterator>
  struct iterator_traits {
    typedef ptrdiff_t difference_type;
    typedef typename Iterator::value_type value_type;
  };

  template <class Iterator, class Category,class T, class Reference, class Pointer, class Distance>
  struct iterator_traits<__reverse_bi_iterator<Iterator,Category,T,Reference,Pointer,Distance> > {
    typedef Distance difference_type;
    typedef T value_type;
  };

  template <class T>
  struct iterator_traits<T*> {
    typedef T value_type;
    typedef ptrdiff_t difference_type;
  };

  template<typename _InputIterator>
  inline typename iterator_traits<_InputIterator>::difference_type
  distance(_InputIterator __first, _InputIterator __last)
  {
    typename iterator_traits<_InputIterator>::difference_type __n = 0;
    while (__first != __last) {
      ++__first; ++__n;
    }
    return __n;
  }
}
#endif


namespace swig {
  template<typename OutIterator>
  class SwigPyIterator_T :  public SwigPyIterator
  {
  public:
    typedef OutIterator out_iterator;
    typedef typename std::iterator_traits<out_iterator>::value_type value_type;    
    typedef SwigPyIterator_T<out_iterator> self_type;

    SwigPyIterator_T(out_iterator curr, PyObject *seq)
      : SwigPyIterator(seq), current(curr)
    {
    }

    const out_iterator& get_current() const
    {
      return current;
    }

    
    bool equal (const SwigPyIterator &iter) const
    {
      const self_type *iters = dynamic_cast<const self_type *>(&iter);
      if (iters) {
	return (current == iters->get_current());
      } else {
	throw std::invalid_argument("bad iterator type");
      }
    }
    
    ptrdiff_t distance(const SwigPyIterator &iter) const
    {
      const self_type *iters = dynamic_cast<const self_type *>(&iter);
      if (iters) {
	return std::distance(current, iters->get_current());
      } else {
	throw std::invalid_argument("bad iterator type");
      }
    }    
    
  protected:
    out_iterator current;
  };
  
  template <class ValueType>
  struct from_oper 
  {
    typedef const ValueType& argument_type;
    typedef PyObject *result_type;
    result_type operator()(argument_type v) const
    {
      return swig::from(v);
    }
  };

  template<typename OutIterator, 
	   typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
	   typename FromOper = from_oper<ValueType> >
  class SwigPyForwardIteratorOpen_T :  public SwigPyIterator_T<OutIterator>
  {
  public:
    FromOper from;
    typedef OutIterator out_iterator;
    typedef ValueType value_type;
    typedef SwigPyIterator_T<out_iterator>  base;
    typedef SwigPyForwardIteratorOpen_T<OutIterator, ValueType, FromOper> self_type;
    
    SwigPyForwardIteratorOpen_T(out_iterator curr, PyObject *seq)
      : SwigPyIterator_T<OutIterator>(curr, seq)
    {
    }
    
    PyObject *value() const {
      return from(static_cast<const value_type&>(*(base::current)));
    }
    
    SwigPyIterator *copy() const
    {
      return new self_type(*this);
    }

    SwigPyIterator *incr(size_t n = 1)
    {
      while (n--) {
	++base::current;
      }
      return this;
    }

  };

  template<typename OutIterator, 
	   typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
	   typename FromOper = from_oper<ValueType> >
  class SwigPyIteratorOpen_T :  public SwigPyForwardIteratorOpen_T<OutIterator, ValueType, FromOper>
  {
  public:
    FromOper from;
    typedef OutIterator out_iterator;
    typedef ValueType value_type;
    typedef SwigPyIterator_T<out_iterator>  base;
    typedef SwigPyIteratorOpen_T<OutIterator, ValueType, FromOper> self_type;
    
    SwigPyIteratorOpen_T(out_iterator curr, PyObject *seq)
      : SwigPyForwardIteratorOpen_T<OutIterator>(curr, seq)
    {
    }

    SwigPyIterator *decr(size_t n = 1)
    {
      while (n--) {
	--base::current;
      }
      return this;
    }
  };

  template<typename OutIterator, 
	   typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
	   typename FromOper = from_oper<ValueType> >
  class SwigPyForwardIteratorClosed_T :  public SwigPyIterator_T<OutIterator>
  {
  public:
    FromOper from;
    typedef OutIterator out_iterator;
    typedef ValueType value_type;
    typedef SwigPyIterator_T<out_iterator>  base;    
    typedef SwigPyForwardIteratorClosed_T<OutIterator, ValueType, FromOper> self_type;
    
    SwigPyForwardIteratorClosed_T(out_iterator curr, out_iterator first, out_iterator last, PyObject *seq)
      : SwigPyIterator_T<OutIterator>(curr, seq), begin(first), end(last)
    {
    }
    
    PyObject *value() const {
      if (base::current == end) {
	throw stop_iteration();
      } else {
	return from(static_cast<const value_type&>(*(base::current)));
      }
    }
    
    SwigPyIterator *copy() const
    {
      return new self_type(*this);
    }

    SwigPyIterator *incr(size_t n = 1)
    {
      while (n--) {
	if (base::current == end) {
	  throw stop_iteration();
	} else {
	  ++base::current;
	}
      }
      return this;
    }

  protected:
    out_iterator begin;
    out_iterator end;
  };

  template<typename OutIterator, 
	   typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
	   typename FromOper = from_oper<ValueType> >
  class SwigPyIteratorClosed_T :  public SwigPyForwardIteratorClosed_T<OutIterator,ValueType,FromOper>
  {
  public:
    FromOper from;
    typedef OutIterator out_iterator;
    typedef ValueType value_type;
    typedef SwigPyIterator_T<out_iterator>  base;
    typedef SwigPyForwardIteratorClosed_T<OutIterator, ValueType, FromOper> base0;
    typedef SwigPyIteratorClosed_T<OutIterator, ValueType, FromOper> self_type;
    
    SwigPyIteratorClosed_T(out_iterator curr, out_iterator first, out_iterator last, PyObject *seq)
      : SwigPyForwardIteratorClosed_T<OutIterator,ValueType,FromOper>(curr, first, last, seq)
    {
    }

    SwigPyIterator *decr(size_t n = 1)
    {
      while (n--) {
	if (base::current == base0::begin) {
	  throw stop_iteration();
	} else {
	  --base::current;
	}
      }
      return this;
    }
  };


  template<typename OutIter>
  inline SwigPyIterator*
  make_output_forward_iterator(const OutIter& current, const OutIter& begin,const OutIter& end, PyObject *seq = 0)
  {
    return new SwigPyForwardIteratorClosed_T<OutIter>(current, begin, end, seq);
  }

  template<typename OutIter>
  inline SwigPyIterator*
  make_output_iterator(const OutIter& current, const OutIter& begin,const OutIter& end, PyObject *seq = 0)
  {
    return new SwigPyIteratorClosed_T<OutIter>(current, begin, end, seq);
  }

  template<typename OutIter>
  inline SwigPyIterator*
  make_output_forward_iterator(const OutIter& current, PyObject *seq = 0)
  {
    return new SwigPyForwardIteratorOpen_T<OutIter>(current, seq);
  }

  template<typename OutIter>
  inline SwigPyIterator*
  make_output_iterator(const OutIter& current, PyObject *seq = 0)
  {
    return new SwigPyIteratorOpen_T<OutIter>(current, seq);
  }

}


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;
}


namespace swig {
  template <> struct traits< int > {
    typedef value_category category;
    static const char* type_name() { return"int"; }
  };
  template <>  struct traits_asval< int > {
    typedef int value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_int (obj, val);
    }
  };
  template <>  struct traits_from< int > {
    typedef int value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_int  (val);
    }
  };
}


#include <functional>

namespace std {
  template <>
  struct less <PyObject *>
  {
    bool
    operator()(PyObject * v, PyObject *w) const
    { 
      bool res;
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      res = PyObject_RichCompareBool(v, w, Py_LT) ? true : false;
      /* This may fall into a case of inconsistent
               eg. ObjA > ObjX > ObjB
               but ObjA < ObjB
      */
      if( PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError) )
      {
        /* Objects can't be compared, this mostly occurred in Python 3.0 */
        /* Compare their ptr directly for a workaround */
        res = (v < w);
        PyErr_Clear();
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
      return res;
    }
  };

  template <>
  struct less <swig::SwigPtr_PyObject>
  {
    bool
    operator()(const swig::SwigPtr_PyObject& v, const swig::SwigPtr_PyObject& w) const
    {
      return std::less<PyObject *>()(v, w);
    }
  };

  template <>
  struct less <swig::SwigVar_PyObject>
  {
    bool
    operator()(const swig::SwigVar_PyObject& v, const swig::SwigVar_PyObject& w) const
    {
      return std::less<PyObject *>()(v, w);
    }
  };

}

namespace swig {
  template <> struct traits<PyObject *> {
    typedef value_category category;
    static const char* type_name() { return "PyObject *"; }
  };  

  template <>  struct traits_asval<PyObject * > {   
    typedef PyObject * value_type;
    static int asval(PyObject *obj, value_type *val) {
      if (val) *val = obj;
      return SWIG_OK;
    }
  };

  template <> 
  struct traits_check<PyObject *, value_category> {
    static bool check(PyObject *) {
      return true;
    }
  };

  template <>  struct traits_from<PyObject *> {
    typedef PyObject * value_type;
    static PyObject *from(const value_type& val) {
      Py_XINCREF(val);
      return val;
    }
  };
  
}

namespace swig {
  template <class Difference>
  inline size_t
  check_index(Difference i, size_t size, bool insert = false) {
    if ( i < 0 ) {
      if ((size_t) (-i) <= size)
	return (size_t) (i + size);
    } else if ( (size_t) i < size ) {
      return (size_t) i;
    } else if (insert && ((size_t) i == size)) {
      return size;
    }
    throw std::out_of_range("index out of range");
  }

  template <class Difference>
  void
  slice_adjust(Difference i, Difference j, Py_ssize_t step, size_t size, Difference &ii, Difference &jj, bool insert = false) {
    if (step == 0) {
      throw std::invalid_argument("slice step cannot be zero");
    } else if (step > 0) {
      // Required range: 0 <= i < size, 0 <= j < size, i <= j
      if (i < 0) {
        ii = 0;
      } else if (i < (Difference)size) {
        ii = i;
      } else if (insert && (i >= (Difference)size)) {
        ii = (Difference)size;
      }
      if (j < 0) {
        jj = 0;
      } else {
        jj = (j < (Difference)size) ? j : (Difference)size;
      }
      if (jj < ii)
        jj = ii;
    } else {
      // Required range: -1 <= i < size-1, -1 <= j < size-1, i >= j
      if (i < -1) {
        ii = -1;
      } else if (i < (Difference) size) {
        ii = i;
      } else if (i >= (Difference)(size-1)) {
        ii = (Difference)(size-1);
      }
      if (j < -1) {
        jj = -1;
      } else {
        jj = (j < (Difference)size ) ? j : (Difference)(size-1);
      }
      if (ii < jj)
        ii = jj;
    }
  }

  template <class Sequence, class Difference>
  inline typename Sequence::iterator
  getpos(Sequence* self, Difference i)  {
    typename Sequence::iterator pos = self->begin();
    std::advance(pos, check_index(i,self->size()));
    return pos;
  }

  template <class Sequence, class Difference>
  inline typename Sequence::const_iterator
  cgetpos(const Sequence* self, Difference i)  {
    typename Sequence::const_iterator pos = self->begin();
    std::advance(pos, check_index(i,self->size()));
    return pos;
  }

  template <class Sequence>
  inline void
  erase(Sequence* seq, const typename Sequence::iterator& position) {
    seq->erase(position);
  }

  template <class Sequence>
  struct traits_reserve {
    static void reserve(Sequence & /*seq*/, typename Sequence::size_type /*n*/) {
      // This should be specialized for types that support reserve
    }
  };

  template <class Sequence, class Difference>
  inline Sequence*
  getslice(const Sequence* self, Difference i, Difference j, Py_ssize_t step) {
    typename Sequence::size_type size = self->size();
    Difference ii = 0;
    Difference jj = 0;
    swig::slice_adjust(i, j, step, size, ii, jj);

    if (step > 0) {
      typename Sequence::const_iterator sb = self->begin();
      typename Sequence::const_iterator se = self->begin();
      std::advance(sb,ii);
      std::advance(se,jj);
      if (step == 1) {
        return new Sequence(sb, se);
      } else {
        Sequence *sequence = new Sequence();
        swig::traits_reserve<Sequence>::reserve(*sequence, (jj - ii + step - 1) / step);
        typename Sequence::const_iterator it = sb;
        while (it!=se) {
          sequence->push_back(*it);
          for (Py_ssize_t c=0; c<step && it!=se; ++c)
            it++;
        }
        return sequence;
      } 
    } else {
      Sequence *sequence = new Sequence();
      swig::traits_reserve<Sequence>::reserve(*sequence, (ii - jj - step - 1) / -step);
      typename Sequence::const_reverse_iterator sb = self->rbegin();
      typename Sequence::const_reverse_iterator se = self->rbegin();
      std::advance(sb,size-ii-1);
      std::advance(se,size-jj-1);
      typename Sequence::const_reverse_iterator it = sb;
      while (it!=se) {
        sequence->push_back(*it);
        for (Py_ssize_t c=0; c<-step && it!=se; ++c)
          it++;
      }
      return sequence;
    }
  }

  template <class Sequence, class Difference, class InputSeq>
  inline void
  setslice(Sequence* self, Difference i, Difference j, Py_ssize_t step, const InputSeq& is = InputSeq()) {
    typename Sequence::size_type size = self->size();
    Difference ii = 0;
    Difference jj = 0;
    swig::slice_adjust(i, j, step, size, ii, jj, true);
    if (step > 0) {
      if (step == 1) {
        size_t ssize = jj - ii;
        if (ssize <= is.size()) {
          // expanding/staying the same size
          swig::traits_reserve<Sequence>::reserve(*self, self->size() - ssize + is.size());
          typename Sequence::iterator sb = self->begin();
          typename InputSeq::const_iterator isit = is.begin();
          std::advance(sb,ii);
          std::advance(isit, jj - ii);
          self->insert(std::copy(is.begin(), isit, sb), isit, is.end());
        } else {
          // shrinking
          typename Sequence::iterator sb = self->begin();
          typename Sequence::iterator se = self->begin();
          std::advance(sb,ii);
          std::advance(se,jj);
          self->erase(sb,se);
          sb = self->begin();
          std::advance(sb,ii);
          self->insert(sb, is.begin(), is.end());
        }
      } else {
        size_t replacecount = (jj - ii + step - 1) / step;
        if (is.size() != replacecount) {
          char msg[1024];
          PyOS_snprintf(msg, sizeof(msg), "attempt to assign sequence of size %lu to extended slice of size %lu", (unsigned long)is.size(), (unsigned long)replacecount);
          throw std::invalid_argument(msg);
        }
        typename Sequence::const_iterator isit = is.begin();
        typename Sequence::iterator it = self->begin();
        std::advance(it,ii);
        for (size_t rc=0; rc<replacecount && it != self->end(); ++rc) {
          *it++ = *isit++;
          for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
            it++;
        }
      }
    } else {
      size_t replacecount = (ii - jj - step - 1) / -step;
      if (is.size() != replacecount) {
        char msg[1024];
        PyOS_snprintf(msg, sizeof(msg), "attempt to assign sequence of size %lu to extended slice of size %lu", (unsigned long)is.size(), (unsigned long)replacecount);
        throw std::invalid_argument(msg);
      }
      typename Sequence::const_iterator isit = is.begin();
      typename Sequence::reverse_iterator it = self->rbegin();
      std::advance(it,size-ii-1);
      for (size_t rc=0; rc<replacecount && it != self->rend(); ++rc) {
        *it++ = *isit++;
        for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
          it++;
      }
    }
  }

  template <class Sequence, class Difference>
  inline void
  delslice(Sequence* self, Difference i, Difference j, Py_ssize_t step) {
    typename Sequence::size_type size = self->size();
    Difference ii = 0;
    Difference jj = 0;
    swig::slice_adjust(i, j, step, size, ii, jj, true);
    if (step > 0) {
      typename Sequence::iterator sb = self->begin();
      std::advance(sb,ii);
      if (step == 1) {
        typename Sequence::iterator se = self->begin();
        std::advance(se,jj);
        self->erase(sb,se);
      } else {
        typename Sequence::iterator it = sb;
        size_t delcount = (jj - ii + step - 1) / step;
        while (delcount) {
          it = self->erase(it);
          for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
            it++;
          delcount--;
        }
      }
    } else {
      typename Sequence::reverse_iterator sb = self->rbegin();
      std::advance(sb,size-ii-1);
      typename Sequence::reverse_iterator it = sb;
      size_t delcount = (ii - jj - step - 1) / -step;
      while (delcount) {
        it = typename Sequence::reverse_iterator(self->erase((++it).base()));
        for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
          it++;
        delcount--;
      }
    }
  }
}


namespace swig {
  template <class Seq, class T = typename Seq::value_type >
  struct IteratorProtocol {
    static void assign(PyObject *obj, Seq *seq) {
      SwigVar_PyObject iter = PyObject_GetIter(obj);
      if (iter) {
        SwigVar_PyObject item = PyIter_Next(iter);
        while (item) {
          seq->insert(seq->end(), swig::as<T>(item));
          item = PyIter_Next(iter);
        }
      }
    }

    static bool check(PyObject *obj) {
      bool ret = false;
      SwigVar_PyObject iter = PyObject_GetIter(obj);
      if (iter) {
        SwigVar_PyObject item = PyIter_Next(iter);
        ret = true;
        while (item) {
          ret = swig::check<T>(item);
          item = ret ? PyIter_Next(iter) : 0;
        }
      }
      return ret;
    }
  };

  template <class Seq, class T = typename Seq::value_type >
  struct traits_asptr_stdseq {
    typedef Seq sequence;
    typedef T value_type;

    static bool is_iterable(PyObject *obj) {
      SwigVar_PyObject iter = PyObject_GetIter(obj);
      PyErr_Clear();
      return iter != 0;
    }

    static int asptr(PyObject *obj, sequence **seq) {
      int ret = SWIG_ERROR;
      if (obj == Py_None || SWIG_Python_GetSwigThis(obj)) {
	sequence *p;
	swig_type_info *descriptor = swig::type_info<sequence>();
	if (descriptor && SWIG_IsOK(::SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0))) {
	  if (seq) *seq = p;
	  return SWIG_OLDOBJ;
	}
      } else if (is_iterable(obj)) {
	try {
	  if (seq) {
	    *seq = new sequence();
            IteratorProtocol<Seq, T>::assign(obj, *seq);
            if (!PyErr_Occurred())
              return SWIG_NEWOBJ;
	  } else {
	    return IteratorProtocol<Seq, T>::check(obj) ? SWIG_OK : SWIG_ERROR;
	  }
	} catch (std::exception& e) {
          if (seq && !PyErr_Occurred())
            PyErr_SetString(PyExc_TypeError, e.what());
	}
        if (seq)
          delete *seq;
	return SWIG_ERROR;
      }
      return ret;
    }
  };

  template <class Seq, class T = typename Seq::value_type >
  struct traits_from_stdseq {
    typedef Seq sequence;
    typedef T value_type;
    typedef typename Seq::size_type size_type;
    typedef typename sequence::const_iterator const_iterator;

    static PyObject *from(const sequence& seq) {
#ifdef SWIG_PYTHON_EXTRA_NATIVE_CONTAINERS
      swig_type_info *desc = swig::type_info<sequence>();
      if (desc && desc->clientdata) {
	return SWIG_InternalNewPointerObj(new sequence(seq), desc, SWIG_POINTER_OWN);
      }
#endif
      size_type size = seq.size();
      if (size <= (size_type)INT_MAX) {
	PyObject *obj = PyTuple_New((Py_ssize_t)size);
	Py_ssize_t i = 0;
	for (const_iterator it = seq.begin(); it != seq.end(); ++it, ++i) {
	  PyTuple_SetItem(obj,i,swig::from<value_type>(*it));
	}
	return obj;
      } else {
	PyErr_SetString(PyExc_OverflowError,"sequence size not valid in python");
	return NULL;
      }
    }
  };
}


  namespace swig {
    template <class T>
    struct traits_asptr<std::set<T> >  {
      static int asptr(PyObject *obj, std::set<T> **s) {
	return traits_asptr_stdseq<std::set<T> >::asptr(obj, s);
      }
    };

    template <class T>
    struct traits_from<std::set<T> > {
      static PyObject *from(const std::set<T>& vec) {
	return traits_from_stdseq<std::set<T> >::from(vec);
      }
    };
  }


      namespace swig {
	template <>  struct traits<std::set< int, std::less< int >, std::allocator< int > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::set<" "int" "," "std::less< int >" "," "std::allocator< int >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_set_Sl_int_Sg__iterator(std::set< int > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_set_Sl_int_Sg____nonzero__(std::set< int > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_set_Sl_int_Sg____bool__(std::set< int > const *self){
      return !(self->empty());
    }
SWIGINTERN std::set< int >::size_type std_set_Sl_int_Sg____len__(std::set< int > const *self){
      return self->size();
    }

SWIGINTERNINLINE PyObject* 
SWIG_From_unsigned_SS_long  (unsigned long value)
{
  return (value > LONG_MAX) ?
    PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
}


#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 void std_set_Sl_int_Sg__append(std::set< int > *self,std::set< int >::value_type x){
       self->insert(x);
     }
SWIGINTERN bool std_set_Sl_int_Sg____contains__(std::set< int > *self,std::set< int >::value_type x){
       return self->find(x) != self->end();
     }
SWIGINTERN std::set< int >::value_type std_set_Sl_int_Sg____getitem__(std::set< int > const *self,std::set< int >::difference_type i){
       return *(swig::cgetpos(self, i));
     }
SWIGINTERN void std_set_Sl_int_Sg__add(std::set< int > *self,std::set< int >::value_type x){
       self->insert(x);
     }
SWIGINTERN void std_set_Sl_int_Sg__discard(std::set< int > *self,std::set< int >::value_type x){
       self->erase(x);
     }
SWIGINTERN void std_set_Sl_int_Sg__erase__SWIG_1(std::set< int > *self,std::set< int >::iterator pos){ self->erase(pos); }
SWIGINTERN void std_set_Sl_int_Sg__erase__SWIG_2(std::set< int > *self,std::set< int >::iterator first,std::set< int >::iterator last){ self->erase(first, last); }


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;
}


namespace swig {
  template <> struct traits< bool > {
    typedef value_category category;
    static const char* type_name() { return"bool"; }
  };
  template <>  struct traits_asval< bool > {
    typedef bool value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_bool (obj, val);
    }
  };
  template <>  struct traits_from< bool > {
    typedef bool value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_bool  (val);
    }
  };
}


  namespace swig {
    template <class T>
    struct traits_reserve<std::vector<T> > {
      static void reserve(std::vector<T> &seq, typename std::vector<T>::size_type n) {
        seq.reserve(n);
      }
    };

    template <class T>
    struct traits_asptr<std::vector<T> >  {
      static int asptr(PyObject *obj, std::vector<T> **vec) {
	return traits_asptr_stdseq<std::vector<T> >::asptr(obj, vec);
      }
    };
    
    template <class T>
    struct traits_from<std::vector<T> > {
      static PyObject *from(const std::vector<T>& vec) {
	return traits_from_stdseq<std::vector<T> >::from(vec);
      }
    };
  }


      namespace swig {
	template <>  struct traits<std::vector<bool, std::allocator< bool > > > {
	  typedef value_category category;
	  static const char* type_name() {
	    return "std::vector<bool, std::allocator< bool > >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_bool_Sg__iterator(std::vector< bool > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_bool_Sg____nonzero__(std::vector< bool > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_bool_Sg____bool__(std::vector< bool > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< bool >::size_type std_vector_Sl_bool_Sg____len__(std::vector< bool > const *self){
      return self->size();
    }
SWIGINTERN std::vector< bool,std::allocator< bool > > *std_vector_Sl_bool_Sg____getslice__(std::vector< bool > *self,std::vector< bool >::difference_type i,std::vector< bool >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_bool_Sg____setslice____SWIG_0(std::vector< bool > *self,std::vector< bool >::difference_type i,std::vector< bool >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector<bool,std::allocator< bool > >());
    }
SWIGINTERN void std_vector_Sl_bool_Sg____setslice____SWIG_1(std::vector< bool > *self,std::vector< bool >::difference_type i,std::vector< bool >::difference_type j,std::vector< bool,std::allocator< bool > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_bool_Sg____delslice__(std::vector< bool > *self,std::vector< bool >::difference_type i,std::vector< bool >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_bool_Sg____delitem____SWIG_0(std::vector< bool > *self,std::vector< bool >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< bool,std::allocator< bool > > *std_vector_Sl_bool_Sg____getitem____SWIG_0(std::vector< bool > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector<bool,std::allocator< bool > >::difference_type id = i;
      std::vector<bool,std::allocator< bool > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_bool_Sg____setitem____SWIG_0(std::vector< bool > *self,SWIGPY_SLICEOBJECT *slice,std::vector< bool,std::allocator< bool > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector<bool,std::allocator< bool > >::difference_type id = i;
      std::vector<bool,std::allocator< bool > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_bool_Sg____setitem____SWIG_1(std::vector< bool > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector<bool,std::allocator< bool > >::difference_type id = i;
      std::vector<bool,std::allocator< bool > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_bool_Sg____delitem____SWIG_1(std::vector< bool > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector<bool,std::allocator< bool > >::difference_type id = i;
      std::vector<bool,std::allocator< bool > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< bool >::value_type std_vector_Sl_bool_Sg____getitem____SWIG_1(std::vector< bool > *self,std::vector< bool >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_bool_Sg____setitem____SWIG_2(std::vector< bool > *self,std::vector< bool >::difference_type i,std::vector< bool >::value_type x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< bool >::value_type std_vector_Sl_bool_Sg__pop(std::vector< bool > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector<bool,std::allocator< bool > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_bool_Sg__append(std::vector< bool > *self,std::vector< bool >::value_type x){
      self->push_back(x);
    }
SWIGINTERN std::vector< bool >::iterator std_vector_Sl_bool_Sg__erase__SWIG_0(std::vector< bool > *self,std::vector< bool >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< bool >::iterator std_vector_Sl_bool_Sg__erase__SWIG_1(std::vector< bool > *self,std::vector< bool >::iterator first,std::vector< bool >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< bool >::iterator std_vector_Sl_bool_Sg__insert__SWIG_0(std::vector< bool > *self,std::vector< bool >::iterator pos,std::vector< bool >::value_type x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_bool_Sg__insert__SWIG_1(std::vector< bool > *self,std::vector< bool >::iterator pos,std::vector< bool >::size_type n,std::vector< bool >::value_type x){ self->insert(pos, n, x); }

  #define SWIG_From_double   PyFloat_FromDouble 


namespace swig {
  template <> struct traits< double > {
    typedef value_category category;
    static const char* type_name() { return"double"; }
  };
  template <>  struct traits_asval< double > {
    typedef double value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_double (obj, val);
    }
  };
  template <>  struct traits_from< double > {
    typedef double value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_double  (val);
    }
  };
}


      namespace swig {
	template <>  struct traits<std::vector< double, std::allocator< double > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "double" "," "std::allocator< double >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_double_Sg__iterator(std::vector< double > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_double_Sg____nonzero__(std::vector< double > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_double_Sg____bool__(std::vector< double > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< double >::size_type std_vector_Sl_double_Sg____len__(std::vector< double > const *self){
      return self->size();
    }
SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getslice__(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_double_Sg____setslice____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< double,std::allocator< double > >());
    }
SWIGINTERN void std_vector_Sl_double_Sg____setslice____SWIG_1(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j,std::vector< double,std::allocator< double > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_double_Sg____delslice__(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< double,std::allocator< double > >::difference_type id = i;
      std::vector< double,std::allocator< double > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice,std::vector< double,std::allocator< double > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< double,std::allocator< double > >::difference_type id = i;
      std::vector< double,std::allocator< double > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< double,std::allocator< double > >::difference_type id = i;
      std::vector< double,std::allocator< double > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< double,std::allocator< double > >::difference_type id = i;
      std::vector< double,std::allocator< double > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< double >::value_type const &std_vector_Sl_double_Sg____getitem____SWIG_1(std::vector< double > const *self,std::vector< double >::difference_type i){
      return *(swig::cgetpos(self, i));
    }

namespace swig {
  static PyObject* container_owner_attribute() {
    static PyObject* attr = SWIG_Python_str_FromChar("__swig_container");
    return attr;
  }

  template <typename T>
  struct container_owner {
    // By default, do not add the back-reference (for value types)
    // Specialization below will check the reference for pointer types.
    static bool back_reference(PyObject* /*child*/, PyObject* /*owner*/) {
      return false;
    }
  };

  template <>
  struct container_owner<swig::pointer_category> {  
    /*
     * Call to add a back-reference to the owning object when returning a 
     * reference from a container.  Will only set the reference if child
     * is a SWIG wrapper object that does not own the pointer.
     *
     * returns whether the reference was set or not
     */
    static bool back_reference(PyObject* child, PyObject* owner) {
      SwigPyObject* swigThis = SWIG_Python_GetSwigThis(child);
      if (swigThis && (swigThis->own & SWIG_POINTER_OWN) != SWIG_POINTER_OWN) {
        return PyObject_SetAttr(child, container_owner_attribute(), owner) != -1;
      }
      return false;
    }
  };
}

SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_2(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< double >::value_type std_vector_Sl_double_Sg__pop(std::vector< double > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< double,std::allocator< double > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_double_Sg__append(std::vector< double > *self,std::vector< double >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__erase__SWIG_0(std::vector< double > *self,std::vector< double >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__erase__SWIG_1(std::vector< double > *self,std::vector< double >::iterator first,std::vector< double >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__insert__SWIG_0(std::vector< double > *self,std::vector< double >::iterator pos,std::vector< double >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_double_Sg__insert__SWIG_1(std::vector< double > *self,std::vector< double >::iterator pos,std::vector< double >::size_type n,std::vector< double >::value_type const &x){ self->insert(pos, n, x); }

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);
}


namespace swig {
  template <> struct traits< short > {
    typedef value_category category;
    static const char* type_name() { return"short"; }
  };
  template <>  struct traits_asval< short > {
    typedef short value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_short (obj, val);
    }
  };
  template <>  struct traits_from< short > {
    typedef short value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_short  (val);
    }
  };
}


      namespace swig {
	template <>  struct traits<std::vector< short, std::allocator< short > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "short" "," "std::allocator< short >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_short_Sg__iterator(std::vector< short > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_short_Sg____nonzero__(std::vector< short > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_short_Sg____bool__(std::vector< short > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< short >::size_type std_vector_Sl_short_Sg____len__(std::vector< short > const *self){
      return self->size();
    }
SWIGINTERN std::vector< short,std::allocator< short > > *std_vector_Sl_short_Sg____getslice__(std::vector< short > *self,std::vector< short >::difference_type i,std::vector< short >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_short_Sg____setslice____SWIG_0(std::vector< short > *self,std::vector< short >::difference_type i,std::vector< short >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< short,std::allocator< short > >());
    }
SWIGINTERN void std_vector_Sl_short_Sg____setslice____SWIG_1(std::vector< short > *self,std::vector< short >::difference_type i,std::vector< short >::difference_type j,std::vector< short,std::allocator< short > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_short_Sg____delslice__(std::vector< short > *self,std::vector< short >::difference_type i,std::vector< short >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_short_Sg____delitem____SWIG_0(std::vector< short > *self,std::vector< short >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< short,std::allocator< short > > *std_vector_Sl_short_Sg____getitem____SWIG_0(std::vector< short > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< short,std::allocator< short > >::difference_type id = i;
      std::vector< short,std::allocator< short > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_short_Sg____setitem____SWIG_0(std::vector< short > *self,SWIGPY_SLICEOBJECT *slice,std::vector< short,std::allocator< short > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< short,std::allocator< short > >::difference_type id = i;
      std::vector< short,std::allocator< short > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_short_Sg____setitem____SWIG_1(std::vector< short > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< short,std::allocator< short > >::difference_type id = i;
      std::vector< short,std::allocator< short > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_short_Sg____delitem____SWIG_1(std::vector< short > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< short,std::allocator< short > >::difference_type id = i;
      std::vector< short,std::allocator< short > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< short >::value_type const &std_vector_Sl_short_Sg____getitem____SWIG_1(std::vector< short > const *self,std::vector< short >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_short_Sg____setitem____SWIG_2(std::vector< short > *self,std::vector< short >::difference_type i,std::vector< short >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< short >::value_type std_vector_Sl_short_Sg__pop(std::vector< short > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< short,std::allocator< short > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_short_Sg__append(std::vector< short > *self,std::vector< short >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< short >::iterator std_vector_Sl_short_Sg__erase__SWIG_0(std::vector< short > *self,std::vector< short >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< short >::iterator std_vector_Sl_short_Sg__erase__SWIG_1(std::vector< short > *self,std::vector< short >::iterator first,std::vector< short >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< short >::iterator std_vector_Sl_short_Sg__insert__SWIG_0(std::vector< short > *self,std::vector< short >::iterator pos,std::vector< short >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_short_Sg__insert__SWIG_1(std::vector< short > *self,std::vector< short >::iterator pos,std::vector< short >::size_type n,std::vector< short >::value_type const &x){ self->insert(pos, n, x); }

      namespace swig {
	template <>  struct traits<std::vector< int, std::allocator< int > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "int" "," "std::allocator< int >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_int_Sg__iterator(std::vector< int > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_int_Sg____nonzero__(std::vector< int > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_int_Sg____bool__(std::vector< int > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< int >::size_type std_vector_Sl_int_Sg____len__(std::vector< int > const *self){
      return self->size();
    }
SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getslice__(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_int_Sg____setslice____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< int,std::allocator< int > >());
    }
SWIGINTERN void std_vector_Sl_int_Sg____setslice____SWIG_1(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j,std::vector< int,std::allocator< int > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_int_Sg____delslice__(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< int,std::allocator< int > >::difference_type id = i;
      std::vector< int,std::allocator< int > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< int,std::allocator< int > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< int,std::allocator< int > >::difference_type id = i;
      std::vector< int,std::allocator< int > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< int,std::allocator< int > >::difference_type id = i;
      std::vector< int,std::allocator< int > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< int,std::allocator< int > >::difference_type id = i;
      std::vector< int,std::allocator< int > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< int >::value_type const &std_vector_Sl_int_Sg____getitem____SWIG_1(std::vector< int > const *self,std::vector< int >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_2(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< int >::value_type std_vector_Sl_int_Sg__pop(std::vector< int > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< int,std::allocator< int > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_int_Sg__append(std::vector< int > *self,std::vector< int >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__erase__SWIG_0(std::vector< int > *self,std::vector< int >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__erase__SWIG_1(std::vector< int > *self,std::vector< int >::iterator first,std::vector< int >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__insert__SWIG_0(std::vector< int > *self,std::vector< int >::iterator pos,std::vector< int >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_int_Sg__insert__SWIG_1(std::vector< int > *self,std::vector< int >::iterator pos,std::vector< int >::size_type n,std::vector< int >::value_type const &x){ self->insert(pos, n, x); }

namespace swig {
  template <> struct traits< long long > {
    typedef value_category category;
    static const char* type_name() { return"long long"; }
  };
  template <>  struct traits_asval< long long > {
    typedef long long value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_long_SS_long (obj, val);
    }
  };
  template <>  struct traits_from< long long > {
    typedef long long value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_long_SS_long  (val);
    }
  };
}


      namespace swig {
	template <>  struct traits<std::vector< long long, std::allocator< long long > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "long long" "," "std::allocator< long long >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_long_SS_long_Sg__iterator(std::vector< long long > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_long_SS_long_Sg____nonzero__(std::vector< long long > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_long_SS_long_Sg____bool__(std::vector< long long > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< long long >::size_type std_vector_Sl_long_SS_long_Sg____len__(std::vector< long long > const *self){
      return self->size();
    }
SWIGINTERN std::vector< long long,std::allocator< long long > > *std_vector_Sl_long_SS_long_Sg____getslice__(std::vector< long long > *self,std::vector< long long >::difference_type i,std::vector< long long >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg____setslice____SWIG_0(std::vector< long long > *self,std::vector< long long >::difference_type i,std::vector< long long >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< long long,std::allocator< long long > >());
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg____setslice____SWIG_1(std::vector< long long > *self,std::vector< long long >::difference_type i,std::vector< long long >::difference_type j,std::vector< long long,std::allocator< long long > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg____delslice__(std::vector< long long > *self,std::vector< long long >::difference_type i,std::vector< long long >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg____delitem____SWIG_0(std::vector< long long > *self,std::vector< long long >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< long long,std::allocator< long long > > *std_vector_Sl_long_SS_long_Sg____getitem____SWIG_0(std::vector< long long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< long long,std::allocator< long long > >::difference_type id = i;
      std::vector< long long,std::allocator< long long > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg____setitem____SWIG_0(std::vector< long long > *self,SWIGPY_SLICEOBJECT *slice,std::vector< long long,std::allocator< long long > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< long long,std::allocator< long long > >::difference_type id = i;
      std::vector< long long,std::allocator< long long > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg____setitem____SWIG_1(std::vector< long long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< long long,std::allocator< long long > >::difference_type id = i;
      std::vector< long long,std::allocator< long long > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg____delitem____SWIG_1(std::vector< long long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< long long,std::allocator< long long > >::difference_type id = i;
      std::vector< long long,std::allocator< long long > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< long long >::value_type const &std_vector_Sl_long_SS_long_Sg____getitem____SWIG_1(std::vector< long long > const *self,std::vector< long long >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg____setitem____SWIG_2(std::vector< long long > *self,std::vector< long long >::difference_type i,std::vector< long long >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< long long >::value_type std_vector_Sl_long_SS_long_Sg__pop(std::vector< long long > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< long long,std::allocator< long long > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg__append(std::vector< long long > *self,std::vector< long long >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< long long >::iterator std_vector_Sl_long_SS_long_Sg__erase__SWIG_0(std::vector< long long > *self,std::vector< long long >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< long long >::iterator std_vector_Sl_long_SS_long_Sg__erase__SWIG_1(std::vector< long long > *self,std::vector< long long >::iterator first,std::vector< long long >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< long long >::iterator std_vector_Sl_long_SS_long_Sg__insert__SWIG_0(std::vector< long long > *self,std::vector< long long >::iterator pos,std::vector< long long >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_long_SS_long_Sg__insert__SWIG_1(std::vector< long long > *self,std::vector< long long >::iterator pos,std::vector< long long >::size_type n,std::vector< long long >::value_type const &x){ self->insert(pos, n, x); }

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);
}


namespace swig {
  template <> struct traits< unsigned int > {
    typedef value_category category;
    static const char* type_name() { return"unsigned int"; }
  };
  template <>  struct traits_asval< unsigned int > {
    typedef unsigned int value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_unsigned_SS_int (obj, val);
    }
  };
  template <>  struct traits_from< unsigned int > {
    typedef unsigned int value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_unsigned_SS_int  (val);
    }
  };
}


      namespace swig {
	template <>  struct traits<std::vector< unsigned int, std::allocator< unsigned int > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "unsigned int" "," "std::allocator< unsigned int >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_unsigned_SS_int_Sg__iterator(std::vector< unsigned int > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_unsigned_SS_int_Sg____nonzero__(std::vector< unsigned int > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_unsigned_SS_int_Sg____bool__(std::vector< unsigned int > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< unsigned int >::size_type std_vector_Sl_unsigned_SS_int_Sg____len__(std::vector< unsigned int > const *self){
      return self->size();
    }
SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getslice__(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i,std::vector< unsigned int >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i,std::vector< unsigned int >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< unsigned int,std::allocator< unsigned int > >());
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i,std::vector< unsigned int >::difference_type j,std::vector< unsigned int,std::allocator< unsigned int > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delslice__(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i,std::vector< unsigned int >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i;
      std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned int,std::allocator< unsigned int > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i;
      std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i;
      std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i;
      std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< unsigned int >::value_type const &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1(std::vector< unsigned int > const *self,std::vector< unsigned int >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i,std::vector< unsigned int >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< unsigned int >::value_type std_vector_Sl_unsigned_SS_int_Sg__pop(std::vector< unsigned int > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< unsigned int,std::allocator< unsigned int > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__append(std::vector< unsigned int > *self,std::vector< unsigned int >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< unsigned int >::iterator std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(std::vector< unsigned int > *self,std::vector< unsigned int >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< unsigned int >::iterator std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(std::vector< unsigned int > *self,std::vector< unsigned int >::iterator first,std::vector< unsigned int >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< unsigned int >::iterator std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(std::vector< unsigned int > *self,std::vector< unsigned int >::iterator pos,std::vector< unsigned int >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(std::vector< unsigned int > *self,std::vector< unsigned int >::iterator pos,std::vector< unsigned int >::size_type n,std::vector< unsigned int >::value_type const &x){ self->insert(pos, n, x); }

namespace swig {
  template <> struct traits< unsigned long > {
    typedef value_category category;
    static const char* type_name() { return"unsigned long"; }
  };
  template <>  struct traits_asval< unsigned long > {
    typedef unsigned long value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_unsigned_SS_long (obj, val);
    }
  };
  template <>  struct traits_from< unsigned long > {
    typedef unsigned long value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_unsigned_SS_long  (val);
    }
  };
}


      namespace swig {
	template <>  struct traits<std::vector< unsigned long, std::allocator< unsigned long > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "unsigned long" "," "std::allocator< unsigned long >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_unsigned_SS_long_Sg__iterator(std::vector< unsigned long > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_unsigned_SS_long_Sg____nonzero__(std::vector< unsigned long > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_unsigned_SS_long_Sg____bool__(std::vector< unsigned long > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< unsigned long >::size_type std_vector_Sl_unsigned_SS_long_Sg____len__(std::vector< unsigned long > const *self){
      return self->size();
    }
SWIGINTERN std::vector< unsigned long,std::allocator< unsigned long > > *std_vector_Sl_unsigned_SS_long_Sg____getslice__(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< unsigned long,std::allocator< unsigned long > >());
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_1(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j,std::vector< unsigned long,std::allocator< unsigned long > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delslice__(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< unsigned long,std::allocator< unsigned long > > *std_vector_Sl_unsigned_SS_long_Sg____getitem____SWIG_0(std::vector< unsigned long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i;
      std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_0(std::vector< unsigned long > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned long,std::allocator< unsigned long > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i;
      std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_1(std::vector< unsigned long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i;
      std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_1(std::vector< unsigned long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i;
      std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< unsigned long >::value_type const &std_vector_Sl_unsigned_SS_long_Sg____getitem____SWIG_1(std::vector< unsigned long > const *self,std::vector< unsigned long >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_2(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< unsigned long >::value_type std_vector_Sl_unsigned_SS_long_Sg__pop(std::vector< unsigned long > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< unsigned long,std::allocator< unsigned long > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg__append(std::vector< unsigned long > *self,std::vector< unsigned long >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< unsigned long >::iterator std_vector_Sl_unsigned_SS_long_Sg__erase__SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< unsigned long >::iterator std_vector_Sl_unsigned_SS_long_Sg__erase__SWIG_1(std::vector< unsigned long > *self,std::vector< unsigned long >::iterator first,std::vector< unsigned long >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< unsigned long >::iterator std_vector_Sl_unsigned_SS_long_Sg__insert__SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::iterator pos,std::vector< unsigned long >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg__insert__SWIG_1(std::vector< unsigned long > *self,std::vector< unsigned long >::iterator pos,std::vector< unsigned long >::size_type n,std::vector< unsigned long >::value_type const &x){ self->insert(pos, n, x); }

namespace swig {
  template <> struct traits< unsigned long long > {
    typedef value_category category;
    static const char* type_name() { return"unsigned long long"; }
  };
  template <>  struct traits_asval< unsigned long long > {
    typedef unsigned long long value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_unsigned_SS_long_SS_long (obj, val);
    }
  };
  template <>  struct traits_from< unsigned long long > {
    typedef unsigned long long value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_unsigned_SS_long_SS_long  (val);
    }
  };
}


      namespace swig {
	template <>  struct traits<std::vector< unsigned long long, std::allocator< unsigned long long > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "unsigned long long" "," "std::allocator< unsigned long long >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_unsigned_SS_long_SS_long_Sg__iterator(std::vector< unsigned long long > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_unsigned_SS_long_SS_long_Sg____nonzero__(std::vector< unsigned long long > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_unsigned_SS_long_SS_long_Sg____bool__(std::vector< unsigned long long > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< unsigned long long >::size_type std_vector_Sl_unsigned_SS_long_SS_long_Sg____len__(std::vector< unsigned long long > const *self){
      return self->size();
    }
SWIGINTERN std::vector< unsigned long long,std::allocator< unsigned long long > > *std_vector_Sl_unsigned_SS_long_SS_long_Sg____getslice__(std::vector< unsigned long long > *self,std::vector< unsigned long long >::difference_type i,std::vector< unsigned long long >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg____setslice____SWIG_0(std::vector< unsigned long long > *self,std::vector< unsigned long long >::difference_type i,std::vector< unsigned long long >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< unsigned long long,std::allocator< unsigned long long > >());
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg____setslice____SWIG_1(std::vector< unsigned long long > *self,std::vector< unsigned long long >::difference_type i,std::vector< unsigned long long >::difference_type j,std::vector< unsigned long long,std::allocator< unsigned long long > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg____delslice__(std::vector< unsigned long long > *self,std::vector< unsigned long long >::difference_type i,std::vector< unsigned long long >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg____delitem____SWIG_0(std::vector< unsigned long long > *self,std::vector< unsigned long long >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< unsigned long long,std::allocator< unsigned long long > > *std_vector_Sl_unsigned_SS_long_SS_long_Sg____getitem____SWIG_0(std::vector< unsigned long long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned long long,std::allocator< unsigned long long > >::difference_type id = i;
      std::vector< unsigned long long,std::allocator< unsigned long long > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg____setitem____SWIG_0(std::vector< unsigned long long > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned long long,std::allocator< unsigned long long > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned long long,std::allocator< unsigned long long > >::difference_type id = i;
      std::vector< unsigned long long,std::allocator< unsigned long long > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg____setitem____SWIG_1(std::vector< unsigned long long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned long long,std::allocator< unsigned long long > >::difference_type id = i;
      std::vector< unsigned long long,std::allocator< unsigned long long > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg____delitem____SWIG_1(std::vector< unsigned long long > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< unsigned long long,std::allocator< unsigned long long > >::difference_type id = i;
      std::vector< unsigned long long,std::allocator< unsigned long long > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< unsigned long long >::value_type const &std_vector_Sl_unsigned_SS_long_SS_long_Sg____getitem____SWIG_1(std::vector< unsigned long long > const *self,std::vector< unsigned long long >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg____setitem____SWIG_2(std::vector< unsigned long long > *self,std::vector< unsigned long long >::difference_type i,std::vector< unsigned long long >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< unsigned long long >::value_type std_vector_Sl_unsigned_SS_long_SS_long_Sg__pop(std::vector< unsigned long long > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< unsigned long long,std::allocator< unsigned long long > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg__append(std::vector< unsigned long long > *self,std::vector< unsigned long long >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< unsigned long long >::iterator std_vector_Sl_unsigned_SS_long_SS_long_Sg__erase__SWIG_0(std::vector< unsigned long long > *self,std::vector< unsigned long long >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< unsigned long long >::iterator std_vector_Sl_unsigned_SS_long_SS_long_Sg__erase__SWIG_1(std::vector< unsigned long long > *self,std::vector< unsigned long long >::iterator first,std::vector< unsigned long long >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< unsigned long long >::iterator std_vector_Sl_unsigned_SS_long_SS_long_Sg__insert__SWIG_0(std::vector< unsigned long long > *self,std::vector< unsigned long long >::iterator pos,std::vector< unsigned long long >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_unsigned_SS_long_SS_long_Sg__insert__SWIG_1(std::vector< unsigned long long > *self,std::vector< unsigned long long >::iterator pos,std::vector< unsigned long long >::size_type n,std::vector< unsigned long long >::value_type const &x){ self->insert(pos, n, x); }

  namespace swig {
    template <>  struct traits< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > {
      typedef pointer_category category;
      static const char* type_name() { return"std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >"; }
    };
  }


      namespace swig {
	template <>  struct traits<std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >, std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >" "," "std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__iterator(std::vector< std::vector< std::vector< unsigned int > > > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____nonzero__(std::vector< std::vector< std::vector< unsigned int > > > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____bool__(std::vector< std::vector< std::vector< unsigned int > > > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< std::vector< std::vector< unsigned int > > >::size_type std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____len__(std::vector< std::vector< std::vector< unsigned int > > > const *self){
      return self->size();
    }
SWIGINTERN std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____getslice__(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::difference_type i,std::vector< std::vector< std::vector< unsigned int > > >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setslice____SWIG_0(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::difference_type i,std::vector< std::vector< std::vector< unsigned int > > >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >());
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setslice____SWIG_1(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::difference_type i,std::vector< std::vector< std::vector< unsigned int > > >::difference_type j,std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____delslice__(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::difference_type i,std::vector< std::vector< std::vector< unsigned int > > >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____delitem____SWIG_0(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____getitem____SWIG_0(std::vector< std::vector< std::vector< unsigned int > > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::difference_type id = i;
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setitem____SWIG_0(std::vector< std::vector< std::vector< unsigned int > > > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::difference_type id = i;
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setitem____SWIG_1(std::vector< std::vector< std::vector< unsigned int > > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::difference_type id = i;
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____delitem____SWIG_1(std::vector< std::vector< std::vector< unsigned int > > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::difference_type id = i;
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< std::vector< std::vector< unsigned int > > >::value_type const &std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____getitem____SWIG_1(std::vector< std::vector< std::vector< unsigned int > > > const *self,std::vector< std::vector< std::vector< unsigned int > > >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setitem____SWIG_2(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::difference_type i,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< std::vector< std::vector< unsigned int > > >::value_type std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__pop(std::vector< std::vector< std::vector< unsigned int > > > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__append(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< std::vector< std::vector< unsigned int > > >::iterator std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__erase__SWIG_0(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< std::vector< std::vector< unsigned int > > >::iterator std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__erase__SWIG_1(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::iterator first,std::vector< std::vector< std::vector< unsigned int > > >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< std::vector< std::vector< unsigned int > > >::iterator std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__insert__SWIG_0(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::iterator pos,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__insert__SWIG_1(std::vector< std::vector< std::vector< unsigned int > > > *self,std::vector< std::vector< std::vector< unsigned int > > >::iterator pos,std::vector< std::vector< std::vector< unsigned int > > >::size_type n,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &x){ self->insert(pos, n, x); }

      namespace swig {
	template <>  struct traits<std::vector< std::vector< double,std::allocator< double > >, std::allocator< std::vector< double,std::allocator< double > > > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "std::vector< double,std::allocator< double > >" "," "std::allocator< std::vector< double,std::allocator< double > > >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_std_vector_Sl_double_Sg__Sg__iterator(std::vector< std::vector< double > > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_std_vector_Sl_double_Sg__Sg____nonzero__(std::vector< std::vector< double > > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_std_vector_Sl_double_Sg__Sg____bool__(std::vector< std::vector< double > > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< std::vector< double > >::size_type std_vector_Sl_std_vector_Sl_double_Sg__Sg____len__(std::vector< std::vector< double > > const *self){
      return self->size();
    }
SWIGINTERN std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *std_vector_Sl_std_vector_Sl_double_Sg__Sg____getslice__(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >());
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_1(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delslice__(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *std_vector_Sl_std_vector_Sl_double_Sg__Sg____getitem____SWIG_0(std::vector< std::vector< double > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i;
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_0(std::vector< std::vector< double > > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i;
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_1(std::vector< std::vector< double > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i;
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_1(std::vector< std::vector< double > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i;
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< std::vector< double > >::value_type const &std_vector_Sl_std_vector_Sl_double_Sg__Sg____getitem____SWIG_1(std::vector< std::vector< double > > const *self,std::vector< std::vector< double > >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_2(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< std::vector< double > >::value_type std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(std::vector< std::vector< double > > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg__append(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< std::vector< double > >::iterator std_vector_Sl_std_vector_Sl_double_Sg__Sg__erase__SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< std::vector< double > >::iterator std_vector_Sl_std_vector_Sl_double_Sg__Sg__erase__SWIG_1(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::iterator first,std::vector< std::vector< double > >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< std::vector< double > >::iterator std_vector_Sl_std_vector_Sl_double_Sg__Sg__insert__SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::iterator pos,std::vector< std::vector< double > >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg__insert__SWIG_1(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::iterator pos,std::vector< std::vector< double > >::size_type n,std::vector< std::vector< double > >::value_type const &x){ self->insert(pos, n, x); }

  namespace swig {


















































    template <class T, class U >
    struct traits_asptr<std::pair<T,U> >  {
      typedef std::pair<T,U> value_type;

      static int get_pair(PyObject* first, PyObject* second,
			  std::pair<T,U> **val) 
      {
	if (val) {
	  value_type *vp = (new std::pair<T,U>());
	  T *pfirst = &(vp->first);
	  int res1 = swig::asval((PyObject*)first, pfirst);
	  if (!SWIG_IsOK(res1)) {
	    delete vp;
	    return res1;
	  }
	  U *psecond = &(vp->second);
	  int res2 = swig::asval((PyObject*)second, psecond);
	  if (!SWIG_IsOK(res2)) {
	    delete vp;
	    return res2;
	  }
	  *val = vp;
	  return SWIG_AddNewMask(res1 > res2 ? res1 : res2);
	} else {
	  T *pfirst = 0;
	  int res1 = swig::asval((PyObject*)first, pfirst);
	  if (!SWIG_IsOK(res1)) return res1;
	  U *psecond = 0;
	  int res2 = swig::asval((PyObject*)second, psecond);
	  if (!SWIG_IsOK(res2)) return res2;
	  return res1 > res2 ? res1 : res2;
	}
      }

      static int asptr(PyObject *obj, std::pair<T,U> **val) {
	int res = SWIG_ERROR;
	if (PyTuple_Check(obj)) {
	  if (PyTuple_GET_SIZE(obj) == 2) {
	    res = get_pair(PyTuple_GET_ITEM(obj,0),PyTuple_GET_ITEM(obj,1), val);
	  }
	} else if (PySequence_Check(obj)) {
	  if (PySequence_Size(obj) == 2) {
	    swig::SwigVar_PyObject first = PySequence_GetItem(obj,0);
	    swig::SwigVar_PyObject second = PySequence_GetItem(obj,1);
	    res = get_pair(first, second, val);
	  }
	} else {
	  value_type *p = 0;
	  swig_type_info *descriptor = swig::type_info<value_type>();
	  res = descriptor ? SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0) : SWIG_ERROR;
	  if (SWIG_IsOK(res) && val)  *val = p;
	}
	return res;
      }
    };


    template <class T, class U >
    struct traits_from<std::pair<T,U> >   {
      static PyObject *from(const std::pair<T,U>& val) {
	PyObject* obj = PyTuple_New(2);
	PyTuple_SetItem(obj,0,swig::from(val.first));
	PyTuple_SetItem(obj,1,swig::from(val.second));
	return obj;
      }
    };
  }





































      namespace swig {
	template <>  struct traits<std::pair< short, std::vector< double,std::allocator< double > > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::pair<" "short" "," "std::vector< double,std::allocator< double > >" " >";
	  }
	};
      }
    

  namespace swig {
    template <class ValueType>
    struct from_key_oper 
    {
      typedef const ValueType& argument_type;
      typedef  PyObject *result_type;
      result_type operator()(argument_type v) const
      {
	return swig::from(v.first);
      }
    };

    template <class ValueType>
    struct from_value_oper 
    {
      typedef const ValueType& argument_type;
      typedef  PyObject *result_type;
      result_type operator()(argument_type v) const
      {
	return swig::from(v.second);
      }
    };

    template<class OutIterator, class FromOper, class ValueType = typename OutIterator::value_type>
    struct SwigPyMapIterator_T : SwigPyIteratorClosed_T<OutIterator, ValueType, FromOper>
    {
      SwigPyMapIterator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq)
	: SwigPyIteratorClosed_T<OutIterator,ValueType,FromOper>(curr, first, last, seq)
      {
      }
    };


    template<class OutIterator,
	     class FromOper = from_key_oper<typename OutIterator::value_type> >
    struct SwigPyMapKeyIterator_T : SwigPyMapIterator_T<OutIterator, FromOper>
    {
      SwigPyMapKeyIterator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq)
	: SwigPyMapIterator_T<OutIterator, FromOper>(curr, first, last, seq)
      {
      }
    };

    template<typename OutIter>
    inline SwigPyIterator*
    make_output_key_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, PyObject *seq = 0)
    {
      return new SwigPyMapKeyIterator_T<OutIter>(current, begin, end, seq);
    }

    template<class OutIterator,
	     class FromOper = from_value_oper<typename OutIterator::value_type> >
    struct SwigPyMapValueIterator_T : SwigPyMapIterator_T<OutIterator, FromOper>
    {
      SwigPyMapValueIterator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq)
	: SwigPyMapIterator_T<OutIterator, FromOper>(curr, first, last, seq)
      {
      }
    };
    

    template<typename OutIter>
    inline SwigPyIterator*
    make_output_value_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, PyObject *seq = 0)
    {
      return new SwigPyMapValueIterator_T<OutIter>(current, begin, end, seq);
    }
  }


  namespace swig {
    template <class K, class T, class Compare, class Alloc>
    struct traits_asptr<std::map<K,T,Compare,Alloc > >  {
      typedef std::map<K,T,Compare,Alloc > map_type;
      static int asptr(PyObject *obj, map_type **val) {
	int res = SWIG_ERROR;
	SWIG_PYTHON_THREAD_BEGIN_BLOCK;
	if (PyDict_Check(obj)) {
	  SwigVar_PyObject items = PyObject_CallMethod(obj,(char *)"items",NULL);
#if PY_VERSION_HEX >= 0x03000000
          /* In Python 3.x the ".items()" method returns a dict_items object */
          items = PySequence_Fast(items, ".items() didn't return a sequence!");
#endif
	  res = traits_asptr_stdseq<map_type, std::pair<K, T> >::asptr(items, val);
	} else {
	  map_type *p = 0;
	  swig_type_info *descriptor = swig::type_info<map_type>();
	  res = descriptor ? SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0) : SWIG_ERROR;
	  if (SWIG_IsOK(res) && val)  *val = p;
	}
	SWIG_PYTHON_THREAD_END_BLOCK;
	return res;
      }      
    };
      
    template <class K, class T, class Compare, class Alloc >
    struct traits_from<std::map<K,T,Compare,Alloc > >  {
      typedef std::map<K,T,Compare,Alloc > map_type;
      typedef typename map_type::const_iterator const_iterator;
      typedef typename map_type::size_type size_type;

      static PyObject *asdict(const map_type& map) {
	SWIG_PYTHON_THREAD_BEGIN_BLOCK;
	size_type size = map.size();
	Py_ssize_t pysize = (size <= (size_type) INT_MAX) ? (Py_ssize_t) size : -1;
	if (pysize < 0) {
	  PyErr_SetString(PyExc_OverflowError, "map size not valid in python");
	  SWIG_PYTHON_THREAD_END_BLOCK;
	  return NULL;
	}
	PyObject *obj = PyDict_New();
	for (const_iterator i= map.begin(); i!= map.end(); ++i) {
	  swig::SwigVar_PyObject key = swig::from(i->first);
	  swig::SwigVar_PyObject val = swig::from(i->second);
	  PyDict_SetItem(obj, key, val);
	}
	SWIG_PYTHON_THREAD_END_BLOCK;
	return obj;
      }
                
      static PyObject *from(const map_type& map) {
	swig_type_info *desc = swig::type_info<map_type>();
	if (desc && desc->clientdata) {
	  return SWIG_InternalNewPointerObj(new map_type(map), desc, SWIG_POINTER_OWN);
	} else {
	  return asdict(map);
	}
      }
    };
  }


      namespace swig {
	template <>  struct traits<std::map< short, std::vector< double,std::allocator< double > >, std::less< short >, std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::map<" "short" "," "std::vector< double,std::allocator< double > >" "," "std::less< short >" "," "std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__iterator(std::map< short,std::vector< double > > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____nonzero__(std::map< short,std::vector< double > > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____bool__(std::map< short,std::vector< double > > const *self){
      return !(self->empty());
    }
SWIGINTERN std::map< short,std::vector< double > >::size_type std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____len__(std::map< short,std::vector< double > > const *self){
      return self->size();
    }
SWIGINTERN std::map< short,std::vector< double > >::mapped_type const &std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____getitem__(std::map< short,std::vector< double > > *self,std::map< short,std::vector< double > >::key_type const &key){
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::const_iterator i = self->find(key);
      if (i != self->end())
	return i->second;
      else
	throw std::out_of_range("key not found");
    }
SWIGINTERN void std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____delitem__(std::map< short,std::vector< double > > *self,std::map< short,std::vector< double > >::key_type const &key){
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::iterator i = self->find(key);
      if (i != self->end())
	self->erase(i);
      else
	throw std::out_of_range("key not found");
    }
SWIGINTERN bool std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__has_key(std::map< short,std::vector< double > > const *self,std::map< short,std::vector< double > >::key_type const &key){
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::const_iterator i = self->find(key);
      return i != self->end();
    }
SWIGINTERN PyObject *std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__keys(std::map< short,std::vector< double > > *self){
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::size_type size = self->size();
      Py_ssize_t pysize = (size <= (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      if (pysize < 0) {
	PyErr_SetString(PyExc_OverflowError, "map size not valid in python");
	SWIG_PYTHON_THREAD_END_BLOCK;
	return NULL;
      }
      PyObject* keyList = PyList_New(pysize);
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::const_iterator i = self->begin();
      for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
	PyList_SET_ITEM(keyList, j, swig::from(i->first));
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
      return keyList;
    }
SWIGINTERN PyObject *std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__values(std::map< short,std::vector< double > > *self){
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::size_type size = self->size();
      Py_ssize_t pysize = (size <= (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      if (pysize < 0) {
	PyErr_SetString(PyExc_OverflowError, "map size not valid in python");
	SWIG_PYTHON_THREAD_END_BLOCK;
	return NULL;
      }
      PyObject* valList = PyList_New(pysize);
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::const_iterator i = self->begin();
      for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
	PyList_SET_ITEM(valList, j, swig::from(i->second));
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
      return valList;
    }
SWIGINTERN PyObject *std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__items(std::map< short,std::vector< double > > *self){
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::size_type size = self->size();
      Py_ssize_t pysize = (size <= (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      if (pysize < 0) {
	PyErr_SetString(PyExc_OverflowError, "map size not valid in python");
	SWIG_PYTHON_THREAD_END_BLOCK;
	return NULL;
      }    
      PyObject* itemList = PyList_New(pysize);
      std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >::const_iterator i = self->begin();
      for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
	PyList_SET_ITEM(itemList, j, swig::from(*i));
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
      return itemList;
    }
SWIGINTERN bool std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____contains__(std::map< short,std::vector< double > > *self,std::map< short,std::vector< double > >::key_type const &key){
      return self->find(key) != self->end();
    }
SWIGINTERN swig::SwigPyIterator *std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__key_iterator(std::map< short,std::vector< double > > *self,PyObject **PYTHON_SELF){
      return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN swig::SwigPyIterator *std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__value_iterator(std::map< short,std::vector< double > > *self,PyObject **PYTHON_SELF){
      return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN void std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____setitem____SWIG_0(std::map< short,std::vector< double > > *self,std::map< short,std::vector< double > >::key_type const &key){
      self->erase(key);
    }
SWIGINTERN void std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____setitem____SWIG_1(std::map< short,std::vector< double > > *self,std::map< short,std::vector< double > >::key_type const &key,std::map< short,std::vector< double > >::mapped_type const &x){
#ifdef __cpp_lib_map_try_emplace
      (*self).insert_or_assign(key, x);
#else
      (*self)[key] = x;
#endif
    }
SWIGINTERN PyObject *std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__asdict(std::map< short,std::vector< double > > *self){
      return swig::traits_from< std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > >::asdict(*self);
    }
SWIGINTERN void std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__erase__SWIG_1(std::map< short,std::vector< double > > *self,std::map< short,std::vector< double > >::iterator position){ self->erase(position); }
SWIGINTERN void std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__erase__SWIG_2(std::map< short,std::vector< double > > *self,std::map< short,std::vector< double > >::iterator first,std::map< short,std::vector< double > >::iterator last){ self->erase(first, last); }

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;
}


/* Return string from Python obj. NOTE: obj must remain in scope in order
   to use the returned cptr (but only when alloc is set to SWIG_OLDOBJ) */
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;
    PyObject *bytes = NULL;
    int ret = SWIG_OK;
    if (alloc)
      *alloc = SWIG_OLDOBJ;
#if PY_VERSION_HEX>=0x03000000 && defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
    if (PyBytes_AsStringAndSize(obj, &cstr, &len) == -1)
      return SWIG_TypeError;
#else
    cstr = (char *)SWIG_PyUnicode_AsUTF8AndSize(obj, &len, &bytes);
    if (!cstr)
      return SWIG_TypeError;
    /* The returned string is only duplicated if the char * returned is not owned and memory managed by obj */
    if (bytes && cptr) {
      if (alloc) {
        cstr = reinterpret_cast< char* >(memcpy(new char[len + 1], cstr, sizeof(char)*(len + 1)));
        *alloc = SWIG_NEWOBJ;
      } else {
        /* alloc must be set in order to clean up allocated memory */
        return SWIG_RuntimeError;
      }
    }
#endif
    if (cptr) *cptr = cstr;
    if (psize) *psize = len + 1;
    Py_XDECREF(bytes);
    return ret;
  } 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 (!obj)
        return SWIG_TypeError;
      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;
}


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;
}


SWIGINTERN int
SWIG_AsVal_std_string (PyObject * obj, std::string *val)
{
  std::string* v = (std::string *) 0;
  int res = SWIG_AsPtr_std_string (obj, &v);
  if (!SWIG_IsOK(res)) return res;
  if (v) {
    if (val) *val = *v;
    if (SWIG_IsNewObj(res)) {
      delete v;
      res = SWIG_DelNewMask(res);
    }
    return res;
  }
  return SWIG_ERROR;
}


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
      return PyUnicode_DecodeUTF8(carray, static_cast< Py_ssize_t >(size), "surrogateescape");
#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());
}


namespace swig {
  template <> struct traits< std::string > {
    typedef value_category category;
    static const char* type_name() { return"std::string"; }
  };
  template <>  struct traits_asval< std::string > {
    typedef std::string value_type;
    static int asval(PyObject *obj, value_type *val) {
      return SWIG_AsVal_std_string (obj, val);
    }
  };
  template <>  struct traits_from< std::string > {
    typedef std::string value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_std_string  (val);
    }
  };
}


      namespace swig {
	template <>  struct traits<std::pair< std::string, std::string > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::pair<" "std::string" "," "std::string" " >";
	  }
	};
      }
    

      namespace swig {
	template <>  struct traits<std::map< std::string, std::string, std::less< std::string >, std::allocator< std::pair< std::string const,std::string > > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::map<" "std::string" "," "std::string" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,std::string > >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_std_string_Sg__iterator(std::map< std::string,std::string > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_map_Sl_std_string_Sc_std_string_Sg____nonzero__(std::map< std::string,std::string > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_map_Sl_std_string_Sc_std_string_Sg____bool__(std::map< std::string,std::string > const *self){
      return !(self->empty());
    }
SWIGINTERN std::map< std::string,std::string >::size_type std_map_Sl_std_string_Sc_std_string_Sg____len__(std::map< std::string,std::string > const *self){
      return self->size();
    }
SWIGINTERN std::map< std::string,std::string >::mapped_type const &std_map_Sl_std_string_Sc_std_string_Sg____getitem__(std::map< std::string,std::string > *self,std::map< std::string,std::string >::key_type const &key){
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i = self->find(key);
      if (i != self->end())
	return i->second;
      else
	throw std::out_of_range("key not found");
    }
SWIGINTERN void std_map_Sl_std_string_Sc_std_string_Sg____delitem__(std::map< std::string,std::string > *self,std::map< std::string,std::string >::key_type const &key){
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::iterator i = self->find(key);
      if (i != self->end())
	self->erase(i);
      else
	throw std::out_of_range("key not found");
    }
SWIGINTERN bool std_map_Sl_std_string_Sc_std_string_Sg__has_key(std::map< std::string,std::string > const *self,std::map< std::string,std::string >::key_type const &key){
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i = self->find(key);
      return i != self->end();
    }
SWIGINTERN PyObject *std_map_Sl_std_string_Sc_std_string_Sg__keys(std::map< std::string,std::string > *self){
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type size = self->size();
      Py_ssize_t pysize = (size <= (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      if (pysize < 0) {
	PyErr_SetString(PyExc_OverflowError, "map size not valid in python");
	SWIG_PYTHON_THREAD_END_BLOCK;
	return NULL;
      }
      PyObject* keyList = PyList_New(pysize);
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i = self->begin();
      for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
	PyList_SET_ITEM(keyList, j, swig::from(i->first));
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
      return keyList;
    }
SWIGINTERN PyObject *std_map_Sl_std_string_Sc_std_string_Sg__values(std::map< std::string,std::string > *self){
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type size = self->size();
      Py_ssize_t pysize = (size <= (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      if (pysize < 0) {
	PyErr_SetString(PyExc_OverflowError, "map size not valid in python");
	SWIG_PYTHON_THREAD_END_BLOCK;
	return NULL;
      }
      PyObject* valList = PyList_New(pysize);
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i = self->begin();
      for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
	PyList_SET_ITEM(valList, j, swig::from(i->second));
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
      return valList;
    }
SWIGINTERN PyObject *std_map_Sl_std_string_Sc_std_string_Sg__items(std::map< std::string,std::string > *self){
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type size = self->size();
      Py_ssize_t pysize = (size <= (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      if (pysize < 0) {
	PyErr_SetString(PyExc_OverflowError, "map size not valid in python");
	SWIG_PYTHON_THREAD_END_BLOCK;
	return NULL;
      }    
      PyObject* itemList = PyList_New(pysize);
      std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i = self->begin();
      for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
	PyList_SET_ITEM(itemList, j, swig::from(*i));
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
      return itemList;
    }
SWIGINTERN bool std_map_Sl_std_string_Sc_std_string_Sg____contains__(std::map< std::string,std::string > *self,std::map< std::string,std::string >::key_type const &key){
      return self->find(key) != self->end();
    }
SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_std_string_Sg__key_iterator(std::map< std::string,std::string > *self,PyObject **PYTHON_SELF){
      return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_std_string_Sg__value_iterator(std::map< std::string,std::string > *self,PyObject **PYTHON_SELF){
      return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN void std_map_Sl_std_string_Sc_std_string_Sg____setitem____SWIG_0(std::map< std::string,std::string > *self,std::map< std::string,std::string >::key_type const &key){
      self->erase(key);
    }
SWIGINTERN void std_map_Sl_std_string_Sc_std_string_Sg____setitem____SWIG_1(std::map< std::string,std::string > *self,std::map< std::string,std::string >::key_type const &key,std::map< std::string,std::string >::mapped_type const &x){
#ifdef __cpp_lib_map_try_emplace
      (*self).insert_or_assign(key, x);
#else
      (*self)[key] = x;
#endif
    }
SWIGINTERN PyObject *std_map_Sl_std_string_Sc_std_string_Sg__asdict(std::map< std::string,std::string > *self){
      return swig::traits_from< std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > > >::asdict(*self);
    }
SWIGINTERN void std_map_Sl_std_string_Sc_std_string_Sg__erase__SWIG_1(std::map< std::string,std::string > *self,std::map< std::string,std::string >::iterator position){ self->erase(position); }
SWIGINTERN void std_map_Sl_std_string_Sc_std_string_Sg__erase__SWIG_2(std::map< std::string,std::string > *self,std::map< std::string,std::string >::iterator first,std::map< std::string,std::string >::iterator last){ self->erase(first, last); }

      namespace swig {
	template <>  struct traits<std::vector< std::string, std::allocator< std::string > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "std::string" "," "std::allocator< std::string >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_std_string_Sg__iterator(std::vector< std::string > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_std_string_Sg____nonzero__(std::vector< std::string > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_std_string_Sg____bool__(std::vector< std::string > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< std::string >::size_type std_vector_Sl_std_string_Sg____len__(std::vector< std::string > const *self){
      return self->size();
    }
SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getslice__(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_std_string_Sg____setslice____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< std::string,std::allocator< std::string > >());
    }
SWIGINTERN void std_vector_Sl_std_string_Sg____setslice____SWIG_1(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j,std::vector< std::string,std::allocator< std::string > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_std_string_Sg____delslice__(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::string,std::allocator< std::string > >::difference_type id = i;
      std::vector< std::string,std::allocator< std::string > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::string,std::allocator< std::string > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::string,std::allocator< std::string > >::difference_type id = i;
      std::vector< std::string,std::allocator< std::string > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::string,std::allocator< std::string > >::difference_type id = i;
      std::vector< std::string,std::allocator< std::string > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::string,std::allocator< std::string > >::difference_type id = i;
      std::vector< std::string,std::allocator< std::string > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< std::string >::value_type const &std_vector_Sl_std_string_Sg____getitem____SWIG_1(std::vector< std::string > const *self,std::vector< std::string >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_2(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< std::string >::value_type std_vector_Sl_std_string_Sg__pop(std::vector< std::string > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< std::string,std::allocator< std::string > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_std_string_Sg__append(std::vector< std::string > *self,std::vector< std::string >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__erase__SWIG_0(std::vector< std::string > *self,std::vector< std::string >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__erase__SWIG_1(std::vector< std::string > *self,std::vector< std::string >::iterator first,std::vector< std::string >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__insert__SWIG_0(std::vector< std::string > *self,std::vector< std::string >::iterator pos,std::vector< std::string >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_std_string_Sg__insert__SWIG_1(std::vector< std::string > *self,std::vector< std::string >::iterator pos,std::vector< std::string >::size_type n,std::vector< std::string >::value_type const &x){ self->insert(pos, n, x); }

  namespace swig {
    template <>  struct traits< std::pair< int,int > > {
      typedef pointer_category category;
      static const char* type_name() { return"std::pair< int,int >"; }
    };
  }


      namespace swig {
	template <>  struct traits<std::vector< std::pair< int,int >, std::allocator< std::pair< int,int > > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::vector<" "std::pair< int,int >" "," "std::allocator< std::pair< int,int > >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__iterator(std::vector< std::pair< int,int > > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____nonzero__(std::vector< std::pair< int,int > > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____bool__(std::vector< std::pair< int,int > > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< std::pair< int,int > >::size_type std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____len__(std::vector< std::pair< int,int > > const *self){
      return self->size();
    }
SWIGINTERN std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getslice__(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setslice____SWIG_0(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >());
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setslice____SWIG_1(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::difference_type j,std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delslice__(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delitem____SWIG_0(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getitem____SWIG_0(std::vector< std::pair< int,int > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type id = i;
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_0(std::vector< std::pair< int,int > > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type id = i;
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_1(std::vector< std::pair< int,int > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type id = i;
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delitem____SWIG_1(std::vector< std::pair< int,int > > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type id = i;
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< std::pair< int,int > >::value_type const &std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getitem____SWIG_1(std::vector< std::pair< int,int > > const *self,std::vector< std::pair< int,int > >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_2(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< std::pair< int,int > >::value_type std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__pop(std::vector< std::pair< int,int > > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__append(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::value_type const &x){
      self->push_back(x);
    }
SWIGINTERN std::vector< std::pair< int,int > >::iterator std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__erase__SWIG_0(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< std::pair< int,int > >::iterator std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__erase__SWIG_1(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::iterator first,std::vector< std::pair< int,int > >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< std::pair< int,int > >::iterator std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__insert__SWIG_0(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::iterator pos,std::vector< std::pair< int,int > >::value_type const &x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__insert__SWIG_1(std::vector< std::pair< int,int > > *self,std::vector< std::pair< int,int > >::iterator pos,std::vector< std::pair< int,int > >::size_type n,std::vector< std::pair< int,int > >::value_type const &x){ self->insert(pos, n, x); }

      namespace swig {
	template <>  struct traits<std::pair< std::vector< double,std::allocator< double > >, std::vector< double,std::allocator< double > > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::pair<" "std::vector< double,std::allocator< double > >" "," "std::vector< double,std::allocator< double > >" " >";
	  }
	};
      }
    

      namespace swig {
	template <>  struct traits<std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >, std::vector< unsigned long long,std::allocator< unsigned long long > > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::pair<" "std::vector< unsigned long long,std::allocator< unsigned long long > >" "," "std::vector< unsigned long long,std::allocator< unsigned long long > >" " >";
	  }
	};
      }
    

#include "FileCheck.h"





#include "TTTRHeader.h"


#define TTTRHeader_number_of_micro_time_channels_get(self_) self_->get_number_of_micro_time_channels()
  

#define TTTRHeader_macro_time_resolution_get(self_) self_->get_macro_time_resolution()
  

#define TTTRHeader_micro_time_resolution_get(self_) self_->get_micro_time_resolution()
  

#define TTTRHeader_tttr_record_type_get(self_) self_->get_tttr_record_type()
#define TTTRHeader_tttr_record_type_set(self_, val_) self_->set_tttr_record_type(val_)
  

#define TTTRHeader_tttr_container_type_get(self_) self_->get_tttr_container_type()
#define TTTRHeader_tttr_container_type_set(self_, val_) self_->set_tttr_container_type(val_)
  

#include "TTTRRange.h"


#define TTTRRange_tttr_indices_get(self_) new std::vector<int>(self_->get_tttr_indices())
  

#define TTTRRange_start_stop_get(self_) new std::vector<int>(self_->get_start_stop())
  

#define TTTRRange_start_get(self_) self_->get_start()
  

#define TTTRRange_stop_get(self_) self_->get_stop()
  

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;
}


#if NPY_API_VERSION < 0x00000007
#define NPY_ARRAY_DEFAULT NPY_DEFAULT
#define NPY_ARRAY_FARRAY  NPY_FARRAY
#define NPY_FORTRANORDER  NPY_FORTRAN
#endif


  /* Given a PyObject, return a string describing its type.
   */
  const char* pytype_string(PyObject* py_obj)
  {
    if (py_obj == NULL          ) return "C NULL value";
    if (py_obj == Py_None       ) return "Python None" ;
    if (PyCallable_Check(py_obj)) return "callable"    ;
    if (PyString_Check(  py_obj)) return "string"      ;
    if (PyInt_Check(     py_obj)) return "int"         ;
    if (PyFloat_Check(   py_obj)) return "float"       ;
    if (PyDict_Check(    py_obj)) return "dict"        ;
    if (PyList_Check(    py_obj)) return "list"        ;
    if (PyTuple_Check(   py_obj)) return "tuple"       ;
#if PY_MAJOR_VERSION < 3
    if (PyFile_Check(    py_obj)) return "file"        ;
    if (PyModule_Check(  py_obj)) return "module"      ;
    if (PyInstance_Check(py_obj)) return "instance"    ;
#endif

    return "unknown type";
  }

  /* Given a NumPy typecode, return a string describing the type.
   */
  const char* typecode_string(int typecode)
  {
    static const char* type_names[25] = {"bool",
                                         "byte",
                                         "unsigned byte",
                                         "short",
                                         "unsigned short",
                                         "int",
                                         "unsigned int",
                                         "long",
                                         "unsigned long",
                                         "long long",
                                         "unsigned long long",
                                         "float",
                                         "double",
                                         "long double",
                                         "complex float",
                                         "complex double",
                                         "complex long double",
                                         "object",
                                         "string",
                                         "unicode",
                                         "void",
                                         "ntypes",
                                         "notype",
                                         "char",
                                         "unknown"};
    return typecode < 24 ? type_names[typecode] : type_names[24];
  }

  /* Make sure input has correct numpy type.  This now just calls
     PyArray_EquivTypenums().
   */
  int type_match(int actual_type,
                 int desired_type)
  {
    return PyArray_EquivTypenums(actual_type, desired_type);
  }

#ifdef SWIGPY_USE_CAPSULE
  void free_cap(PyObject * cap)
  {
    void* array = (void*) PyCapsule_GetPointer(cap,SWIGPY_CAPSULE_NAME);
    if (array != NULL) free(array);
  }
#endif




#include "TTTRSelection.h"


#define TTTRSelection_tttr_indices_get(self_) new std::vector<int>(self_->get_tttr_indices())
  

#include "TTTR.h"


/* Macros to extract array attributes.
 */
#if NPY_API_VERSION < 0x00000007
#define is_pyarray(a)            ((a) && PyArray_Check((PyArrayObject*)a))
#define pyarray_type(a)          (int)(PyArray_TYPE((PyArrayObject*)a))
#define pyarray_numdims(a)       (((PyArrayObject*)a)->nd)
#define pyarray_dimensions(a)    (((PyArrayObject*)a)->dimensions)
#define pyarray_size(a,i)        (((PyArrayObject*)a)->dimensions[i])
#define pypyarray_strides(a)       (((PyArrayObject*)a)->strides)
#define pyarray_stride(a,i)      (((PyArrayObject*)a)->strides[i])
#define pyarray_data(a)          (((PyArrayObject*)a)->data)
#define pyarray_descr(a)         (((PyArrayObject*)a)->descr)
#define pyarray_flags(a)         (((PyArrayObject*)a)->flags)
#define pyarray_clearflags(a,f)  (((PyArrayObject*)a)->flags) &= ~f
#define pyarray_enableflags(a,f) (((PyArrayObject*)a)->flags) = f
#define pyarray_is_fortran(a)    (PyArray_ISFORTRAN((PyArrayObject*)a))
#else
#define is_pyarray(a)            ((a) && PyArray_Check(a))
#define pyarray_type(a)          PyArray_TYPE((PyArrayObject*)a)
#define pyarray_numdims(a)       PyArray_NDIM((PyArrayObject*)a)
#define pyarray_dimensions(a)    PyArray_DIMS((PyArrayObject*)a)
#define pypyarray_strides(a)       PyArray_STRIDES((PyArrayObject*)a)
#define pyarray_stride(a,i)      PyArray_STRIDE((PyArrayObject*)a,i)
#define pyarray_size(a,i)        PyArray_DIM((PyArrayObject*)a,i)
#define pyarray_data(a)          PyArray_DATA((PyArrayObject*)a)
#define pyarray_descr(a)         PyArray_DESCR((PyArrayObject*)a)
#define pyarray_flags(a)         PyArray_FLAGS((PyArrayObject*)a)
#define pyarray_enableflags(a,f) PyArray_ENABLEFLAGS((PyArrayObject*)a,f)
#define pyarray_clearflags(a,f)  PyArray_CLEARFLAGS((PyArrayObject*)a,f)
#define pyarray_is_fortran(a)    (PyArray_IS_F_CONTIGUOUS((PyArrayObject*)a))
#endif
#define array_is_contiguous(a) (PyArray_ISCONTIGUOUS((PyArrayObject*)a))
#define array_is_native(a)     (PyArray_ISNOTSWAPPED((PyArrayObject*)a))


  /* Given a PyObject pointer, cast it to a PyArrayObject pointer if
   * legal.  If not, set the python error string appropriately and
   * return NULL.
   */
  PyArrayObject* obj_to_array_no_conversion(PyObject* input,
                                            int        typecode)
  {
    PyArrayObject* ary = NULL;
    if (is_pyarray(input) && (typecode == NPY_NOTYPE ||
                            PyArray_EquivTypenums(pyarray_type(input), typecode)))
    {
      ary = (PyArrayObject*) input;
    }
    else if is_pyarray(input)
    {
      const char* desired_type = typecode_string(typecode);
      const char* actual_type  = typecode_string(pyarray_type(input));
      PyErr_Format(PyExc_TypeError,
                   "Array of type '%s' required.  Array of type '%s' given",
                   desired_type, actual_type);
      ary = NULL;
    }
    else
    {
      const char* desired_type = typecode_string(typecode);
      const char* actual_type  = pytype_string(input);
      PyErr_Format(PyExc_TypeError,
                   "Array of type '%s' required.  A '%s' was given",
                   desired_type,
                   actual_type);
      ary = NULL;
    }
    return ary;
  }

  /* Convert the given PyObject to a NumPy array with the given
   * typecode.  On success, return a valid PyArrayObject* with the
   * correct type.  On failure, the python error string will be set and
   * the routine returns NULL.
   */
  PyArrayObject* obj_to_array_allow_conversion(PyObject* input,
                                               int       typecode,
                                               int*      is_new_object)
  {
    PyArrayObject* ary = NULL;
    PyObject*      py_obj;
    if (is_pyarray(input) && (typecode == NPY_NOTYPE ||
                            PyArray_EquivTypenums(pyarray_type(input),typecode)))
    {
      ary = (PyArrayObject*) input;
      *is_new_object = 0;
    }
    else
    {
      py_obj = PyArray_FROMANY(input, typecode, 0, 0, NPY_ARRAY_DEFAULT);
      /* If NULL, PyArray_FromObject will have set python error value.*/
      ary = (PyArrayObject*) py_obj;
      *is_new_object = 1;
    }
    return ary;
  }

  /* Given a PyArrayObject, check to see if it is contiguous.  If so,
   * return the input pointer and flag it as not a new object.  If it is
   * not contiguous, create a new PyArrayObject using the original data,
   * flag it as a new object and return the pointer.
   */
  PyArrayObject* make_contiguous(PyArrayObject* ary,
                                 int*           is_new_object,
                                 int            min_dims,
                                 int            max_dims)
  {
    PyArrayObject* result;
    if (array_is_contiguous(ary))
    {
      result = ary;
      *is_new_object = 0;
    }
    else
    {
      result = (PyArrayObject*) PyArray_ContiguousFromObject((PyObject*)ary,
                                                              pyarray_type(ary),
                                                              min_dims,
                                                              max_dims);
      *is_new_object = 1;
    }
    return result;
  }

  /* Given a PyArrayObject, check to see if it is Fortran-contiguous.
   * If so, return the input pointer, but do not flag it as not a new
   * object.  If it is not Fortran-contiguous, create a new
   * PyArrayObject using the original data, flag it as a new object
   * and return the pointer.
   */
  PyArrayObject* make_fortran(PyArrayObject* ary,
                              int*           is_new_object)
  {
    PyArrayObject* result;
    if (pyarray_is_fortran(ary))
    {
      result = ary;
      *is_new_object = 0;
    }
    else
    {
      Py_INCREF(pyarray_descr(ary));
      result = (PyArrayObject*) PyArray_FromArray(ary,
                                                  pyarray_descr(ary),
#if NPY_API_VERSION < 0x00000007
                                                  NPY_FORTRANORDER);
#else
                                                  NPY_ARRAY_F_CONTIGUOUS);
#endif
      *is_new_object = 1;
    }
    return result;
  }

  /* Convert a given PyObject to a contiguous PyArrayObject of the
   * specified type.  If the input object is not a contiguous
   * PyArrayObject, a new one will be created and the new object flag
   * will be set.
   */
  PyArrayObject* obj_to_array_contiguous_allow_conversion(PyObject* input,
                                                          int       typecode,
                                                          int*      is_new_object)
  {
    int is_new1 = 0;
    int is_new2 = 0;
    PyArrayObject* ary2;
    PyArrayObject* ary1 = obj_to_array_allow_conversion(input,
                                                        typecode,
                                                        &is_new1);
    if (ary1)
    {
      ary2 = make_contiguous(ary1, &is_new2, 0, 0);
      if ( is_new1 && is_new2)
      {
        Py_DECREF(ary1);
      }
      ary1 = ary2;
    }
    *is_new_object = is_new1 || is_new2;
    return ary1;
  }

  /* Convert a given PyObject to a Fortran-ordered PyArrayObject of the
   * specified type.  If the input object is not a Fortran-ordered
   * PyArrayObject, a new one will be created and the new object flag
   * will be set.
   */
  PyArrayObject* obj_to_array_fortran_allow_conversion(PyObject* input,
                                                       int       typecode,
                                                       int*      is_new_object)
  {
    int is_new1 = 0;
    int is_new2 = 0;
    PyArrayObject* ary2;
    PyArrayObject* ary1 = obj_to_array_allow_conversion(input,
                                                        typecode,
                                                        &is_new1);
    if (ary1)
    {
      ary2 = make_fortran(ary1, &is_new2);
      if (is_new1 && is_new2)
      {
        Py_DECREF(ary1);
      }
      ary1 = ary2;
    }
    *is_new_object = is_new1 || is_new2;
    return ary1;
  }


  /* Test whether a python object is contiguous.  If array is
   * contiguous, return 1.  Otherwise, set the python error string and
   * return 0.
   */
  int require_contiguous(PyArrayObject* ary)
  {
    int contiguous = 1;
    if (!array_is_contiguous(ary))
    {
      PyErr_SetString(PyExc_TypeError,
                      "Array must be contiguous.  A non-contiguous array was given");
      contiguous = 0;
    }
    return contiguous;
  }

  /* Test whether a python object is (C_ or F_) contiguous.  If array is
   * contiguous, return 1.  Otherwise, set the python error string and
   * return 0.
   */
  int require_c_or_f_contiguous(PyArrayObject* ary)
  {
    int contiguous = 1;
    if (!(array_is_contiguous(ary) || pyarray_is_fortran(ary)))
    {
      PyErr_SetString(PyExc_TypeError,
                      "Array must be contiguous (C_ or F_).  A non-contiguous array was given");
      contiguous = 0;
    }
    return contiguous;
  }

  /* Require that a numpy array is not byte-swapped.  If the array is
   * not byte-swapped, return 1.  Otherwise, set the python error string
   * and return 0.
   */
  int require_native(PyArrayObject* ary)
  {
    int native = 1;
    if (!array_is_native(ary))
    {
      PyErr_SetString(PyExc_TypeError,
                      "Array must have native byteorder.  "
                      "A byte-swapped array was given");
      native = 0;
    }
    return native;
  }

  /* Require the given PyArrayObject to have a specified number of
   * dimensions.  If the array has the specified number of dimensions,
   * return 1.  Otherwise, set the python error string and return 0.
   */
  int require_dimensions(PyArrayObject* ary,
                         int            exact_dimensions)
  {
    int success = 1;
    if (pyarray_numdims(ary) != exact_dimensions)
    {
      PyErr_Format(PyExc_TypeError,
                   "Array must have %d dimensions.  Given array has %d dimensions",
                   exact_dimensions,
                   pyarray_numdims(ary));
      success = 0;
    }
    return success;
  }

  /* Require the given PyArrayObject to have one of a list of specified
   * number of dimensions.  If the array has one of the specified number
   * of dimensions, return 1.  Otherwise, set the python error string
   * and return 0.
   */
  int require_dimensions_n(PyArrayObject* ary,
                           int*           exact_dimensions,
                           int            n)
  {
    int success = 0;
    int i;
    char dims_str[255] = "";
    char s[255];
    for (i = 0; i < n && !success; i++)
    {
      if (pyarray_numdims(ary) == exact_dimensions[i])
      {
        success = 1;
      }
    }
    if (!success)
    {
      for (i = 0; i < n-1; i++)
      {
        sprintf(s, "%d, ", exact_dimensions[i]);
        strcat(dims_str,s);
      }
      sprintf(s, " or %d", exact_dimensions[n-1]);
      strcat(dims_str,s);
      PyErr_Format(PyExc_TypeError,
                   "Array must have %s dimensions.  Given array has %d dimensions",
                   dims_str,
                   pyarray_numdims(ary));
    }
    return success;
  }

  /* Require the given PyArrayObject to have a specified shape.  If the
   * array has the specified shape, return 1.  Otherwise, set the python
   * error string and return 0.
   */
  int require_size(PyArrayObject* ary,
                   npy_intp*      size,
                   int            n)
  {
    int i;
    int success = 1;
    size_t len;
    char desired_dims[255] = "[";
    char s[255];
    char actual_dims[255] = "[";
    for(i=0; i < n;i++)
    {
      if (size[i] != -1 &&  size[i] != pyarray_size(ary,i))
      {
        success = 0;
      }
    }
    if (!success)
    {
      for (i = 0; i < n; i++)
      {
        if (size[i] == -1)
        {
          sprintf(s, "*,");
        }
        else
        {
          sprintf(s, "%ld,", (long int)size[i]);
        }
        strcat(desired_dims,s);
      }
      len = strlen(desired_dims);
      desired_dims[len-1] = ']';
      for (i = 0; i < n; i++)
      {
        sprintf(s, "%ld,", (long int)pyarray_size(ary,i));
        strcat(actual_dims,s);
      }
      len = strlen(actual_dims);
      actual_dims[len-1] = ']';
      PyErr_Format(PyExc_TypeError,
                   "Array must have shape of %s.  Given array has shape of %s",
                   desired_dims,
                   actual_dims);
    }
    return success;
  }

  /* Require the given PyArrayObject to to be Fortran ordered.  If the
   * the PyArrayObject is already Fortran ordered, do nothing.  Else,
   * set the Fortran ordering flag and recompute the strides.
   */
  int require_fortran(PyArrayObject* ary)
  {
    int success = 1;
    int nd = pyarray_numdims(ary);
    int i;
    npy_intp * strides = pypyarray_strides(ary);
    if (pyarray_is_fortran(ary)) return success;
    int n_non_one = 0;
    /* Set the Fortran ordered flag */
    const npy_intp *dims = pyarray_dimensions(ary);
    for (i=0; i < nd; ++i)
      n_non_one += (dims[i] != 1) ? 1 : 0;
    if (n_non_one > 1)    
      pyarray_clearflags(ary,NPY_ARRAY_CARRAY);
    pyarray_enableflags(ary,NPY_ARRAY_FARRAY);
    /* Recompute the strides */
    strides[0] = strides[nd-1];
    for (i=1; i < nd; ++i)
      strides[i] = strides[i-1] * pyarray_size(ary,i-1);
    return success;
  }




struct SWIG_null_deleter {
  void operator() (void const *) const {
  }
};
#define SWIG_NO_NULL_DELETER_0 , SWIG_null_deleter()
#define SWIG_NO_NULL_DELETER_1
#define SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW
#define SWIG_NO_NULL_DELETER_SWIG_POINTER_OWN


#define SWIG_NO_NULL_DELETER_SWIG_BUILTIN_INIT


SWIGINTERN int
SWIG_AsVal_signed_SS_char (PyObject * obj, signed char *val)
{
  long v;
  int res = SWIG_AsVal_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < SCHAR_MIN || v > SCHAR_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< signed char >(v);
    }
  }  
  return res;
}


#include "TTTRMask.h"


#include "Histogram.h"
#include "HistogramAxis.h"


#include "TTTR.h"
#include "CorrelatorPhotonStream.h"
#include "CorrelatorCurve.h"
#include "Correlator.h"


#define CorrelatorCurve_n_bins_get(self_) self_->get_n_bins()
#define CorrelatorCurve_n_bins_set(self_, val_) self_->set_n_bins(val_)
  

#define CorrelatorCurve_n_casc_get(self_) self_->get_n_casc()
#define CorrelatorCurve_n_casc_set(self_, val_) self_->set_n_casc(val_)
  

#define Correlator_n_bins_get(self_) self_->get_n_bins()
#define Correlator_n_bins_set(self_, val_) self_->set_n_bins(val_)
  

#define Correlator_n_casc_get(self_) self_->get_n_casc()
#define Correlator_n_casc_set(self_, val_) self_->set_n_casc(val_)
  

#define Correlator_method_get(self_) *new std::string(self_->get_correlation_method())
  

#define Correlator_method_set(self_, val_) self_->set_correlation_method(val_)
    

  namespace swig {
    template <>  struct traits< std::shared_ptr< TTTR > > {
      typedef pointer_category category;
      static const char* type_name() { return"std::shared_ptr< TTTR >"; }
    };
  }


      namespace swig {
	template <>  struct traits<std::pair< std::shared_ptr< TTTR >, std::shared_ptr< TTTR > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::pair<" "std::shared_ptr< TTTR >" "," "std::shared_ptr< TTTR >" " >";
	  }
	};
      }
    

#include "CLSMPixel.h"
#include "CLSMLine.h"
#include "CLSMFrame.h"
#include "CLSMImage.h"
#include "TTTR.h"
static int myErr = 0; // flag to save error state


  namespace swig {
    template <>  struct traits< CLSMFrame > {
      typedef pointer_category category;
      static const char* type_name() { return"CLSMFrame"; }
    };
  }


      namespace swig {
	template <>  struct traits<std::vector< CLSMFrame*, std::allocator< CLSMFrame * > > > {
	  typedef value_category category;
	  static const char* type_name() {
	    return "std::vector<" "CLSMFrame" " *," "std::allocator< CLSMFrame * >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_CLSMFrame_Sm__Sg__iterator(std::vector< CLSMFrame * > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_CLSMFrame_Sm__Sg____nonzero__(std::vector< CLSMFrame * > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_CLSMFrame_Sm__Sg____bool__(std::vector< CLSMFrame * > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< CLSMFrame * >::size_type std_vector_Sl_CLSMFrame_Sm__Sg____len__(std::vector< CLSMFrame * > const *self){
      return self->size();
    }
SWIGINTERN std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *std_vector_Sl_CLSMFrame_Sm__Sg____getslice__(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::difference_type i,std::vector< CLSMFrame * >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg____setslice____SWIG_0(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::difference_type i,std::vector< CLSMFrame * >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >());
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg____setslice____SWIG_1(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::difference_type i,std::vector< CLSMFrame * >::difference_type j,std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg____delslice__(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::difference_type i,std::vector< CLSMFrame * >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg____delitem____SWIG_0(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *std_vector_Sl_CLSMFrame_Sm__Sg____getitem____SWIG_0(std::vector< CLSMFrame * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::difference_type id = i;
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg____setitem____SWIG_0(std::vector< CLSMFrame * > *self,SWIGPY_SLICEOBJECT *slice,std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::difference_type id = i;
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg____setitem____SWIG_1(std::vector< CLSMFrame * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::difference_type id = i;
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg____delitem____SWIG_1(std::vector< CLSMFrame * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::difference_type id = i;
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< CLSMFrame * >::value_type std_vector_Sl_CLSMFrame_Sm__Sg____getitem____SWIG_1(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg____setitem____SWIG_2(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::difference_type i,std::vector< CLSMFrame * >::value_type x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< CLSMFrame * >::value_type std_vector_Sl_CLSMFrame_Sm__Sg__pop(std::vector< CLSMFrame * > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg__append(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::value_type x){
      self->push_back(x);
    }
SWIGINTERN std::vector< CLSMFrame * >::iterator std_vector_Sl_CLSMFrame_Sm__Sg__erase__SWIG_0(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< CLSMFrame * >::iterator std_vector_Sl_CLSMFrame_Sm__Sg__erase__SWIG_1(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::iterator first,std::vector< CLSMFrame * >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< CLSMFrame * >::iterator std_vector_Sl_CLSMFrame_Sm__Sg__insert__SWIG_0(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::iterator pos,std::vector< CLSMFrame * >::value_type x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_CLSMFrame_Sm__Sg__insert__SWIG_1(std::vector< CLSMFrame * > *self,std::vector< CLSMFrame * >::iterator pos,std::vector< CLSMFrame * >::size_type n,std::vector< CLSMFrame * >::value_type x){ self->insert(pos, n, x); }

  namespace swig {
    template <>  struct traits< CLSMLine > {
      typedef pointer_category category;
      static const char* type_name() { return"CLSMLine"; }
    };
  }


      namespace swig {
	template <>  struct traits<std::vector< CLSMLine*, std::allocator< CLSMLine * > > > {
	  typedef value_category category;
	  static const char* type_name() {
	    return "std::vector<" "CLSMLine" " *," "std::allocator< CLSMLine * >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_CLSMLine_Sm__Sg__iterator(std::vector< CLSMLine * > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_CLSMLine_Sm__Sg____nonzero__(std::vector< CLSMLine * > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_CLSMLine_Sm__Sg____bool__(std::vector< CLSMLine * > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< CLSMLine * >::size_type std_vector_Sl_CLSMLine_Sm__Sg____len__(std::vector< CLSMLine * > const *self){
      return self->size();
    }
SWIGINTERN std::vector< CLSMLine *,std::allocator< CLSMLine * > > *std_vector_Sl_CLSMLine_Sm__Sg____getslice__(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::difference_type i,std::vector< CLSMLine * >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg____setslice____SWIG_0(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::difference_type i,std::vector< CLSMLine * >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< CLSMLine*,std::allocator< CLSMLine * > >());
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg____setslice____SWIG_1(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::difference_type i,std::vector< CLSMLine * >::difference_type j,std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg____delslice__(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::difference_type i,std::vector< CLSMLine * >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg____delitem____SWIG_0(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< CLSMLine *,std::allocator< CLSMLine * > > *std_vector_Sl_CLSMLine_Sm__Sg____getitem____SWIG_0(std::vector< CLSMLine * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::difference_type id = i;
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg____setitem____SWIG_0(std::vector< CLSMLine * > *self,SWIGPY_SLICEOBJECT *slice,std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::difference_type id = i;
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg____setitem____SWIG_1(std::vector< CLSMLine * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::difference_type id = i;
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg____delitem____SWIG_1(std::vector< CLSMLine * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::difference_type id = i;
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< CLSMLine * >::value_type std_vector_Sl_CLSMLine_Sm__Sg____getitem____SWIG_1(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg____setitem____SWIG_2(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::difference_type i,std::vector< CLSMLine * >::value_type x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< CLSMLine * >::value_type std_vector_Sl_CLSMLine_Sm__Sg__pop(std::vector< CLSMLine * > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< CLSMLine*,std::allocator< CLSMLine * > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg__append(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::value_type x){
      self->push_back(x);
    }
SWIGINTERN std::vector< CLSMLine * >::iterator std_vector_Sl_CLSMLine_Sm__Sg__erase__SWIG_0(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< CLSMLine * >::iterator std_vector_Sl_CLSMLine_Sm__Sg__erase__SWIG_1(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::iterator first,std::vector< CLSMLine * >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< CLSMLine * >::iterator std_vector_Sl_CLSMLine_Sm__Sg__insert__SWIG_0(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::iterator pos,std::vector< CLSMLine * >::value_type x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_CLSMLine_Sm__Sg__insert__SWIG_1(std::vector< CLSMLine * > *self,std::vector< CLSMLine * >::iterator pos,std::vector< CLSMLine * >::size_type n,std::vector< CLSMLine * >::value_type x){ self->insert(pos, n, x); }

  namespace swig {
    template <>  struct traits< CLSMPixel > {
      typedef pointer_category category;
      static const char* type_name() { return"CLSMPixel"; }
    };
  }


      namespace swig {
	template <>  struct traits<std::vector< CLSMPixel*, std::allocator< CLSMPixel * > > > {
	  typedef value_category category;
	  static const char* type_name() {
	    return "std::vector<" "CLSMPixel" " *," "std::allocator< CLSMPixel * >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_vector_Sl_CLSMPixel_Sm__Sg__iterator(std::vector< CLSMPixel * > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_vector_Sl_CLSMPixel_Sm__Sg____nonzero__(std::vector< CLSMPixel * > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_vector_Sl_CLSMPixel_Sm__Sg____bool__(std::vector< CLSMPixel * > const *self){
      return !(self->empty());
    }
SWIGINTERN std::vector< CLSMPixel * >::size_type std_vector_Sl_CLSMPixel_Sm__Sg____len__(std::vector< CLSMPixel * > const *self){
      return self->size();
    }
SWIGINTERN std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *std_vector_Sl_CLSMPixel_Sm__Sg____getslice__(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::difference_type i,std::vector< CLSMPixel * >::difference_type j){
      return swig::getslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg____setslice____SWIG_0(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::difference_type i,std::vector< CLSMPixel * >::difference_type j){
      swig::setslice(self, i, j, 1, std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >());
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg____setslice____SWIG_1(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::difference_type i,std::vector< CLSMPixel * >::difference_type j,std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &v){
      swig::setslice(self, i, j, 1, v);
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg____delslice__(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::difference_type i,std::vector< CLSMPixel * >::difference_type j){
      swig::delslice(self, i, j, 1);
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg____delitem____SWIG_0(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::difference_type i){
      swig::erase(self, swig::getpos(self, i));
    }
SWIGINTERN std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *std_vector_Sl_CLSMPixel_Sm__Sg____getitem____SWIG_0(std::vector< CLSMPixel * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::difference_type id = i;
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::difference_type jd = j;
      return swig::getslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg____setitem____SWIG_0(std::vector< CLSMPixel * > *self,SWIGPY_SLICEOBJECT *slice,std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::difference_type id = i;
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::difference_type jd = j;
      swig::setslice(self, id, jd, step, v);
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg____setitem____SWIG_1(std::vector< CLSMPixel * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::difference_type id = i;
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg____delitem____SWIG_1(std::vector< CLSMPixel * > *self,SWIGPY_SLICEOBJECT *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step);
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::difference_type id = i;
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::difference_type jd = j;
      swig::delslice(self, id, jd, step);
    }
SWIGINTERN std::vector< CLSMPixel * >::value_type std_vector_Sl_CLSMPixel_Sm__Sg____getitem____SWIG_1(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg____setitem____SWIG_2(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::difference_type i,std::vector< CLSMPixel * >::value_type x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN std::vector< CLSMPixel * >::value_type std_vector_Sl_CLSMPixel_Sm__Sg__pop(std::vector< CLSMPixel * > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg__append(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::value_type x){
      self->push_back(x);
    }
SWIGINTERN std::vector< CLSMPixel * >::iterator std_vector_Sl_CLSMPixel_Sm__Sg__erase__SWIG_0(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::iterator pos){ return self->erase(pos); }
SWIGINTERN std::vector< CLSMPixel * >::iterator std_vector_Sl_CLSMPixel_Sm__Sg__erase__SWIG_1(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::iterator first,std::vector< CLSMPixel * >::iterator last){ return self->erase(first, last); }
SWIGINTERN std::vector< CLSMPixel * >::iterator std_vector_Sl_CLSMPixel_Sm__Sg__insert__SWIG_0(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::iterator pos,std::vector< CLSMPixel * >::value_type x){ return self->insert(pos, x); }
SWIGINTERN void std_vector_Sl_CLSMPixel_Sm__Sg__insert__SWIG_1(std::vector< CLSMPixel * > *self,std::vector< CLSMPixel * >::iterator pos,std::vector< CLSMPixel * >::size_type n,std::vector< CLSMPixel * >::value_type x){ self->insert(pos, n, x); }

#define CLSMImage_n_frames_get(self_) self_->get_n_frames()
  

#define CLSMImage_n_lines_get(self_) self_->get_n_lines()
  

#define CLSMImage_n_pixel_get(self_) self_->get_n_pixel()
  

#define CLSMFrame_n_lines_get(self_) self_->size()
  

#define CLSMLine_n_pixel_get(self_) self_->size()
  

#define CLSMLine_pixel_duration_get(self_) self_->get_pixel_duration()
  
SWIGINTERN CLSMPixel *CLSMLine___getitem__(CLSMLine *self,int i){
        if (i < 0){
            i = self->size() + i;
        }
        if (i >= self->size()){
            myErr = 1;
            return 0;
        }
        return (*(self))[i];
    }
SWIGINTERN size_t CLSMLine___len__(CLSMLine *self){
        return self->size();
    }
SWIGINTERN CLSMLine *CLSMFrame___getitem__(CLSMFrame *self,int i){
        if (i < 0){
            i = self->size() + i;
        }
        if (i >= self->size()){
            myErr = 1;
            return 0;
        }
        return (*(self))[i];
    }
SWIGINTERN size_t CLSMFrame___len__(CLSMFrame *self){
        return self->size();
    }
SWIGINTERN CLSMFrame *CLSMImage___getitem__(CLSMImage *self,int i){
        if (i >= self->size()){
            myErr = 1;
            return 0;
        }
        if (i < 0) {
            i = self->size() + i;
        }
        return (*(self))[i];
    }
SWIGINTERN size_t CLSMImage___len__(CLSMImage *self){
        return self->size();
    }

#include "DecayPhasor.h"


#include "Pda.h"
#include "PdaCallback.h"


#define Pda_hist_sgsr_valid_get(self_) self_->is_valid_sgsr()
#define Pda_hist_sgsr_valid_set(self_, val_) self_->set_valid_sgsr(val_)
  

#define Pda_background_ch2_get(self_) self_->get_ch2_background()
#define Pda_background_ch2_set(self_, val_) self_->set_ch2_background(val_)
  

#define Pda_background_ch1_get(self_) self_->get_ch1_background()
#define Pda_background_ch1_set(self_, val_) self_->set_ch1_background(val_)
  

#define Pda_hist2d_nmin_get(self_) self_->get_min_number_of_photons()
#define Pda_hist2d_nmin_set(self_, val_) self_->set_min_number_of_photons(val_)
  

#define Pda_hist2d_nmax_get(self_) self_->get_max_number_of_photons()
#define Pda_hist2d_nmax_set(self_, val_) self_->set_max_number_of_photons(val_)
  

#define Pda_hist2d_valid_get(self_) self_->is_valid_sgsr()
#define Pda_hist2d_valid_set(self_, val_) self_->set_valid_sgsr(val_)
  

#include "DecayConvolution.h"


double my_rescale(
        double* fit, int n_fit,
        double* decay, int n_decay,
        int start = 0,
        int stop = -1
){
    if (n_fit != n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_decay);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_decay;
    }
    if (start >= n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_decay);
    }
    if (stop > n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_decay);
    }
    double scale = 0.0;
    rescale(fit, decay, &scale, start, stop);
    return scale;
}


double my_rescale_w(
        double* fit, int n_fit,
        double* decay, int n_decay,
        double* w_sq, int n_w_sq,
        int start = 0,
        int stop = -1
){
    if (n_fit != n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_decay);
    }
    if (n_decay != n_w_sq) {
        PyErr_Format(PyExc_ValueError,
                     "Weight and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_decay, n_w_sq);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_decay;
    }
    if (start > n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_decay);
    }
    if (stop > n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_decay);
    }
    double scale = 0.0;
    rescale_w(fit, decay, w_sq, &scale, start, stop);
    return scale;
}


double my_rescale_w_bg(
        double* fit, int n_fit,
        double* decay, int n_decay,
        double* w_sq, int n_w_sq,
        double bg,
        int start = 0,
        int stop = -1
){
    if (n_fit != n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_decay);
    }
    if (n_decay != n_w_sq) {
        PyErr_Format(PyExc_ValueError,
                     "Weight and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_decay, n_w_sq);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_decay;
    }
    if (start > n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_decay);
    }
    if (stop > n_decay) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_decay);
    }
    double scale = 0.0;
    rescale_w_bg(fit, decay, w_sq, bg, &scale, start, stop);
    return scale;
}


void my_fconv(
        double* fit, int n_fit,
        double* irf, int n_irf,
        double* x, int n_x,
        int start = 0,
        int stop = -1,
        double dt = 1.0
){
    if (n_fit != n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_irf);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_irf;
    }
    if (start > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_irf);
    }
    if (stop > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_irf);
    }
    fconv(fit, x, irf, n_x / 2, start, stop, dt);
}


void my_fconv_avx(
        double* fit, int n_fit,
        double* irf, int n_irf,
        double* x, int n_x,
        int start = 0,
        int stop = -1,
        double dt = 1.0
){
    if (n_fit != n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_irf);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_irf;
    }
    if (start > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_irf);
    }
    if (stop > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_irf);
    }
    fconv_avx(fit, x, irf, n_x / 2, start, stop, dt);
}


void my_fconv_per(
        double* fit, int n_fit,
        double* irf, int n_irf,
        double* x, int n_x,
        double period,
        int start = 0,
        int stop = -1,
        double dt = 1.0
){
    if (n_fit != n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_irf);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_fit;
    }
    if (start > n_fit) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_fit);
    }
    if (stop > n_fit) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_fit);
    }
    fconv_per(fit, x, irf, n_x / 2, start, stop, n_irf, period, dt);
}


void my_fconv_per_avx(
        double* fit, int n_fit,
        double* irf, int n_irf,
        double* x, int n_x,
        double period,
        int start = 0,
        int stop = -1,
        double dt = 1.0
){
    if (n_fit != n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_irf);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_irf;
    }
    if (start > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_irf);
    }
    if (stop > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_irf);
    }
    fconv_per_avx(fit, x, irf, n_x / 2, start, stop, n_irf, period, dt);
}


void my_fconv_per_cs(
        double* fit, int n_fit,
        double* irf, int n_irf,
        double* x, int n_x,
        double period,
        int conv_stop = -1,
        int stop = -1,
        double dt = 1.0
){
    if (n_fit != n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_irf);
    }
    if(stop < 0){
        stop = n_irf - 1;
    }
    if(conv_stop < 0){
        conv_stop = n_irf;
    }
    if (stop > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_irf);
    }
    fconv_per_cs(fit, x, irf, n_x / 2, stop, n_irf, period, conv_stop, dt);
}


void my_fconv_ref(
        double* fit, int n_fit,
        double* irf, int n_irf,
        double* x, int n_x,
        double tauref,
        int start = 0,
        int stop = -1,
        double dt = 1.0
){
    if (n_fit != n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_irf);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_irf;
    }
    if (start > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_irf);
    }
    if (stop > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_irf);
    }
    fconv_ref(fit, x, irf, n_x / 2, start, stop, tauref);
}


void my_sconv(
        double* fit, int n_fit,
        double* irf, int n_irf,
        double* model, int n_model,
        int start = 0,
        int stop = -1
){
    if (n_fit != n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Model and decay array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_fit, n_irf);
    }
    if (n_model != n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Model and fit array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_model, n_irf);
    }
    if(start < 0){
        PyErr_Format(PyExc_ValueError,
                     "Start index needs to be larger or equal to zero."
        );
    }
    if(stop < 0){
        stop = n_irf;
    }
    if (start > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Start index (%d) too large for array of lengths (%d).",
                     start, n_irf);
    }
    if (stop > n_irf) {
        PyErr_Format(PyExc_ValueError,
                     "Stop index (%d) too large for array of lengths (%d).",
                     stop, n_irf);
    }
    sconv(fit, model, irf, start, stop);
}


void my_shift_lamp(
        double* lamp, int n_lamp,
        double* lampsh, int n_lampsh,
        double ts = 0.0,
        double out_value=0.0
){
    if (n_lamp != n_lampsh) {
        PyErr_Format(PyExc_ValueError,
                     "IRF and shifted IRF array should have same length. "
                     "Arrays of lengths (%d,%d) given",
                     n_lamp, n_lampsh);
    }
    shift_lamp(lampsh, lamp, ts, n_lamp, out_value);
}


#include "DecayFit.h"


static int LVI32ArrayErr = 0;    // flag to save LVI32Array struct error state
static int LVDoubleArrayErr = 0; // flag to save LVDoubleArrayErr struct error state

SWIGINTERN int LVI32Array___getitem__(LVI32Array *self,size_t i){
        if (i >= self->length) {
            LVI32ArrayErr = 1;
            return 0;
        }
        return self->data[i];
    }
SWIGINTERN void LVI32Array___setitem__(LVI32Array *self,size_t i,int value){
        if ( i >= self->length ){
            LVI32ArrayErr = 1;
            return;
        }
        self->data[i] = value;
    }
SWIGINTERN size_t LVI32Array___len__(LVI32Array *self){
        return self->length;
    }
SWIGINTERN void LVI32Array_insert(LVI32Array *self,size_t i,int value){
        if ( i >= self->length ){
            LVI32ArrayErr = 1;
            return;
        }
        self->data[i] = value;
    }
SWIGINTERN void LVI32Array_set_data(LVI32Array *self,PyObject *input){
        PyArrayObject* obj = (PyArrayObject*)input;
        int size = PyArray_SIZE(obj);
        int* data = (int*) PyArray_DATA(obj);
        int* temp = (int*) calloc(size, sizeof(int));
        for(int i=0; i<size;i++){
            temp[i] = data[i];
        }
        self->data=temp;
        self->length=size;
    }
SWIGINTERN double LVDoubleArray___getitem__(LVDoubleArray *self,size_t i){
        if (i >= self->length) {
            LVDoubleArrayErr = 1;
            return 0;
        }
        return self->data[i];
    }
SWIGINTERN void LVDoubleArray___setitem__(LVDoubleArray *self,size_t i,double value){
        if ( i >= self->length ){
            LVDoubleArrayErr = 1;
            return;
        }
        self->data[i] = value;
    }
SWIGINTERN size_t LVDoubleArray___len__(LVDoubleArray *self){
        return self->length;
    }
SWIGINTERN void LVDoubleArray_insert(LVDoubleArray *self,size_t i,double value){
        if ( i >= self->length ){
            LVDoubleArrayErr = 1;
            return;
        }
        self->data[i] = value;
    }
SWIGINTERN void LVDoubleArray_set_data(LVDoubleArray *self,PyObject *input){
        PyArrayObject* obj = (PyArrayObject*)input;
        int size = PyArray_SIZE(obj);
        double* data = (double*) PyArray_DATA(obj);
        double* temp = (double*) calloc(size, sizeof(double));
        for(int i=0; i<size;i++){
            temp[i] = data[i];
        }
        self->data=temp;
        self->length=size;
    }
SWIGINTERN LVDoubleArray *MParam_get_irf(MParam *self){
        return *(self->irf);
    }
SWIGINTERN LVDoubleArray *MParam_get_model(MParam *self){
        return *(self->M);
    }
SWIGINTERN LVI32Array *MParam_get_data(MParam *self){
        return *(self->expdata);
    }
SWIGINTERN LVDoubleArray *MParam_get_corrections(MParam *self){
        return *(self->corrections);
    }
SWIGINTERN LVDoubleArray *MParam_get_background(MParam *self){
        return *(self->bg);
    }

#include "DecayFit23.h"

SWIGINTERN double DecayFit23_my_fit__SWIG_1(double *x,int n_x,short *fixed,int n_fixed,MParam *p){
        if (n_x != 8) {
            PyErr_Format(
                    PyExc_ValueError,
                    "The length of the parameter vector must of length 8 Arrays of length (%d) given", n_x);
            return 0.0;
        }
        if (n_fixed < 4) {
            PyErr_Format(
                    PyExc_ValueError,
                    "The length of the vector fixed be at least of length 6 Arrays of lengths (%d) given", n_fixed);
            return 0.0;
        }
        return DecayFit23::fit(x, fixed, p);
    }
SWIGINTERN double DecayFit23_my_targetf__SWIG_1(double *x,int n_x,MParam *p){
        if (n_x != 8) {
            PyErr_Format(
                    PyExc_ValueError,
                     "The length of the parameter vector must of length 8. Arrays of length (%d) given", n_x);
            return 0.0;
        }
        return DecayFit23::targetf(x, p);
    }
SWIGINTERN int DecayFit23_my_modelf__SWIG_1(double *param,int n_param,double *irf,int n_irf,double *bg,int n_bg,double dt,double *corrections,int n_corrections,double *mfunction,int n_mfunction){
            if (n_irf != n_bg) {
                PyErr_Format(
                        PyExc_ValueError,
                        "IRF and Bg array should have same length. Arrays of lengths (%d,%d) given", n_irf, n_bg);
                return 0.0;
            }
            if (n_mfunction != n_bg) {
                PyErr_Format(
                        PyExc_ValueError,
                        "Output array should be of length inputs. Arrays of lengths (%d,%d) given", n_mfunction, n_bg);
                return 0.0;
            }
            if (n_param != 4) {
                PyErr_Format(
                        PyExc_ValueError,
                        "Parameter array should be of length 4. Arrays of length (%d) given", n_param);
                return 0.0;
            }
            if (n_corrections != 5) {
                PyErr_Format(
                        PyExc_ValueError,
                        "Corrections array should be of length 4. Arrays of length (%d) given", n_param);
                return 0.0;
            }
            return DecayFit23::modelf(param, irf, bg, n_mfunction / 2, dt, corrections, mfunction);
        }

#include "DecayFit24.h"

SWIGINTERN double DecayFit24_my_fit__SWIG_1(double *x,int n_x,short *fixed,int n_fixed,MParam *p){
        if (n_x != 8) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the parameter vector must of length 8"
                         "Arrays of length (%d) given",
                         n_x);
            return 0.0;
        }
        if (n_fixed < 5) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the vector fixed be at least of length 6"
                         "Arrays of lengths (%d) given",
                         n_fixed);
            return 0.0;
        }
        return DecayFit24::fit(x, fixed, p);
    }
SWIGINTERN double DecayFit24_my_targetf__SWIG_1(double *x,int n_x,MParam *p){
        if (n_x != 8) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the parameter vector must of length 8. "
                         "Arrays of length (%d) given",
                         n_x);
            return 0.0;
        }
        return DecayFit24::targetf(x, p);
    }
SWIGINTERN int DecayFit24_my_modelf__SWIG_1(double *param,int n_param,double *irf,int n_irf,double *bg,int n_bg,double dt,double *corrections,int n_corrections,double *mfunction,int n_mfunction){
        if (n_irf != n_bg) {
            PyErr_Format(PyExc_ValueError,
                         "IRF and Bg array should have same length. "
                         "Arrays of lengths (%d,%d) given",
                         n_irf, n_bg);
            return 0.0;
        }
        if (n_mfunction != n_bg) {
            PyErr_Format(PyExc_ValueError,
                         "Output array should be of length inputs. "
                         "Arrays of lengths (%d,%d) given",
                         n_mfunction, n_bg);
            return 0.0;
        }
        if (n_param != 5) {
            PyErr_Format(PyExc_ValueError,
                         "Parameter array should be of length 5. "
                         "Arrays of length (%d) given",
                         n_param);
            return 0.0;
        }
        if (n_corrections != 5) {
            PyErr_Format(PyExc_ValueError,
                         "Corrections array should be of length 5. "
                         "Arrays of length (%d) given",
                         n_param);
            return 0.0;
        }
        return DecayFit24::modelf(param, irf, bg, n_mfunction / 2, dt, corrections, mfunction);
    }

#include "DecayFit25.h"

SWIGINTERN double DecayFit25_my_targetf__SWIG_1(double *x,int n_x,MParam *p){
        if (n_x != 8) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the parameter vector must of length 8. "
                         "Arrays of length (%d) given",
                         n_x);
            return 0.0;
        }
        return DecayFit25::targetf(x, p);
    }
SWIGINTERN double DecayFit25_my_fit__SWIG_1(double *x,int n_x,short *fixed,int n_fixed,MParam *p){
        if (n_x != 9) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the parameter vector must of length 9. "
                         "Arrays of length (%d) given",
                         n_x);
            return 0.0;
        }
        if (n_fixed < 5) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the vector fixed be at least of length 5. "
                         "Array of lengths (%d) given",
                         n_fixed);
            return 0.0;
        }
        return DecayFit25::fit(x, fixed, p);
    }

#include "DecayFit26.h"

SWIGINTERN double DecayFit26_my_targetf__SWIG_1(double *x,int n_x,MParam *p){
        if (n_x != 8) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the parameter vector must of length 8. "
                         "Arrays of length (%d) given",
                         n_x);
            return 0.0;
        }
        return DecayFit26::targetf(x, p);
    }
SWIGINTERN double DecayFit26_my_fit__SWIG_1(double *x,int n_x,short *fixed,int n_fixed,MParam *p){
        if (n_x != 1) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the parameter vector must of length 1. "
                         "Arrays of length (%d) given",
                         n_x);
            return 0.0;
        }
        if (n_fixed < 1) {
            PyErr_Format(PyExc_ValueError,
                         "The length of the vector fixed be at least of length 1. "
                         "Array of lengths (%d) given",
                         n_fixed);
            return 0.0;
        }
        return DecayFit26::fit(x, fixed, p);
    }


/* ---------------------------------------------------
 * C++ director class methods
 * --------------------------------------------------- */

#include "tttrlibPYTHON_wrap.h"

SwigDirector_PdaCallback::SwigDirector_PdaCallback(PyObject *self): PdaCallback(), Swig::Director(self) {
  SWIG_DIRECTOR_RGTR((PdaCallback *)this, this); 
}




double SwigDirector_PdaCallback::run(double ch1,double ch2) {
  double c_result = SwigValueInit< double >() ;
  
  swig::SwigVar_PyObject obj0;
  obj0 = SWIG_From_double(static_cast< double >(ch1));
  swig::SwigVar_PyObject obj1;
  obj1 = SWIG_From_double(static_cast< double >(ch2));
  if (!swig_get_self()) {
    Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call PdaCallback.__init__.");
  }
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
  const size_t swig_method_index = 0;
  const char *const swig_method_name = "run";
  PyObject *method = swig_get_method(swig_method_index, swig_method_name);
  swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL);
#else
  swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar("run");
  swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL);
#endif
  if (!result) {
    PyObject *error = PyErr_Occurred();
    if (error) {
      Swig::DirectorMethodException::raise("Error detected when calling 'PdaCallback.run'");
    }
  }
  double swig_val;
  int swig_res = SWIG_AsVal_double(result, &swig_val);
  if (!SWIG_IsOK(swig_res)) {
    Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""double""'");
  }
  c_result = static_cast< double >(swig_val);
  return (double) c_result;
}


SwigDirector_PdaCallback::~SwigDirector_PdaCallback() {
}

#ifdef __cplusplus
extern "C" {
#endif
SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SwigPyIterator" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_value" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  try {
    result = (PyObject *)((swig::SwigPyIterator const *)arg1)->value();
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  size_t arg2 = (size_t) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  swig::SwigPyIterator *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O:SwigPyIterator_incr", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  if (obj1) {
    ecode2 = SWIG_AsVal_size_t(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_incr" "', argument " "2"" of type '" "size_t""'");
    } 
    arg2 = static_cast< size_t >(val2);
  }
  try {
    result = (swig::SwigPyIterator *)(arg1)->incr(arg2);
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  size_t arg2 = (size_t) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  swig::SwigPyIterator *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O:SwigPyIterator_decr", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  if (obj1) {
    ecode2 = SWIG_AsVal_size_t(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_decr" "', argument " "2"" of type '" "size_t""'");
    } 
    arg2 = static_cast< size_t >(val2);
  }
  try {
    result = (swig::SwigPyIterator *)(arg1)->decr(arg2);
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  swig::SwigPyIterator *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  ptrdiff_t result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SwigPyIterator_distance", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_distance" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
  try {
    result = ((swig::SwigPyIterator const *)arg1)->distance((swig::SwigPyIterator const &)*arg2);
  } catch(std::invalid_argument &_e) {
    SWIG_Python_Raise(SWIG_NewPointerObj((new std::invalid_argument(static_cast< const std::invalid_argument& >(_e))),SWIGTYPE_p_std__invalid_argument,SWIG_POINTER_OWN), "std::invalid_argument", SWIGTYPE_p_std__invalid_argument); SWIG_fail;
  }
  resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  swig::SwigPyIterator *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SwigPyIterator_equal", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_equal" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
  try {
    result = (bool)((swig::SwigPyIterator const *)arg1)->equal((swig::SwigPyIterator const &)*arg2);
  } catch(std::invalid_argument &_e) {
    SWIG_Python_Raise(SWIG_NewPointerObj((new std::invalid_argument(static_cast< const std::invalid_argument& >(_e))),SWIGTYPE_p_std__invalid_argument,SWIG_POINTER_OWN), "std::invalid_argument", SWIGTYPE_p_std__invalid_argument); SWIG_fail;
  }
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_copy" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->copy();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_next" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  try {
    result = (PyObject *)(arg1)->next();
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___next__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  try {
    result = (PyObject *)(arg1)->__next__();
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_previous" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  try {
    result = (PyObject *)(arg1)->previous();
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  ptrdiff_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  swig::SwigPyIterator *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SwigPyIterator_advance", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_advance" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_advance" "', argument " "2"" of type '" "ptrdiff_t""'");
  } 
  arg2 = static_cast< ptrdiff_t >(val2);
  try {
    result = (swig::SwigPyIterator *)(arg1)->advance(arg2);
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  swig::SwigPyIterator *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SwigPyIterator___eq__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___eq__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
  result = (bool)((swig::SwigPyIterator const *)arg1)->operator ==((swig::SwigPyIterator const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  swig::SwigPyIterator *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SwigPyIterator___ne__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___ne__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
  result = (bool)((swig::SwigPyIterator const *)arg1)->operator !=((swig::SwigPyIterator const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  ptrdiff_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  swig::SwigPyIterator *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SwigPyIterator___iadd__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___iadd__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___iadd__" "', argument " "2"" of type '" "ptrdiff_t""'");
  } 
  arg2 = static_cast< ptrdiff_t >(val2);
  try {
    result = (swig::SwigPyIterator *) &(arg1)->operator +=(arg2);
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  ptrdiff_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  swig::SwigPyIterator *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SwigPyIterator___isub__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___isub__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___isub__" "', argument " "2"" of type '" "ptrdiff_t""'");
  } 
  arg2 = static_cast< ptrdiff_t >(val2);
  try {
    result = (swig::SwigPyIterator *) &(arg1)->operator -=(arg2);
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  ptrdiff_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  swig::SwigPyIterator *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SwigPyIterator___add__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___add__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___add__" "', argument " "2"" of type '" "ptrdiff_t""'");
  } 
  arg2 = static_cast< ptrdiff_t >(val2);
  try {
    result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator +(arg2);
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  ptrdiff_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  swig::SwigPyIterator *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "ptrdiff_t""'");
  } 
  arg2 = static_cast< ptrdiff_t >(val2);
  try {
    result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator -(arg2);
  } catch(swig::stop_iteration &_e) {
    {
      (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
      SWIG_fail;
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
  swig::SwigPyIterator *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  ptrdiff_t result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'"); 
  }
  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); 
  }
  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
  result = ((swig::SwigPyIterator const *)arg1)->operator -((swig::SwigPyIterator const &)*arg2);
  resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator___sub__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_NO_NULL | 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_SwigPyIterator___sub____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_SwigPyIterator___sub____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *SwigPyIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_swig__SwigPyIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_SetInt32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::less< int > *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::set< int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__lessT_int_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SetInt32" "', argument " "1"" of type '" "std::less< int > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SetInt32" "', argument " "1"" of type '" "std::less< int > const &""'"); 
  }
  arg1 = reinterpret_cast< std::less< int > * >(argp1);
  result = (std::set< int > *)new std::set< int >((std::less< int > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__setT_int_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_iterator" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = (swig::SwigPyIterator *)std_set_Sl_int_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32___nonzero__" "', argument " "1"" of type '" "std::set< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = (bool)std_set_Sl_int_Sg____nonzero__((std::set< int > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32___bool__" "', argument " "1"" of type '" "std::set< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = (bool)std_set_Sl_int_Sg____bool__((std::set< int > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::set< int >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32___len__" "', argument " "1"" of type '" "std::set< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = std_set_Sl_int_Sg____len__((std::set< int > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::value_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_append" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_append" "', argument " "2"" of type '" "std::set< int >::value_type""'");
  } 
  arg2 = static_cast< std::set< int >::value_type >(val2);
  std_set_Sl_int_Sg__append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32___contains__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::value_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32___contains__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32___contains__" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32___contains__" "', argument " "2"" of type '" "std::set< int >::value_type""'");
  } 
  arg2 = static_cast< std::set< int >::value_type >(val2);
  result = (bool)std_set_Sl_int_Sg____contains__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32___getitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  NULL 
  };
  std::set< int >::value_type result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32___getitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32___getitem__" "', argument " "1"" of type '" "std::set< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32___getitem__" "', argument " "2"" of type '" "std::set< int >::difference_type""'");
  } 
  arg2 = static_cast< std::set< int >::difference_type >(val2);
  try {
    result = (std::set< int >::value_type)std_set_Sl_int_Sg____getitem__((std::set< int > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_add(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::value_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_add", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_add" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_add" "', argument " "2"" of type '" "std::set< int >::value_type""'");
  } 
  arg2 = static_cast< std::set< int >::value_type >(val2);
  std_set_Sl_int_Sg__add(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_discard(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::value_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_discard", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_discard" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_discard" "', argument " "2"" of type '" "std::set< int >::value_type""'");
  } 
  arg2 = static_cast< std::set< int >::value_type >(val2);
  std_set_Sl_int_Sg__discard(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_SetInt32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::set< int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::set< int > *)new std::set< int >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__setT_int_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_SetInt32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::set< int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::set< int,std::less< int >,std::allocator< int > > *ptr = (std::set< int,std::less< int >,std::allocator< int > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SetInt32" "', argument " "1"" of type '" "std::set< int > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SetInt32" "', argument " "1"" of type '" "std::set< int > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::set< int > *)new std::set< int >((std::set< int > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__setT_int_t, 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_SetInt32(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[2] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_SetInt32", 0, 1, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_SetInt32__SWIG_1(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_int_t, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_SetInt32__SWIG_0(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::set< int,std::less< int >,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_SetInt32__SWIG_2(self, argc, argv);
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SetInt32'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::set< int >::set(std::less< int > const &)\n"
    "    std::set< int >::set()\n"
    "    std::set< int >::set(std::set< int > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_SetInt32_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_empty" "', argument " "1"" of type '" "std::set< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = (bool)((std::set< int > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::set< int >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_size" "', argument " "1"" of type '" "std::set< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = ((std::set< int > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_clear" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_swap" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__setT_int_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SetInt32_swap" "', argument " "2"" of type '" "std::set< int > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SetInt32_swap" "', argument " "2"" of type '" "std::set< int > &""'"); 
  }
  arg2 = reinterpret_cast< std::set< int > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::set< int >::key_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  std::set< int >::size_type result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_erase" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_erase" "', argument " "2"" of type '" "std::set< int >::key_type""'");
  } 
  temp2 = static_cast< std::set< int >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->erase((std::set< int >::key_type const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_count(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::set< int >::key_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::set< int >::size_type result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_count", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_count" "', argument " "1"" of type '" "std::set< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_count" "', argument " "2"" of type '" "std::set< int >::key_type""'");
  } 
  temp2 = static_cast< std::set< int >::key_type >(val2);
  arg2 = &temp2;
  result = ((std::set< int > const *)arg1)->count((std::set< int >::key_type const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::set< int >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_begin" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::set< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::set< int >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_end" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::set< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::set< int >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_rbegin" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::set< int >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::set< int >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_rend" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::set< int >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_erase" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "SetInt32_erase" "', argument " "2"" of type '" "std::set< int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::set< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::set< int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "SetInt32_erase" "', argument " "2"" of type '" "std::set< int >::iterator""'");
    }
  }
  std_set_Sl_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_erase__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::iterator arg2 ;
  std::set< int >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_erase" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "SetInt32_erase" "', argument " "2"" of type '" "std::set< int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::set< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::set< int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "SetInt32_erase" "', argument " "2"" of type '" "std::set< int >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "SetInt32_erase" "', argument " "3"" of type '" "std::set< int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::set< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::set< int >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "SetInt32_erase" "', argument " "3"" of type '" "std::set< int >::iterator""'");
    }
  }
  std_set_Sl_int_Sg__erase__SWIG_2(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "SetInt32_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::set< int,std::less< int >,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::set< int >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_SetInt32_erase__SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::set< int,std::less< int >,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_SetInt32_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::set< int,std::less< int >,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::set< int >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::set< int >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_SetInt32_erase__SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SetInt32_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::set< int >::erase(std::set< int >::key_type const &)\n"
    "    std::set< int >::erase(std::set< int >::iterator)\n"
    "    std::set< int >::erase(std::set< int >::iterator,std::set< int >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_SetInt32_find(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::set< int >::key_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::set< int >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_find", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_find" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_find" "', argument " "2"" of type '" "std::set< int >::key_type""'");
  } 
  temp2 = static_cast< std::set< int >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->find((std::set< int >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::set< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_lower_bound(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::set< int >::key_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::set< int >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_lower_bound", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_lower_bound" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_lower_bound" "', argument " "2"" of type '" "std::set< int >::key_type""'");
  } 
  temp2 = static_cast< std::set< int >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->lower_bound((std::set< int >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::set< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_upper_bound(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::set< int >::key_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::set< int >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_upper_bound", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_upper_bound" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_upper_bound" "', argument " "2"" of type '" "std::set< int >::key_type""'");
  } 
  temp2 = static_cast< std::set< int >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->upper_bound((std::set< int >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::set< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_equal_range(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::set< int >::key_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  SwigValueWrapper< std::pair< std::set< int >::iterator,std::set< int >::iterator > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_equal_range", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_equal_range" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_equal_range" "', argument " "2"" of type '" "std::set< int >::key_type""'");
  } 
  temp2 = static_cast< std::set< int >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->equal_range((std::set< int >::key_type const &)*arg2);
  resultobj = PyTuple_New(2);
  PyTuple_SetItem(resultobj,0,SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::pair< std::set< int >::iterator,std::set< int >::iterator > & >(result).first),
      swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN));
  PyTuple_SetItem(resultobj,1,SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::pair< std::set< int >::iterator,std::set< int >::iterator > & >(result).second),
      swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetInt32_insert(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  std::set< int >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::set< int >::value_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"__x",  NULL 
  };
  SwigValueWrapper< std::pair< std::set< int >::iterator,bool > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:SetInt32_insert", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__setT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SetInt32_insert" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SetInt32_insert" "', argument " "2"" of type '" "std::set< int >::value_type""'");
  } 
  temp2 = static_cast< std::set< int >::value_type >(val2);
  arg2 = &temp2;
  result = (arg1)->insert((std::set< int >::value_type const &)*arg2);
  resultobj = PyTuple_New(2);
  PyTuple_SetItem(resultobj,0,SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::pair< std::set< int >::iterator,bool > & >(result).first),
      swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN));    
  PyTuple_SetItem(resultobj,1,SWIG_From_bool  (static_cast< const std::pair< std::set< int >::iterator,bool > & >(result).second));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_SetInt32(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::set< int > *arg1 = (std::set< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__setT_int_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SetInt32" "', argument " "1"" of type '" "std::set< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::set< int > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *SetInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__setT_int_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *SetInt32_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorBool_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_iterator" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_bool_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___nonzero__" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (bool)std_vector_Sl_bool_Sg____nonzero__((std::vector< bool > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___bool__" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (bool)std_vector_Sl_bool_Sg____bool__((std::vector< bool > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___len__" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = std_vector_Sl_bool_Sg____len__((std::vector< bool > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::difference_type arg2 ;
  std::vector< bool >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< bool,std::allocator< bool > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorBool___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___getslice__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool___getslice__" "', argument " "2"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool___getslice__" "', argument " "3"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::difference_type >(val3);
  try {
    result = (std::vector< bool,std::allocator< bool > > *)std_vector_Sl_bool_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_bool_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::difference_type arg2 ;
  std::vector< bool >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___setslice__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool___setslice__" "', argument " "2"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool___setslice__" "', argument " "3"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::difference_type >(val3);
  try {
    std_vector_Sl_bool_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::difference_type arg2 ;
  std::vector< bool >::difference_type arg3 ;
  std::vector< bool,std::allocator< bool > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___setslice__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool___setslice__" "', argument " "2"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool___setslice__" "', argument " "3"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::difference_type >(val3);
  {
    std::vector<bool,std::allocator< bool > > *ptr = (std::vector<bool,std::allocator< bool > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorBool___setslice__" "', argument " "4"" of type '" "std::vector< bool,std::allocator< bool > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorBool___setslice__" "', argument " "4"" of type '" "std::vector< bool,std::allocator< bool > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_bool_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< bool,std::allocator< bool > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorBool___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorBool___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector<bool,std::allocator< bool > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorBool___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorBool___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< bool >::__setslice__(std::vector< bool >::difference_type,std::vector< bool >::difference_type)\n"
    "    std::vector< bool >::__setslice__(std::vector< bool >::difference_type,std::vector< bool >::difference_type,std::vector< bool,std::allocator< bool > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorBool___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::difference_type arg2 ;
  std::vector< bool >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorBool___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___delslice__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool___delslice__" "', argument " "2"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool___delslice__" "', argument " "3"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::difference_type >(val3);
  try {
    std_vector_Sl_bool_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___delitem__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool___delitem__" "', argument " "2"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::difference_type >(val2);
  try {
    std_vector_Sl_bool_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< bool,std::allocator< bool > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___getitem__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< bool,std::allocator< bool > > *)std_vector_Sl_bool_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_bool_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< bool,std::allocator< bool > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___setitem__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector<bool,std::allocator< bool > > *ptr = (std::vector<bool,std::allocator< bool > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorBool___setitem__" "', argument " "3"" of type '" "std::vector< bool,std::allocator< bool > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorBool___setitem__" "', argument " "3"" of type '" "std::vector< bool,std::allocator< bool > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_bool_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< bool,std::allocator< bool > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___setitem__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_bool_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___delitem__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_bool_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorBool___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorBool___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorBool___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorBool___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< bool >::__delitem__(std::vector< bool >::difference_type)\n"
    "    std::vector< bool >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorBool___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< bool >::value_type result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___getitem__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool___getitem__" "', argument " "2"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::difference_type >(val2);
  try {
    result = (std::vector< bool >::value_type)std_vector_Sl_bool_Sg____getitem____SWIG_1(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorBool___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorBool___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorBool___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorBool___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< bool >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< bool >::__getitem__(std::vector< bool >::difference_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorBool___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::difference_type arg2 ;
  std::vector< bool >::value_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool___setitem__" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool___setitem__" "', argument " "2"" of type '" "std::vector< bool >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::difference_type >(val2);
  ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool___setitem__" "', argument " "3"" of type '" "std::vector< bool >::value_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::value_type >(val3);
  try {
    std_vector_Sl_bool_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorBool___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorBool___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector<bool,std::allocator< bool > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorBool___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorBool___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorBool___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< bool >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< bool,std::allocator< bool > > const &)\n"
    "    std::vector< bool >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< bool >::__setitem__(std::vector< bool >::difference_type,std::vector< bool >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorBool_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_pop" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  try {
    result = (std::vector< bool >::value_type)std_vector_Sl_bool_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::value_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorBool_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_append" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool_append" "', argument " "2"" of type '" "std::vector< bool >::value_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::value_type >(val2);
  std_vector_Sl_bool_Sg__append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorBool__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< bool > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< bool > *)new std::vector< bool >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_bool_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorBool__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< bool > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector<bool,std::allocator< bool > > *ptr = (std::vector<bool,std::allocator< bool > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorBool" "', argument " "1"" of type '" "std::vector< bool > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorBool" "', argument " "1"" of type '" "std::vector< bool > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< bool > *)new std::vector< bool >((std::vector< bool > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_bool_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_empty" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (bool)((std::vector< bool > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_size" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = ((std::vector< bool > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorBool_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_swap" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_bool_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorBool_swap" "', argument " "2"" of type '" "std::vector< bool > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorBool_swap" "', argument " "2"" of type '" "std::vector< bool > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< bool > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_begin" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< bool >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_end" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< bool >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_rbegin" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< bool >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_rend" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< bool >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_clear" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< bool > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_get_allocator" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = ((std::vector< bool > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< bool >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_bool_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorBool__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< bool > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorBool" "', argument " "1"" of type '" "std::vector< bool >::size_type""'");
  } 
  arg1 = static_cast< std::vector< bool >::size_type >(val1);
  result = (std::vector< bool > *)new std::vector< bool >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_bool_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_pop_back" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_resize" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool_resize" "', argument " "2"" of type '" "std::vector< bool >::size_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< bool >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_erase" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_erase" "', argument " "2"" of type '" "std::vector< bool >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< bool >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_erase" "', argument " "2"" of type '" "std::vector< bool >::iterator""'");
    }
  }
  result = std_vector_Sl_bool_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< bool >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::iterator arg2 ;
  std::vector< bool >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< bool >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_erase" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_erase" "', argument " "2"" of type '" "std::vector< bool >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< bool >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_erase" "', argument " "2"" of type '" "std::vector< bool >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_erase" "', argument " "3"" of type '" "std::vector< bool >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< bool >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_erase" "', argument " "3"" of type '" "std::vector< bool >::iterator""'");
    }
  }
  result = std_vector_Sl_bool_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< bool >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorBool_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorBool_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorBool_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorBool_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< bool >::erase(std::vector< bool >::iterator)\n"
    "    std::vector< bool >::erase(std::vector< bool >::iterator,std::vector< bool >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorBool__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool >::size_type arg1 ;
  std::vector< bool >::value_type arg2 ;
  size_t val1 ;
  int ecode1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  std::vector< bool > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorBool" "', argument " "1"" of type '" "std::vector< bool >::size_type""'");
  } 
  arg1 = static_cast< std::vector< bool >::size_type >(val1);
  ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorBool" "', argument " "2"" of type '" "std::vector< bool >::value_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::value_type >(val2);
  result = (std::vector< bool > *)new std::vector< bool >(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_bool_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorBool(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorBool", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorBool__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorBool__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorBool__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_VectorBool__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorBool'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< bool >::vector()\n"
    "    std::vector< bool >::vector(std::vector< bool > const &)\n"
    "    std::vector< bool >::vector(std::vector< bool >::size_type)\n"
    "    std::vector< bool >::vector(std::vector< bool >::size_type,std::vector< bool >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorBool_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::value_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorBool_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_push_back" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool_push_back" "', argument " "2"" of type '" "std::vector< bool >::value_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::value_type >(val2);
  (arg1)->push_back(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_front" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (std::vector< bool >::value_type)((std::vector< bool > const *)arg1)->front();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_back" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = (std::vector< bool >::value_type)((std::vector< bool > const *)arg1)->back();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::size_type arg2 ;
  std::vector< bool >::value_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorBool_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_assign" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool_assign" "', argument " "2"" of type '" "std::vector< bool >::size_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::size_type >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool_assign" "', argument " "3"" of type '" "std::vector< bool >::value_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::value_type >(val3);
  (arg1)->assign(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::size_type arg2 ;
  std::vector< bool >::value_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_resize" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool_resize" "', argument " "2"" of type '" "std::vector< bool >::size_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::size_type >(val2);
  ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool_resize" "', argument " "3"" of type '" "std::vector< bool >::value_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::value_type >(val3);
  (arg1)->resize(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorBool_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorBool_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorBool_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorBool_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< bool >::resize(std::vector< bool >::size_type)\n"
    "    std::vector< bool >::resize(std::vector< bool >::size_type,std::vector< bool >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorBool_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::iterator arg2 ;
  std::vector< bool >::value_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  bool val3 ;
  int ecode3 = 0 ;
  std::vector< bool >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_insert" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_insert" "', argument " "2"" of type '" "std::vector< bool >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< bool >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_insert" "', argument " "2"" of type '" "std::vector< bool >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool_insert" "', argument " "3"" of type '" "std::vector< bool >::value_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::value_type >(val3);
  result = std_vector_Sl_bool_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< bool >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::iterator arg2 ;
  std::vector< bool >::size_type arg3 ;
  std::vector< bool >::value_type arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_insert" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_insert" "', argument " "2"" of type '" "std::vector< bool >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< bool >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorBool_insert" "', argument " "2"" of type '" "std::vector< bool >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorBool_insert" "', argument " "3"" of type '" "std::vector< bool >::size_type""'");
  } 
  arg3 = static_cast< std::vector< bool >::size_type >(val3);
  ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VectorBool_insert" "', argument " "4"" of type '" "std::vector< bool >::value_type""'");
  } 
  arg4 = static_cast< std::vector< bool >::value_type >(val4);
  std_vector_Sl_bool_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorBool_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorBool_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector<bool,std::allocator< bool > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< bool >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_VectorBool_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorBool_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< bool >::insert(std::vector< bool >::iterator,std::vector< bool >::value_type)\n"
    "    std::vector< bool >::insert(std::vector< bool >::iterator,std::vector< bool >::size_type,std::vector< bool >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorBool_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  std::vector< bool >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorBool_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_reserve" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorBool_reserve" "', argument " "2"" of type '" "std::vector< bool >::size_type""'");
  } 
  arg2 = static_cast< std::vector< bool >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorBool_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorBool_capacity" "', argument " "1"" of type '" "std::vector< bool > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  result = ((std::vector< bool > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorBool(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< bool > *arg1 = (std::vector< bool > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_bool_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorBool" "', argument " "1"" of type '" "std::vector< bool > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< bool > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorBool_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_bool_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorBool_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorDouble_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_iterator" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_double_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___nonzero__" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (bool)std_vector_Sl_double_Sg____nonzero__((std::vector< double > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___bool__" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (bool)std_vector_Sl_double_Sg____bool__((std::vector< double > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___len__" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = std_vector_Sl_double_Sg____len__((std::vector< double > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::difference_type arg2 ;
  std::vector< double >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< double,std::allocator< double > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorDouble___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___getslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble___getslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< double >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble___getslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< double >::difference_type >(val3);
  try {
    result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::difference_type arg2 ;
  std::vector< double >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble___setslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< double >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< double >::difference_type >(val3);
  try {
    std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::difference_type arg2 ;
  std::vector< double >::difference_type arg3 ;
  std::vector< double,std::allocator< double > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble___setslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< double >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< double >::difference_type >(val3);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorDouble___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< double,std::allocator< double > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorDouble___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< double,std::allocator< double > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorDouble___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type)\n"
    "    std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type,std::vector< double,std::allocator< double > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::difference_type arg2 ;
  std::vector< double >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorDouble___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___delslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble___delslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< double >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble___delslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< double >::difference_type >(val3);
  try {
    std_vector_Sl_double_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___delitem__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< double >::difference_type >(val2);
  try {
    std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< double,std::allocator< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___getitem__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< double,std::allocator< double > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorDouble___setitem__" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble___setitem__" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_double_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_double_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___delitem__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_double_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorDouble___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorDouble___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< double >::__delitem__(std::vector< double >::difference_type)\n"
    "    std::vector< double >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< double >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___getitem__" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< double >::difference_type >(val2);
  try {
    result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_double(static_cast< double >(*result));
  (void)swig::container_owner<swig::traits<std::vector< double >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorDouble___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorDouble___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< double >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< double >::__getitem__(std::vector< double >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::difference_type arg2 ;
  std::vector< double >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< double >::value_type temp3 ;
  double val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< double >::difference_type >(val2);
  ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble___setitem__" "', argument " "3"" of type '" "std::vector< double >::value_type""'");
  } 
  temp3 = static_cast< std::vector< double >::value_type >(val3);
  arg3 = &temp3;
  try {
    std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorDouble___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorDouble___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorDouble___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< double,std::allocator< double > > const &)\n"
    "    std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< double >::__setitem__(std::vector< double >::difference_type,std::vector< double >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_pop" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  try {
    result = (std::vector< double >::value_type)std_vector_Sl_double_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< double >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorDouble_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_append" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_append" "', argument " "2"" of type '" "std::vector< double >::value_type""'");
  } 
  temp2 = static_cast< std::vector< double >::value_type >(val2);
  arg2 = &temp2;
  std_vector_Sl_double_Sg__append(arg1,(double const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< double > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< double > *)new std::vector< double >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< double > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorDouble" "', argument " "1"" of type '" "std::vector< double > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorDouble" "', argument " "1"" of type '" "std::vector< double > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< double > *)new std::vector< double >((std::vector< double > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_empty" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (bool)((std::vector< double > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_size" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = ((std::vector< double > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorDouble_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_swap" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_double_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorDouble_swap" "', argument " "2"" of type '" "std::vector< double > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_swap" "', argument " "2"" of type '" "std::vector< double > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< double > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_begin" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_end" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_rbegin" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_rend" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_clear" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< double > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_get_allocator" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = ((std::vector< double > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< double > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorDouble" "', argument " "1"" of type '" "std::vector< double >::size_type""'");
  } 
  arg1 = static_cast< std::vector< double >::size_type >(val1);
  result = (std::vector< double > *)new std::vector< double >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_pop_back" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_resize" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_resize" "', argument " "2"" of type '" "std::vector< double >::size_type""'");
  } 
  arg2 = static_cast< std::vector< double >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< double >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_erase" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
    }
  }
  result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::iterator arg2 ;
  std::vector< double >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< double >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_erase" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'");
    }
  }
  result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorDouble_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorDouble_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< double >::erase(std::vector< double >::iterator)\n"
    "    std::vector< double >::erase(std::vector< double >::iterator,std::vector< double >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double >::size_type arg1 ;
  std::vector< double >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< double >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  std::vector< double > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorDouble" "', argument " "1"" of type '" "std::vector< double >::size_type""'");
  } 
  arg1 = static_cast< std::vector< double >::size_type >(val1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorDouble" "', argument " "2"" of type '" "std::vector< double >::value_type""'");
  } 
  temp2 = static_cast< std::vector< double >::value_type >(val2);
  arg2 = &temp2;
  result = (std::vector< double > *)new std::vector< double >(arg1,(std::vector< double >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorDouble", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorDouble__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorDouble__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorDouble__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_VectorDouble__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorDouble'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< double >::vector()\n"
    "    std::vector< double >::vector(std::vector< double > const &)\n"
    "    std::vector< double >::vector(std::vector< double >::size_type)\n"
    "    std::vector< double >::vector(std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< double >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorDouble_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_push_back" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_push_back" "', argument " "2"" of type '" "std::vector< double >::value_type""'");
  } 
  temp2 = static_cast< std::vector< double >::value_type >(val2);
  arg2 = &temp2;
  (arg1)->push_back((std::vector< double >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_front" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (std::vector< double >::value_type *) &((std::vector< double > const *)arg1)->front();
  resultobj = SWIG_From_double(static_cast< double >(*result));
  (void)swig::container_owner<swig::traits<std::vector< double >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_back" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = (std::vector< double >::value_type *) &((std::vector< double > const *)arg1)->back();
  resultobj = SWIG_From_double(static_cast< double >(*result));
  (void)swig::container_owner<swig::traits<std::vector< double >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::size_type arg2 ;
  std::vector< double >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< double >::value_type temp3 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorDouble_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_assign" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_assign" "', argument " "2"" of type '" "std::vector< double >::size_type""'");
  } 
  arg2 = static_cast< std::vector< double >::size_type >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_assign" "', argument " "3"" of type '" "std::vector< double >::value_type""'");
  } 
  temp3 = static_cast< std::vector< double >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->assign(arg2,(std::vector< double >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::size_type arg2 ;
  std::vector< double >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< double >::value_type temp3 ;
  double val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_resize" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_resize" "', argument " "2"" of type '" "std::vector< double >::size_type""'");
  } 
  arg2 = static_cast< std::vector< double >::size_type >(val2);
  ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_resize" "', argument " "3"" of type '" "std::vector< double >::value_type""'");
  } 
  temp3 = static_cast< std::vector< double >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->resize(arg2,(std::vector< double >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorDouble_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorDouble_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< double >::resize(std::vector< double >::size_type)\n"
    "    std::vector< double >::resize(std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::iterator arg2 ;
  std::vector< double >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< double >::value_type temp3 ;
  double val3 ;
  int ecode3 = 0 ;
  std::vector< double >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_insert" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_insert" "', argument " "3"" of type '" "std::vector< double >::value_type""'");
  } 
  temp3 = static_cast< std::vector< double >::value_type >(val3);
  arg3 = &temp3;
  result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::iterator arg2 ;
  std::vector< double >::size_type arg3 ;
  std::vector< double >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  std::vector< double >::value_type temp4 ;
  double val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_insert" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_insert" "', argument " "3"" of type '" "std::vector< double >::size_type""'");
  } 
  arg3 = static_cast< std::vector< double >::size_type >(val3);
  ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VectorDouble_insert" "', argument " "4"" of type '" "std::vector< double >::value_type""'");
  } 
  temp4 = static_cast< std::vector< double >::value_type >(val4);
  arg4 = &temp4;
  std_vector_Sl_double_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(double const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorDouble_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_VectorDouble_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< double >::insert(std::vector< double >::iterator,std::vector< double >::value_type const &)\n"
    "    std::vector< double >::insert(std::vector< double >::iterator,std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  std::vector< double >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorDouble_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_reserve" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_reserve" "', argument " "2"" of type '" "std::vector< double >::size_type""'");
  } 
  arg2 = static_cast< std::vector< double >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_capacity" "', argument " "1"" of type '" "std::vector< double > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  result = ((std::vector< double > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorDouble(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_double_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorDouble" "', argument " "1"" of type '" "std::vector< double > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorDouble_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_double_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorDouble_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorInt16_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_iterator" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_short_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___nonzero__" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (bool)std_vector_Sl_short_Sg____nonzero__((std::vector< short > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___bool__" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (bool)std_vector_Sl_short_Sg____bool__((std::vector< short > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___len__" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = std_vector_Sl_short_Sg____len__((std::vector< short > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::difference_type arg2 ;
  std::vector< short >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< short,std::allocator< short > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt16___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___getslice__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16___getslice__" "', argument " "2"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< short >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16___getslice__" "', argument " "3"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< short >::difference_type >(val3);
  try {
    result = (std::vector< short,std::allocator< short > > *)std_vector_Sl_short_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_short_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::difference_type arg2 ;
  std::vector< short >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___setslice__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16___setslice__" "', argument " "2"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< short >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16___setslice__" "', argument " "3"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< short >::difference_type >(val3);
  try {
    std_vector_Sl_short_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::difference_type arg2 ;
  std::vector< short >::difference_type arg3 ;
  std::vector< short,std::allocator< short > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___setslice__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16___setslice__" "', argument " "2"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< short >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16___setslice__" "', argument " "3"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< short >::difference_type >(val3);
  {
    std::vector< short,std::allocator< short > > *ptr = (std::vector< short,std::allocator< short > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorInt16___setslice__" "', argument " "4"" of type '" "std::vector< short,std::allocator< short > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt16___setslice__" "', argument " "4"" of type '" "std::vector< short,std::allocator< short > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_short_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< short,std::allocator< short > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt16___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt16___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< short,std::allocator< short > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorInt16___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt16___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< short >::__setslice__(std::vector< short >::difference_type,std::vector< short >::difference_type)\n"
    "    std::vector< short >::__setslice__(std::vector< short >::difference_type,std::vector< short >::difference_type,std::vector< short,std::allocator< short > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt16___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::difference_type arg2 ;
  std::vector< short >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt16___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___delslice__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16___delslice__" "', argument " "2"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< short >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16___delslice__" "', argument " "3"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< short >::difference_type >(val3);
  try {
    std_vector_Sl_short_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___delitem__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16___delitem__" "', argument " "2"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< short >::difference_type >(val2);
  try {
    std_vector_Sl_short_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< short,std::allocator< short > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___getitem__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< short,std::allocator< short > > *)std_vector_Sl_short_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_short_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< short,std::allocator< short > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___setitem__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< short,std::allocator< short > > *ptr = (std::vector< short,std::allocator< short > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorInt16___setitem__" "', argument " "3"" of type '" "std::vector< short,std::allocator< short > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt16___setitem__" "', argument " "3"" of type '" "std::vector< short,std::allocator< short > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_short_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< short,std::allocator< short > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___setitem__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_short_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___delitem__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_short_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt16___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt16___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt16___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt16___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< short >::__delitem__(std::vector< short >::difference_type)\n"
    "    std::vector< short >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt16___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< short >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___getitem__" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16___getitem__" "', argument " "2"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< short >::difference_type >(val2);
  try {
    result = (std::vector< short >::value_type *) &std_vector_Sl_short_Sg____getitem____SWIG_1((std::vector< short > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_short(static_cast< short >(*result));
  (void)swig::container_owner<swig::traits<std::vector< short >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt16___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt16___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt16___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt16___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< short >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< short >::__getitem__(std::vector< short >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt16___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::difference_type arg2 ;
  std::vector< short >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< short >::value_type temp3 ;
  short val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16___setitem__" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16___setitem__" "', argument " "2"" of type '" "std::vector< short >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< short >::difference_type >(val2);
  ecode3 = SWIG_AsVal_short(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16___setitem__" "', argument " "3"" of type '" "std::vector< short >::value_type""'");
  } 
  temp3 = static_cast< std::vector< short >::value_type >(val3);
  arg3 = &temp3;
  try {
    std_vector_Sl_short_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(short const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt16___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt16___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< short,std::allocator< short > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorInt16___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_short(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt16___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt16___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< short >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< short,std::allocator< short > > const &)\n"
    "    std::vector< short >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< short >::__setitem__(std::vector< short >::difference_type,std::vector< short >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt16_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_pop" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  try {
    result = (std::vector< short >::value_type)std_vector_Sl_short_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_short(static_cast< short >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< short >::value_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt16_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_append" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16_append" "', argument " "2"" of type '" "std::vector< short >::value_type""'");
  } 
  temp2 = static_cast< std::vector< short >::value_type >(val2);
  arg2 = &temp2;
  std_vector_Sl_short_Sg__append(arg1,(short const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt16__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< short > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< short > *)new std::vector< short >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_short_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt16__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< short > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< short,std::allocator< short > > *ptr = (std::vector< short,std::allocator< short > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorInt16" "', argument " "1"" of type '" "std::vector< short > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorInt16" "', argument " "1"" of type '" "std::vector< short > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< short > *)new std::vector< short >((std::vector< short > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_short_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_empty" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (bool)((std::vector< short > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_size" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = ((std::vector< short > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt16_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_swap" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_short_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorInt16_swap" "', argument " "2"" of type '" "std::vector< short > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt16_swap" "', argument " "2"" of type '" "std::vector< short > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< short > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_begin" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< short >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_end" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< short >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_rbegin" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< short >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_rend" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< short >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_clear" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< short > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_get_allocator" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = ((std::vector< short > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< short >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_short_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt16__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< short > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorInt16" "', argument " "1"" of type '" "std::vector< short >::size_type""'");
  } 
  arg1 = static_cast< std::vector< short >::size_type >(val1);
  result = (std::vector< short > *)new std::vector< short >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_short_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_pop_back" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_resize" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16_resize" "', argument " "2"" of type '" "std::vector< short >::size_type""'");
  } 
  arg2 = static_cast< std::vector< short >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< short >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_erase" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_erase" "', argument " "2"" of type '" "std::vector< short >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< short >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_erase" "', argument " "2"" of type '" "std::vector< short >::iterator""'");
    }
  }
  result = std_vector_Sl_short_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< short >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::iterator arg2 ;
  std::vector< short >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< short >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_erase" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_erase" "', argument " "2"" of type '" "std::vector< short >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< short >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_erase" "', argument " "2"" of type '" "std::vector< short >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_erase" "', argument " "3"" of type '" "std::vector< short >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< short >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_erase" "', argument " "3"" of type '" "std::vector< short >::iterator""'");
    }
  }
  result = std_vector_Sl_short_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< short >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt16_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorInt16_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorInt16_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt16_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< short >::erase(std::vector< short >::iterator)\n"
    "    std::vector< short >::erase(std::vector< short >::iterator,std::vector< short >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorInt16__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short >::size_type arg1 ;
  std::vector< short >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< short >::value_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  std::vector< short > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorInt16" "', argument " "1"" of type '" "std::vector< short >::size_type""'");
  } 
  arg1 = static_cast< std::vector< short >::size_type >(val1);
  ecode2 = SWIG_AsVal_short(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorInt16" "', argument " "2"" of type '" "std::vector< short >::value_type""'");
  } 
  temp2 = static_cast< std::vector< short >::value_type >(val2);
  arg2 = &temp2;
  result = (std::vector< short > *)new std::vector< short >(arg1,(std::vector< short >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_short_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt16(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorInt16", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorInt16__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorInt16__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorInt16__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_short(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_VectorInt16__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorInt16'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< short >::vector()\n"
    "    std::vector< short >::vector(std::vector< short > const &)\n"
    "    std::vector< short >::vector(std::vector< short >::size_type)\n"
    "    std::vector< short >::vector(std::vector< short >::size_type,std::vector< short >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt16_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< short >::value_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt16_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_push_back" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16_push_back" "', argument " "2"" of type '" "std::vector< short >::value_type""'");
  } 
  temp2 = static_cast< std::vector< short >::value_type >(val2);
  arg2 = &temp2;
  (arg1)->push_back((std::vector< short >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_front" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (std::vector< short >::value_type *) &((std::vector< short > const *)arg1)->front();
  resultobj = SWIG_From_short(static_cast< short >(*result));
  (void)swig::container_owner<swig::traits<std::vector< short >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_back" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = (std::vector< short >::value_type *) &((std::vector< short > const *)arg1)->back();
  resultobj = SWIG_From_short(static_cast< short >(*result));
  (void)swig::container_owner<swig::traits<std::vector< short >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::size_type arg2 ;
  std::vector< short >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< short >::value_type temp3 ;
  short val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt16_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_assign" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16_assign" "', argument " "2"" of type '" "std::vector< short >::size_type""'");
  } 
  arg2 = static_cast< std::vector< short >::size_type >(val2);
  ecode3 = SWIG_AsVal_short(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16_assign" "', argument " "3"" of type '" "std::vector< short >::value_type""'");
  } 
  temp3 = static_cast< std::vector< short >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->assign(arg2,(std::vector< short >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::size_type arg2 ;
  std::vector< short >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< short >::value_type temp3 ;
  short val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_resize" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16_resize" "', argument " "2"" of type '" "std::vector< short >::size_type""'");
  } 
  arg2 = static_cast< std::vector< short >::size_type >(val2);
  ecode3 = SWIG_AsVal_short(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16_resize" "', argument " "3"" of type '" "std::vector< short >::value_type""'");
  } 
  temp3 = static_cast< std::vector< short >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->resize(arg2,(std::vector< short >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt16_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt16_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_short(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt16_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt16_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< short >::resize(std::vector< short >::size_type)\n"
    "    std::vector< short >::resize(std::vector< short >::size_type,std::vector< short >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt16_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::iterator arg2 ;
  std::vector< short >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< short >::value_type temp3 ;
  short val3 ;
  int ecode3 = 0 ;
  std::vector< short >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_insert" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_insert" "', argument " "2"" of type '" "std::vector< short >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< short >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_insert" "', argument " "2"" of type '" "std::vector< short >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_short(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16_insert" "', argument " "3"" of type '" "std::vector< short >::value_type""'");
  } 
  temp3 = static_cast< std::vector< short >::value_type >(val3);
  arg3 = &temp3;
  result = std_vector_Sl_short_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(short const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< short >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::iterator arg2 ;
  std::vector< short >::size_type arg3 ;
  std::vector< short >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  std::vector< short >::value_type temp4 ;
  short val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_insert" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_insert" "', argument " "2"" of type '" "std::vector< short >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< short >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt16_insert" "', argument " "2"" of type '" "std::vector< short >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt16_insert" "', argument " "3"" of type '" "std::vector< short >::size_type""'");
  } 
  arg3 = static_cast< std::vector< short >::size_type >(val3);
  ecode4 = SWIG_AsVal_short(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VectorInt16_insert" "', argument " "4"" of type '" "std::vector< short >::value_type""'");
  } 
  temp4 = static_cast< std::vector< short >::value_type >(val4);
  arg4 = &temp4;
  std_vector_Sl_short_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(short const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt16_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_short(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt16_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< short,std::allocator< short > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< short >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_short(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_VectorInt16_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt16_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< short >::insert(std::vector< short >::iterator,std::vector< short >::value_type const &)\n"
    "    std::vector< short >::insert(std::vector< short >::iterator,std::vector< short >::size_type,std::vector< short >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt16_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  std::vector< short >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt16_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_reserve" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt16_reserve" "', argument " "2"" of type '" "std::vector< short >::size_type""'");
  } 
  arg2 = static_cast< std::vector< short >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt16_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< short >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt16_capacity" "', argument " "1"" of type '" "std::vector< short > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  result = ((std::vector< short > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorInt16(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< short > *arg1 = (std::vector< short > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_short_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorInt16" "', argument " "1"" of type '" "std::vector< short > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< short > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorInt16_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_short_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorInt16_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorInt32_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_iterator" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_int_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___nonzero__" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (bool)std_vector_Sl_int_Sg____nonzero__((std::vector< int > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___bool__" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (bool)std_vector_Sl_int_Sg____bool__((std::vector< int > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___len__" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = std_vector_Sl_int_Sg____len__((std::vector< int > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::difference_type arg2 ;
  std::vector< int >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< int,std::allocator< int > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt32___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___getslice__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32___getslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32___getslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< int >::difference_type >(val3);
  try {
    result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::difference_type arg2 ;
  std::vector< int >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32___setslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< int >::difference_type >(val3);
  try {
    std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::difference_type arg2 ;
  std::vector< int >::difference_type arg3 ;
  std::vector< int,std::allocator< int > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32___setslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< int >::difference_type >(val3);
  {
    std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorInt32___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt32___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< int,std::allocator< int > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt32___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt32___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< int,std::allocator< int > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorInt32___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt32___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type)\n"
    "    std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type,std::vector< int,std::allocator< int > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt32___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::difference_type arg2 ;
  std::vector< int >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt32___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___delslice__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32___delslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32___delslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< int >::difference_type >(val3);
  try {
    std_vector_Sl_int_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___delitem__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32___delitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< int >::difference_type >(val2);
  try {
    std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< int,std::allocator< int > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___getitem__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< int,std::allocator< int > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorInt32___setitem__" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt32___setitem__" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_int_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< int,std::allocator< int > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_int_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___delitem__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_int_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt32___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt32___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt32___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt32___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< int >::__delitem__(std::vector< int >::difference_type)\n"
    "    std::vector< int >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt32___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< int >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___getitem__" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32___getitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< int >::difference_type >(val2);
  try {
    result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_int(static_cast< int >(*result));
  (void)swig::container_owner<swig::traits<std::vector< int >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt32___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt32___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt32___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt32___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< int >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< int >::__getitem__(std::vector< int >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt32___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::difference_type arg2 ;
  std::vector< int >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< int >::value_type temp3 ;
  int val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32___setitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32___setitem__" "', argument " "3"" of type '" "std::vector< int >::value_type""'");
  } 
  temp3 = static_cast< std::vector< int >::value_type >(val3);
  arg3 = &temp3;
  try {
    std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt32___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt32___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< int,std::allocator< int > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorInt32___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(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_VectorInt32___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt32___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< int,std::allocator< int > > const &)\n"
    "    std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< int >::__setitem__(std::vector< int >::difference_type,std::vector< int >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt32_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_pop" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  try {
    result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< int >::value_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt32_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_append" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32_append" "', argument " "2"" of type '" "std::vector< int >::value_type""'");
  } 
  temp2 = static_cast< std::vector< int >::value_type >(val2);
  arg2 = &temp2;
  std_vector_Sl_int_Sg__append(arg1,(int const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< int > *)new std::vector< int >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorInt32" "', argument " "1"" of type '" "std::vector< int > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorInt32" "', argument " "1"" of type '" "std::vector< int > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< int > *)new std::vector< int >((std::vector< int > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_empty" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (bool)((std::vector< int > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_size" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = ((std::vector< int > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt32_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_swap" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_int_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorInt32_swap" "', argument " "2"" of type '" "std::vector< int > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt32_swap" "', argument " "2"" of type '" "std::vector< int > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< int > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_begin" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_end" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_rbegin" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_rend" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_clear" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< int > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_get_allocator" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = ((std::vector< int > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorInt32" "', argument " "1"" of type '" "std::vector< int >::size_type""'");
  } 
  arg1 = static_cast< std::vector< int >::size_type >(val1);
  result = (std::vector< int > *)new std::vector< int >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_pop_back" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_resize" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32_resize" "', argument " "2"" of type '" "std::vector< int >::size_type""'");
  } 
  arg2 = static_cast< std::vector< int >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< int >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_erase" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
    }
  }
  result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::iterator arg2 ;
  std::vector< int >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< int >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_erase" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'");
    }
  }
  result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt32_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorInt32_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorInt32_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt32_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< int >::erase(std::vector< int >::iterator)\n"
    "    std::vector< int >::erase(std::vector< int >::iterator,std::vector< int >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorInt32__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int >::size_type arg1 ;
  std::vector< int >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< int >::value_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  std::vector< int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorInt32" "', argument " "1"" of type '" "std::vector< int >::size_type""'");
  } 
  arg1 = static_cast< std::vector< int >::size_type >(val1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorInt32" "', argument " "2"" of type '" "std::vector< int >::value_type""'");
  } 
  temp2 = static_cast< std::vector< int >::value_type >(val2);
  arg2 = &temp2;
  result = (std::vector< int > *)new std::vector< int >(arg1,(std::vector< int >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt32(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorInt32", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorInt32__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorInt32__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorInt32__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_VectorInt32__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorInt32'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< int >::vector()\n"
    "    std::vector< int >::vector(std::vector< int > const &)\n"
    "    std::vector< int >::vector(std::vector< int >::size_type)\n"
    "    std::vector< int >::vector(std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt32_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< int >::value_type temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt32_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_push_back" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32_push_back" "', argument " "2"" of type '" "std::vector< int >::value_type""'");
  } 
  temp2 = static_cast< std::vector< int >::value_type >(val2);
  arg2 = &temp2;
  (arg1)->push_back((std::vector< int >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_front" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (std::vector< int >::value_type *) &((std::vector< int > const *)arg1)->front();
  resultobj = SWIG_From_int(static_cast< int >(*result));
  (void)swig::container_owner<swig::traits<std::vector< int >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_back" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = (std::vector< int >::value_type *) &((std::vector< int > const *)arg1)->back();
  resultobj = SWIG_From_int(static_cast< int >(*result));
  (void)swig::container_owner<swig::traits<std::vector< int >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::size_type arg2 ;
  std::vector< int >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< int >::value_type temp3 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt32_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_assign" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32_assign" "', argument " "2"" of type '" "std::vector< int >::size_type""'");
  } 
  arg2 = static_cast< std::vector< int >::size_type >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32_assign" "', argument " "3"" of type '" "std::vector< int >::value_type""'");
  } 
  temp3 = static_cast< std::vector< int >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->assign(arg2,(std::vector< int >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::size_type arg2 ;
  std::vector< int >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< int >::value_type temp3 ;
  int val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_resize" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32_resize" "', argument " "2"" of type '" "std::vector< int >::size_type""'");
  } 
  arg2 = static_cast< std::vector< int >::size_type >(val2);
  ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32_resize" "', argument " "3"" of type '" "std::vector< int >::value_type""'");
  } 
  temp3 = static_cast< std::vector< int >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->resize(arg2,(std::vector< int >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt32_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt32_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(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_VectorInt32_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt32_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< int >::resize(std::vector< int >::size_type)\n"
    "    std::vector< int >::resize(std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt32_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::iterator arg2 ;
  std::vector< int >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< int >::value_type temp3 ;
  int val3 ;
  int ecode3 = 0 ;
  std::vector< int >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_insert" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32_insert" "', argument " "3"" of type '" "std::vector< int >::value_type""'");
  } 
  temp3 = static_cast< std::vector< int >::value_type >(val3);
  arg3 = &temp3;
  result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::iterator arg2 ;
  std::vector< int >::size_type arg3 ;
  std::vector< int >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  std::vector< int >::value_type temp4 ;
  int val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_insert" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt32_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt32_insert" "', argument " "3"" of type '" "std::vector< int >::size_type""'");
  } 
  arg3 = static_cast< std::vector< int >::size_type >(val3);
  ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VectorInt32_insert" "', argument " "4"" of type '" "std::vector< int >::value_type""'");
  } 
  temp4 = static_cast< std::vector< int >::value_type >(val4);
  arg4 = &temp4;
  std_vector_Sl_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(int const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt32_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt32_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(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_VectorInt32_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt32_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< int >::insert(std::vector< int >::iterator,std::vector< int >::value_type const &)\n"
    "    std::vector< int >::insert(std::vector< int >::iterator,std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt32_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  std::vector< int >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt32_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_reserve" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt32_reserve" "', argument " "2"" of type '" "std::vector< int >::size_type""'");
  } 
  arg2 = static_cast< std::vector< int >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt32_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt32_capacity" "', argument " "1"" of type '" "std::vector< int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  result = ((std::vector< int > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorInt32(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorInt32" "', argument " "1"" of type '" "std::vector< int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_int_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorInt32_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorInt64_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_iterator" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_long_SS_long_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___nonzero__" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (bool)std_vector_Sl_long_SS_long_Sg____nonzero__((std::vector< long long > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___bool__" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (bool)std_vector_Sl_long_SS_long_Sg____bool__((std::vector< long long > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___len__" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = std_vector_Sl_long_SS_long_Sg____len__((std::vector< long long > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::difference_type arg2 ;
  std::vector< long long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< long long,std::allocator< long long > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt64___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___getslice__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64___getslice__" "', argument " "2"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64___getslice__" "', argument " "3"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< long long >::difference_type >(val3);
  try {
    result = (std::vector< long long,std::allocator< long long > > *)std_vector_Sl_long_SS_long_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::difference_type arg2 ;
  std::vector< long long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___setslice__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64___setslice__" "', argument " "2"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64___setslice__" "', argument " "3"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< long long >::difference_type >(val3);
  try {
    std_vector_Sl_long_SS_long_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::difference_type arg2 ;
  std::vector< long long >::difference_type arg3 ;
  std::vector< long long,std::allocator< long long > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___setslice__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64___setslice__" "', argument " "2"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64___setslice__" "', argument " "3"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< long long >::difference_type >(val3);
  {
    std::vector< long long,std::allocator< long long > > *ptr = (std::vector< long long,std::allocator< long long > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorInt64___setslice__" "', argument " "4"" of type '" "std::vector< long long,std::allocator< long long > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt64___setslice__" "', argument " "4"" of type '" "std::vector< long long,std::allocator< long long > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_long_SS_long_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< long long,std::allocator< long long > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt64___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt64___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< long long,std::allocator< long long > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorInt64___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt64___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< long long >::__setslice__(std::vector< long long >::difference_type,std::vector< long long >::difference_type)\n"
    "    std::vector< long long >::__setslice__(std::vector< long long >::difference_type,std::vector< long long >::difference_type,std::vector< long long,std::allocator< long long > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt64___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::difference_type arg2 ;
  std::vector< long long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt64___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___delslice__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64___delslice__" "', argument " "2"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64___delslice__" "', argument " "3"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< long long >::difference_type >(val3);
  try {
    std_vector_Sl_long_SS_long_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___delitem__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64___delitem__" "', argument " "2"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::difference_type >(val2);
  try {
    std_vector_Sl_long_SS_long_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< long long,std::allocator< long long > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___getitem__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< long long,std::allocator< long long > > *)std_vector_Sl_long_SS_long_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< long long,std::allocator< long long > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___setitem__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< long long,std::allocator< long long > > *ptr = (std::vector< long long,std::allocator< long long > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorInt64___setitem__" "', argument " "3"" of type '" "std::vector< long long,std::allocator< long long > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt64___setitem__" "', argument " "3"" of type '" "std::vector< long long,std::allocator< long long > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_long_SS_long_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< long long,std::allocator< long long > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___setitem__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_long_SS_long_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___delitem__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_long_SS_long_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt64___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt64___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt64___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt64___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< long long >::__delitem__(std::vector< long long >::difference_type)\n"
    "    std::vector< long long >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt64___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< long long >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___getitem__" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64___getitem__" "', argument " "2"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::difference_type >(val2);
  try {
    result = (std::vector< long long >::value_type *) &std_vector_Sl_long_SS_long_Sg____getitem____SWIG_1((std::vector< long long > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< long long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt64___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt64___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt64___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt64___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< long long >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< long long >::__getitem__(std::vector< long long >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt64___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::difference_type arg2 ;
  std::vector< long long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< long long >::value_type temp3 ;
  long long val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64___setitem__" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64___setitem__" "', argument " "2"" of type '" "std::vector< long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64___setitem__" "', argument " "3"" of type '" "std::vector< long long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< long long >::value_type >(val3);
  arg3 = &temp3;
  try {
    std_vector_Sl_long_SS_long_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(long long const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt64___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorInt64___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< long long,std::allocator< long long > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorInt64___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt64___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt64___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< long long >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< long long,std::allocator< long long > > const &)\n"
    "    std::vector< long long >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< long long >::__setitem__(std::vector< long long >::difference_type,std::vector< long long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt64_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_pop" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  try {
    result = (std::vector< long long >::value_type)std_vector_Sl_long_SS_long_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< long long >::value_type temp2 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt64_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_append" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64_append" "', argument " "2"" of type '" "std::vector< long long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< long long >::value_type >(val2);
  arg2 = &temp2;
  std_vector_Sl_long_SS_long_Sg__append(arg1,(long long const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< long long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< long long > *)new std::vector< long long >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< long long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< long long,std::allocator< long long > > *ptr = (std::vector< long long,std::allocator< long long > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorInt64" "', argument " "1"" of type '" "std::vector< long long > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorInt64" "', argument " "1"" of type '" "std::vector< long long > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< long long > *)new std::vector< long long >((std::vector< long long > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_long_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_empty" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (bool)((std::vector< long long > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_size" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = ((std::vector< long long > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt64_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_swap" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_long_long_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorInt64_swap" "', argument " "2"" of type '" "std::vector< long long > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorInt64_swap" "', argument " "2"" of type '" "std::vector< long long > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< long long > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_begin" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_end" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_rbegin" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long long >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_rend" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long long >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_clear" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< long long > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_get_allocator" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = ((std::vector< long long > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< long long >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_long_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< long long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorInt64" "', argument " "1"" of type '" "std::vector< long long >::size_type""'");
  } 
  arg1 = static_cast< std::vector< long long >::size_type >(val1);
  result = (std::vector< long long > *)new std::vector< long long >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_pop_back" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_resize" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64_resize" "', argument " "2"" of type '" "std::vector< long long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< long long >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_erase" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_erase" "', argument " "2"" of type '" "std::vector< long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_erase" "', argument " "2"" of type '" "std::vector< long long >::iterator""'");
    }
  }
  result = std_vector_Sl_long_SS_long_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::iterator arg2 ;
  std::vector< long long >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< long long >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_erase" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_erase" "', argument " "2"" of type '" "std::vector< long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_erase" "', argument " "2"" of type '" "std::vector< long long >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_erase" "', argument " "3"" of type '" "std::vector< long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_erase" "', argument " "3"" of type '" "std::vector< long long >::iterator""'");
    }
  }
  result = std_vector_Sl_long_SS_long_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt64_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorInt64_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorInt64_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt64_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< long long >::erase(std::vector< long long >::iterator)\n"
    "    std::vector< long long >::erase(std::vector< long long >::iterator,std::vector< long long >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorInt64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long >::size_type arg1 ;
  std::vector< long long >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< long long >::value_type temp2 ;
  long long val2 ;
  int ecode2 = 0 ;
  std::vector< long long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorInt64" "', argument " "1"" of type '" "std::vector< long long >::size_type""'");
  } 
  arg1 = static_cast< std::vector< long long >::size_type >(val1);
  ecode2 = SWIG_AsVal_long_SS_long(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorInt64" "', argument " "2"" of type '" "std::vector< long long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< long long >::value_type >(val2);
  arg2 = &temp2;
  result = (std::vector< long long > *)new std::vector< long long >(arg1,(std::vector< long long >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorInt64(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorInt64", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorInt64__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorInt64__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorInt64__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_VectorInt64__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorInt64'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< long long >::vector()\n"
    "    std::vector< long long >::vector(std::vector< long long > const &)\n"
    "    std::vector< long long >::vector(std::vector< long long >::size_type)\n"
    "    std::vector< long long >::vector(std::vector< long long >::size_type,std::vector< long long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt64_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< long long >::value_type temp2 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt64_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_push_back" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64_push_back" "', argument " "2"" of type '" "std::vector< long long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< long long >::value_type >(val2);
  arg2 = &temp2;
  (arg1)->push_back((std::vector< long long >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_front" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (std::vector< long long >::value_type *) &((std::vector< long long > const *)arg1)->front();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< long long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_back" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = (std::vector< long long >::value_type *) &((std::vector< long long > const *)arg1)->back();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< long long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::size_type arg2 ;
  std::vector< long long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< long long >::value_type temp3 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorInt64_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_assign" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64_assign" "', argument " "2"" of type '" "std::vector< long long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::size_type >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64_assign" "', argument " "3"" of type '" "std::vector< long long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< long long >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->assign(arg2,(std::vector< long long >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::size_type arg2 ;
  std::vector< long long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< long long >::value_type temp3 ;
  long long val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_resize" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64_resize" "', argument " "2"" of type '" "std::vector< long long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::size_type >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64_resize" "', argument " "3"" of type '" "std::vector< long long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< long long >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->resize(arg2,(std::vector< long long >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt64_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorInt64_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt64_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt64_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< long long >::resize(std::vector< long long >::size_type)\n"
    "    std::vector< long long >::resize(std::vector< long long >::size_type,std::vector< long long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt64_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::iterator arg2 ;
  std::vector< long long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< long long >::value_type temp3 ;
  long long val3 ;
  int ecode3 = 0 ;
  std::vector< long long >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_insert" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_insert" "', argument " "2"" of type '" "std::vector< long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_insert" "', argument " "2"" of type '" "std::vector< long long >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_long_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64_insert" "', argument " "3"" of type '" "std::vector< long long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< long long >::value_type >(val3);
  arg3 = &temp3;
  result = std_vector_Sl_long_SS_long_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(long long const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::iterator arg2 ;
  std::vector< long long >::size_type arg3 ;
  std::vector< long long >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  std::vector< long long >::value_type temp4 ;
  long long val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_insert" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_insert" "', argument " "2"" of type '" "std::vector< long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt64_insert" "', argument " "2"" of type '" "std::vector< long long >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorInt64_insert" "', argument " "3"" of type '" "std::vector< long long >::size_type""'");
  } 
  arg3 = static_cast< std::vector< long long >::size_type >(val3);
  ecode4 = SWIG_AsVal_long_SS_long(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VectorInt64_insert" "', argument " "4"" of type '" "std::vector< long long >::value_type""'");
  } 
  temp4 = static_cast< std::vector< long long >::value_type >(val4);
  arg4 = &temp4;
  std_vector_Sl_long_SS_long_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(long long const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt64_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorInt64_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< long long,std::allocator< long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long long >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_VectorInt64_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt64_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< long long >::insert(std::vector< long long >::iterator,std::vector< long long >::value_type const &)\n"
    "    std::vector< long long >::insert(std::vector< long long >::iterator,std::vector< long long >::size_type,std::vector< long long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorInt64_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  std::vector< long long >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorInt64_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_reserve" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorInt64_reserve" "', argument " "2"" of type '" "std::vector< long long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< long long >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorInt64_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< long long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorInt64_capacity" "', argument " "1"" of type '" "std::vector< long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  result = ((std::vector< long long > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorInt64(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< long long > *arg1 = (std::vector< long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_long_long_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorInt64" "', argument " "1"" of type '" "std::vector< long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< long long > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorInt64_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_long_long_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorInt64_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorUint32_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_iterator" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_unsigned_SS_int_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___nonzero__" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (bool)std_vector_Sl_unsigned_SS_int_Sg____nonzero__((std::vector< unsigned int > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___bool__" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (bool)std_vector_Sl_unsigned_SS_int_Sg____bool__((std::vector< unsigned int > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___len__" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = std_vector_Sl_unsigned_SS_int_Sg____len__((std::vector< unsigned int > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::difference_type arg2 ;
  std::vector< unsigned int >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint32___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___getslice__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32___getslice__" "', argument " "2"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32___getslice__" "', argument " "3"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3);
  try {
    result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::difference_type arg2 ;
  std::vector< unsigned int >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___setslice__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32___setslice__" "', argument " "2"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32___setslice__" "', argument " "3"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3);
  try {
    std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::difference_type arg2 ;
  std::vector< unsigned int >::difference_type arg3 ;
  std::vector< unsigned int,std::allocator< unsigned int > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___setslice__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32___setslice__" "', argument " "2"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32___setslice__" "', argument " "3"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3);
  {
    std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorUint32___setslice__" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32___setslice__" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint32___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorUint32___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned int >::__setslice__(std::vector< unsigned int >::difference_type,std::vector< unsigned int >::difference_type)\n"
    "    std::vector< unsigned int >::__setslice__(std::vector< unsigned int >::difference_type,std::vector< unsigned int >::difference_type,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::difference_type arg2 ;
  std::vector< unsigned int >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint32___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___delslice__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32___delslice__" "', argument " "2"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32___delslice__" "', argument " "3"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3);
  try {
    std_vector_Sl_unsigned_SS_int_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___delitem__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32___delitem__" "', argument " "2"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2);
  try {
    std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___getitem__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< unsigned int,std::allocator< unsigned int > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___setitem__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorUint32___setitem__" "', argument " "3"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32___setitem__" "', argument " "3"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___setitem__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___delitem__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint32___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint32___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned int >::__delitem__(std::vector< unsigned int >::difference_type)\n"
    "    std::vector< unsigned int >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned int >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___getitem__" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32___getitem__" "', argument " "2"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2);
  try {
    result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned int >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint32___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint32___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned int >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< unsigned int >::__getitem__(std::vector< unsigned int >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::difference_type arg2 ;
  std::vector< unsigned int >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned int >::value_type temp3 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32___setitem__" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32___setitem__" "', argument " "2"" of type '" "std::vector< unsigned int >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32___setitem__" "', argument " "3"" of type '" "std::vector< unsigned int >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned int >::value_type >(val3);
  arg3 = &temp3;
  try {
    std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint32___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorUint32___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint32___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n"
    "    std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type,std::vector< unsigned int >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_pop" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  try {
    result = (std::vector< unsigned int >::value_type)std_vector_Sl_unsigned_SS_int_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned int >::value_type temp2 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint32_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_append" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_append" "', argument " "2"" of type '" "std::vector< unsigned int >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned int >::value_type >(val2);
  arg2 = &temp2;
  std_vector_Sl_unsigned_SS_int_Sg__append(arg1,(unsigned int const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< unsigned int > *)new std::vector< unsigned int >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< unsigned int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorUint32" "', argument " "1"" of type '" "std::vector< unsigned int > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorUint32" "', argument " "1"" of type '" "std::vector< unsigned int > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< unsigned int > *)new std::vector< unsigned int >((std::vector< unsigned int > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_empty" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (bool)((std::vector< unsigned int > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_size" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = ((std::vector< unsigned int > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint32_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_swap" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_unsigned_int_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorUint32_swap" "', argument " "2"" of type '" "std::vector< unsigned int > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_swap" "', argument " "2"" of type '" "std::vector< unsigned int > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< unsigned int > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_begin" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_end" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_rbegin" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_rend" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_clear" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< unsigned int > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_get_allocator" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = ((std::vector< unsigned int > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< unsigned int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUint32" "', argument " "1"" of type '" "std::vector< unsigned int >::size_type""'");
  } 
  arg1 = static_cast< std::vector< unsigned int >::size_type >(val1);
  result = (std::vector< unsigned int > *)new std::vector< unsigned int >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_pop_back" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_resize" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_resize" "', argument " "2"" of type '" "std::vector< unsigned int >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< unsigned int >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_erase" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_erase" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_erase" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'");
    }
  }
  result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::iterator arg2 ;
  std::vector< unsigned int >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< unsigned int >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_erase" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_erase" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_erase" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_erase" "', argument " "3"" of type '" "std::vector< unsigned int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_erase" "', argument " "3"" of type '" "std::vector< unsigned int >::iterator""'");
    }
  }
  result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorUint32_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorUint32_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned int >::erase(std::vector< unsigned int >::iterator)\n"
    "    std::vector< unsigned int >::erase(std::vector< unsigned int >::iterator,std::vector< unsigned int >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int >::size_type arg1 ;
  std::vector< unsigned int >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< unsigned int >::value_type temp2 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned int > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUint32" "', argument " "1"" of type '" "std::vector< unsigned int >::size_type""'");
  } 
  arg1 = static_cast< std::vector< unsigned int >::size_type >(val1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorUint32" "', argument " "2"" of type '" "std::vector< unsigned int >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned int >::value_type >(val2);
  arg2 = &temp2;
  result = (std::vector< unsigned int > *)new std::vector< unsigned int >(arg1,(std::vector< unsigned int >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUint32", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorUint32__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorUint32__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorUint32__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_VectorUint32__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorUint32'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned int >::vector()\n"
    "    std::vector< unsigned int >::vector(std::vector< unsigned int > const &)\n"
    "    std::vector< unsigned int >::vector(std::vector< unsigned int >::size_type)\n"
    "    std::vector< unsigned int >::vector(std::vector< unsigned int >::size_type,std::vector< unsigned int >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned int >::value_type temp2 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint32_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_push_back" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_push_back" "', argument " "2"" of type '" "std::vector< unsigned int >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned int >::value_type >(val2);
  arg2 = &temp2;
  (arg1)->push_back((std::vector< unsigned int >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_front" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (std::vector< unsigned int >::value_type *) &((std::vector< unsigned int > const *)arg1)->front();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned int >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_back" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = (std::vector< unsigned int >::value_type *) &((std::vector< unsigned int > const *)arg1)->back();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned int >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::size_type arg2 ;
  std::vector< unsigned int >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned int >::value_type temp3 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint32_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_assign" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_assign" "', argument " "2"" of type '" "std::vector< unsigned int >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::size_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_assign" "', argument " "3"" of type '" "std::vector< unsigned int >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned int >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->assign(arg2,(std::vector< unsigned int >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::size_type arg2 ;
  std::vector< unsigned int >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned int >::value_type temp3 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_resize" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_resize" "', argument " "2"" of type '" "std::vector< unsigned int >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::size_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_resize" "', argument " "3"" of type '" "std::vector< unsigned int >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned int >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->resize(arg2,(std::vector< unsigned int >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint32_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint32_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned int >::resize(std::vector< unsigned int >::size_type)\n"
    "    std::vector< unsigned int >::resize(std::vector< unsigned int >::size_type,std::vector< unsigned int >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::iterator arg2 ;
  std::vector< unsigned int >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< unsigned int >::value_type temp3 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  std::vector< unsigned int >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_insert" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_insert" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_insert" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_insert" "', argument " "3"" of type '" "std::vector< unsigned int >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned int >::value_type >(val3);
  arg3 = &temp3;
  result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::iterator arg2 ;
  std::vector< unsigned int >::size_type arg3 ;
  std::vector< unsigned int >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  std::vector< unsigned int >::value_type temp4 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_insert" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_insert" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_insert" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_insert" "', argument " "3"" of type '" "std::vector< unsigned int >::size_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned int >::size_type >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VectorUint32_insert" "', argument " "4"" of type '" "std::vector< unsigned int >::value_type""'");
  } 
  temp4 = static_cast< std::vector< unsigned int >::value_type >(val4);
  arg4 = &temp4;
  std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned int const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint32_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned int >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_VectorUint32_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned int >::insert(std::vector< unsigned int >::iterator,std::vector< unsigned int >::value_type const &)\n"
    "    std::vector< unsigned int >::insert(std::vector< unsigned int >::iterator,std::vector< unsigned int >::size_type,std::vector< unsigned int >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  std::vector< unsigned int >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint32_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_reserve" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_reserve" "', argument " "2"" of type '" "std::vector< unsigned int >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned int >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned int >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_capacity" "', argument " "1"" of type '" "std::vector< unsigned int > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  result = ((std::vector< unsigned int > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorUint32(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorUint32" "', argument " "1"" of type '" "std::vector< unsigned int > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorUint32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_unsigned_int_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorUint32_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorUint64_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_iterator" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_unsigned_SS_long_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___nonzero__" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (bool)std_vector_Sl_unsigned_SS_long_Sg____nonzero__((std::vector< unsigned long > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___bool__" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (bool)std_vector_Sl_unsigned_SS_long_Sg____bool__((std::vector< unsigned long > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___len__" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = std_vector_Sl_unsigned_SS_long_Sg____len__((std::vector< unsigned long > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::difference_type arg2 ;
  std::vector< unsigned long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< unsigned long,std::allocator< unsigned long > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint64___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___getslice__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64___getslice__" "', argument " "2"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64___getslice__" "', argument " "3"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long >::difference_type >(val3);
  try {
    result = (std::vector< unsigned long,std::allocator< unsigned long > > *)std_vector_Sl_unsigned_SS_long_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::difference_type arg2 ;
  std::vector< unsigned long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___setslice__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64___setslice__" "', argument " "2"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64___setslice__" "', argument " "3"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long >::difference_type >(val3);
  try {
    std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::difference_type arg2 ;
  std::vector< unsigned long >::difference_type arg3 ;
  std::vector< unsigned long,std::allocator< unsigned long > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___setslice__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64___setslice__" "', argument " "2"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64___setslice__" "', argument " "3"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long >::difference_type >(val3);
  {
    std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorUint64___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint64___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned long,std::allocator< unsigned long > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint64___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorUint64___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type)\n"
    "    std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type,std::vector< unsigned long,std::allocator< unsigned long > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint64___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::difference_type arg2 ;
  std::vector< unsigned long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint64___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___delslice__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64___delslice__" "', argument " "2"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64___delslice__" "', argument " "3"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long >::difference_type >(val3);
  try {
    std_vector_Sl_unsigned_SS_long_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___delitem__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64___delitem__" "', argument " "2"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::difference_type >(val2);
  try {
    std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned long,std::allocator< unsigned long > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___getitem__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< unsigned long,std::allocator< unsigned long > > *)std_vector_Sl_unsigned_SS_long_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< unsigned long,std::allocator< unsigned long > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___setitem__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorUint64___setitem__" "', argument " "3"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint64___setitem__" "', argument " "3"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< unsigned long,std::allocator< unsigned long > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___setitem__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___delitem__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint64___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint64___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long >::__delitem__(std::vector< unsigned long >::difference_type)\n"
    "    std::vector< unsigned long >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint64___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___getitem__" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64___getitem__" "', argument " "2"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::difference_type >(val2);
  try {
    result = (std::vector< unsigned long >::value_type *) &std_vector_Sl_unsigned_SS_long_Sg____getitem____SWIG_1((std::vector< unsigned long > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint64___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint64___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< unsigned long >::__getitem__(std::vector< unsigned long >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint64___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::difference_type arg2 ;
  std::vector< unsigned long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long >::value_type temp3 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64___setitem__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64___setitem__" "', argument " "2"" of type '" "std::vector< unsigned long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64___setitem__" "', argument " "3"" of type '" "std::vector< unsigned long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned long >::value_type >(val3);
  arg3 = &temp3;
  try {
    std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned long const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint64___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorUint64___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint64___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned long,std::allocator< unsigned long > > const &)\n"
    "    std::vector< unsigned long >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< unsigned long >::__setitem__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint64_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_pop" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  try {
    result = (std::vector< unsigned long >::value_type)std_vector_Sl_unsigned_SS_long_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned long >::value_type temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint64_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_append" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64_append" "', argument " "2"" of type '" "std::vector< unsigned long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned long >::value_type >(val2);
  arg2 = &temp2;
  std_vector_Sl_unsigned_SS_long_Sg__append(arg1,(unsigned long const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< unsigned long > *)new std::vector< unsigned long >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< unsigned long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorUint64" "', argument " "1"" of type '" "std::vector< unsigned long > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorUint64" "', argument " "1"" of type '" "std::vector< unsigned long > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< unsigned long > *)new std::vector< unsigned long >((std::vector< unsigned long > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_empty" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (bool)((std::vector< unsigned long > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_size" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = ((std::vector< unsigned long > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint64_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_swap" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_unsigned_long_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorUint64_swap" "', argument " "2"" of type '" "std::vector< unsigned long > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint64_swap" "', argument " "2"" of type '" "std::vector< unsigned long > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< unsigned long > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_begin" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_end" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_rbegin" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_rend" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_clear" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< unsigned long > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_get_allocator" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = ((std::vector< unsigned long > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< unsigned long >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< unsigned long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUint64" "', argument " "1"" of type '" "std::vector< unsigned long >::size_type""'");
  } 
  arg1 = static_cast< std::vector< unsigned long >::size_type >(val1);
  result = (std::vector< unsigned long > *)new std::vector< unsigned long >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_pop_back" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_resize" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64_resize" "', argument " "2"" of type '" "std::vector< unsigned long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< unsigned long >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_erase" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_erase" "', argument " "2"" of type '" "std::vector< unsigned long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_erase" "', argument " "2"" of type '" "std::vector< unsigned long >::iterator""'");
    }
  }
  result = std_vector_Sl_unsigned_SS_long_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::iterator arg2 ;
  std::vector< unsigned long >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< unsigned long >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_erase" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_erase" "', argument " "2"" of type '" "std::vector< unsigned long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_erase" "', argument " "2"" of type '" "std::vector< unsigned long >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_erase" "', argument " "3"" of type '" "std::vector< unsigned long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_erase" "', argument " "3"" of type '" "std::vector< unsigned long >::iterator""'");
    }
  }
  result = std_vector_Sl_unsigned_SS_long_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorUint64_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorUint64_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long >::erase(std::vector< unsigned long >::iterator)\n"
    "    std::vector< unsigned long >::erase(std::vector< unsigned long >::iterator,std::vector< unsigned long >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorUint64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long >::size_type arg1 ;
  std::vector< unsigned long >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< unsigned long >::value_type temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUint64" "', argument " "1"" of type '" "std::vector< unsigned long >::size_type""'");
  } 
  arg1 = static_cast< std::vector< unsigned long >::size_type >(val1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorUint64" "', argument " "2"" of type '" "std::vector< unsigned long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned long >::value_type >(val2);
  arg2 = &temp2;
  result = (std::vector< unsigned long > *)new std::vector< unsigned long >(arg1,(std::vector< unsigned long >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint64(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUint64", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorUint64__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorUint64__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorUint64__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_VectorUint64__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorUint64'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long >::vector()\n"
    "    std::vector< unsigned long >::vector(std::vector< unsigned long > const &)\n"
    "    std::vector< unsigned long >::vector(std::vector< unsigned long >::size_type)\n"
    "    std::vector< unsigned long >::vector(std::vector< unsigned long >::size_type,std::vector< unsigned long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint64_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned long >::value_type temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint64_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_push_back" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64_push_back" "', argument " "2"" of type '" "std::vector< unsigned long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned long >::value_type >(val2);
  arg2 = &temp2;
  (arg1)->push_back((std::vector< unsigned long >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_front" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (std::vector< unsigned long >::value_type *) &((std::vector< unsigned long > const *)arg1)->front();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_back" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = (std::vector< unsigned long >::value_type *) &((std::vector< unsigned long > const *)arg1)->back();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::size_type arg2 ;
  std::vector< unsigned long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long >::value_type temp3 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint64_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_assign" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64_assign" "', argument " "2"" of type '" "std::vector< unsigned long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::size_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64_assign" "', argument " "3"" of type '" "std::vector< unsigned long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned long >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->assign(arg2,(std::vector< unsigned long >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::size_type arg2 ;
  std::vector< unsigned long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long >::value_type temp3 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_resize" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64_resize" "', argument " "2"" of type '" "std::vector< unsigned long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::size_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64_resize" "', argument " "3"" of type '" "std::vector< unsigned long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned long >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->resize(arg2,(std::vector< unsigned long >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint64_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint64_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long >::resize(std::vector< unsigned long >::size_type)\n"
    "    std::vector< unsigned long >::resize(std::vector< unsigned long >::size_type,std::vector< unsigned long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint64_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::iterator arg2 ;
  std::vector< unsigned long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< unsigned long >::value_type temp3 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  std::vector< unsigned long >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_insert" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_insert" "', argument " "2"" of type '" "std::vector< unsigned long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_insert" "', argument " "2"" of type '" "std::vector< unsigned long >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64_insert" "', argument " "3"" of type '" "std::vector< unsigned long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned long >::value_type >(val3);
  arg3 = &temp3;
  result = std_vector_Sl_unsigned_SS_long_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned long const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::iterator arg2 ;
  std::vector< unsigned long >::size_type arg3 ;
  std::vector< unsigned long >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  std::vector< unsigned long >::value_type temp4 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_insert" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_insert" "', argument " "2"" of type '" "std::vector< unsigned long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64_insert" "', argument " "2"" of type '" "std::vector< unsigned long >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint64_insert" "', argument " "3"" of type '" "std::vector< unsigned long >::size_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long >::size_type >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VectorUint64_insert" "', argument " "4"" of type '" "std::vector< unsigned long >::value_type""'");
  } 
  temp4 = static_cast< std::vector< unsigned long >::value_type >(val4);
  arg4 = &temp4;
  std_vector_Sl_unsigned_SS_long_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned long const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint64_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_VectorUint64_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long >::insert(std::vector< unsigned long >::iterator,std::vector< unsigned long >::value_type const &)\n"
    "    std::vector< unsigned long >::insert(std::vector< unsigned long >::iterator,std::vector< unsigned long >::size_type,std::vector< unsigned long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint64_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  std::vector< unsigned long >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint64_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_reserve" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint64_reserve" "', argument " "2"" of type '" "std::vector< unsigned long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint64_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint64_capacity" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  result = ((std::vector< unsigned long > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorUint64(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorUint64" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorUint64_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_unsigned_long_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorUint64_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorUint128_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_iterator" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_unsigned_SS_long_SS_long_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___nonzero__" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (bool)std_vector_Sl_unsigned_SS_long_SS_long_Sg____nonzero__((std::vector< unsigned long long > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___bool__" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (bool)std_vector_Sl_unsigned_SS_long_SS_long_Sg____bool__((std::vector< unsigned long long > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___len__" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = std_vector_Sl_unsigned_SS_long_SS_long_Sg____len__((std::vector< unsigned long long > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::difference_type arg2 ;
  std::vector< unsigned long long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< unsigned long long,std::allocator< unsigned long long > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint128___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___getslice__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128___getslice__" "', argument " "2"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128___getslice__" "', argument " "3"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long long >::difference_type >(val3);
  try {
    result = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)std_vector_Sl_unsigned_SS_long_SS_long_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::difference_type arg2 ;
  std::vector< unsigned long long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___setslice__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128___setslice__" "', argument " "2"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128___setslice__" "', argument " "3"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long long >::difference_type >(val3);
  try {
    std_vector_Sl_unsigned_SS_long_SS_long_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::difference_type arg2 ;
  std::vector< unsigned long long >::difference_type arg3 ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___setslice__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128___setslice__" "', argument " "2"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128___setslice__" "', argument " "3"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long long >::difference_type >(val3);
  {
    std::vector< unsigned long long,std::allocator< unsigned long long > > *ptr = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorUint128___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint128___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_unsigned_SS_long_SS_long_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned long long,std::allocator< unsigned long long > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint128___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint128___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorUint128___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint128___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long long >::__setslice__(std::vector< unsigned long long >::difference_type,std::vector< unsigned long long >::difference_type)\n"
    "    std::vector< unsigned long long >::__setslice__(std::vector< unsigned long long >::difference_type,std::vector< unsigned long long >::difference_type,std::vector< unsigned long long,std::allocator< unsigned long long > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint128___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::difference_type arg2 ;
  std::vector< unsigned long long >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint128___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___delslice__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128___delslice__" "', argument " "2"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128___delslice__" "', argument " "3"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long long >::difference_type >(val3);
  try {
    std_vector_Sl_unsigned_SS_long_SS_long_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___delitem__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128___delitem__" "', argument " "2"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::difference_type >(val2);
  try {
    std_vector_Sl_unsigned_SS_long_SS_long_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___getitem__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)std_vector_Sl_unsigned_SS_long_SS_long_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___setitem__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< unsigned long long,std::allocator< unsigned long long > > *ptr = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorUint128___setitem__" "', argument " "3"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint128___setitem__" "', argument " "3"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_unsigned_SS_long_SS_long_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< unsigned long long,std::allocator< unsigned long long > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___setitem__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_unsigned_SS_long_SS_long_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___delitem__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_unsigned_SS_long_SS_long_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint128___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint128___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint128___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint128___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long long >::__delitem__(std::vector< unsigned long long >::difference_type)\n"
    "    std::vector< unsigned long long >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint128___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long long >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___getitem__" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128___getitem__" "', argument " "2"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::difference_type >(val2);
  try {
    result = (std::vector< unsigned long long >::value_type *) &std_vector_Sl_unsigned_SS_long_SS_long_Sg____getitem____SWIG_1((std::vector< unsigned long long > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned long long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint128___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint128___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint128___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint128___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long long >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< unsigned long long >::__getitem__(std::vector< unsigned long long >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint128___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::difference_type arg2 ;
  std::vector< unsigned long long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long long >::value_type temp3 ;
  unsigned long long val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128___setitem__" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128___setitem__" "', argument " "2"" of type '" "std::vector< unsigned long long >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::difference_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128___setitem__" "', argument " "3"" of type '" "std::vector< unsigned long long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned long long >::value_type >(val3);
  arg3 = &temp3;
  try {
    std_vector_Sl_unsigned_SS_long_SS_long_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned long long const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint128___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint128___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorUint128___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint128___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint128___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long long >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned long long,std::allocator< unsigned long long > > const &)\n"
    "    std::vector< unsigned long long >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< unsigned long long >::__setitem__(std::vector< unsigned long long >::difference_type,std::vector< unsigned long long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint128_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_pop" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  try {
    result = (std::vector< unsigned long long >::value_type)std_vector_Sl_unsigned_SS_long_SS_long_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned long long >::value_type temp2 ;
  unsigned long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint128_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_append" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128_append" "', argument " "2"" of type '" "std::vector< unsigned long long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned long long >::value_type >(val2);
  arg2 = &temp2;
  std_vector_Sl_unsigned_SS_long_SS_long_Sg__append(arg1,(unsigned long long const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint128__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< unsigned long long > *)new std::vector< unsigned long long >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint128__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< unsigned long long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< unsigned long long,std::allocator< unsigned long long > > *ptr = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorUint128" "', argument " "1"" of type '" "std::vector< unsigned long long > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorUint128" "', argument " "1"" of type '" "std::vector< unsigned long long > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< unsigned long long > *)new std::vector< unsigned long long >((std::vector< unsigned long long > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_empty" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (bool)((std::vector< unsigned long long > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_size" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = ((std::vector< unsigned long long > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint128_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_swap" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_unsigned_long_long_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorUint128_swap" "', argument " "2"" of type '" "std::vector< unsigned long long > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint128_swap" "', argument " "2"" of type '" "std::vector< unsigned long long > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< unsigned long long > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_begin" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_end" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_rbegin" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long long >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_rend" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long long >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_clear" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< unsigned long long > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_get_allocator" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = ((std::vector< unsigned long long > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< unsigned long long >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint128__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< unsigned long long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUint128" "', argument " "1"" of type '" "std::vector< unsigned long long >::size_type""'");
  } 
  arg1 = static_cast< std::vector< unsigned long long >::size_type >(val1);
  result = (std::vector< unsigned long long > *)new std::vector< unsigned long long >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_pop_back" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_resize" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128_resize" "', argument " "2"" of type '" "std::vector< unsigned long long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< unsigned long long >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_erase" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_erase" "', argument " "2"" of type '" "std::vector< unsigned long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_erase" "', argument " "2"" of type '" "std::vector< unsigned long long >::iterator""'");
    }
  }
  result = std_vector_Sl_unsigned_SS_long_SS_long_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::iterator arg2 ;
  std::vector< unsigned long long >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< unsigned long long >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_erase" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_erase" "', argument " "2"" of type '" "std::vector< unsigned long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_erase" "', argument " "2"" of type '" "std::vector< unsigned long long >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_erase" "', argument " "3"" of type '" "std::vector< unsigned long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_erase" "', argument " "3"" of type '" "std::vector< unsigned long long >::iterator""'");
    }
  }
  result = std_vector_Sl_unsigned_SS_long_SS_long_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint128_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorUint128_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorUint128_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint128_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long long >::erase(std::vector< unsigned long long >::iterator)\n"
    "    std::vector< unsigned long long >::erase(std::vector< unsigned long long >::iterator,std::vector< unsigned long long >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorUint128__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long >::size_type arg1 ;
  std::vector< unsigned long long >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< unsigned long long >::value_type temp2 ;
  unsigned long long val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long long > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUint128" "', argument " "1"" of type '" "std::vector< unsigned long long >::size_type""'");
  } 
  arg1 = static_cast< std::vector< unsigned long long >::size_type >(val1);
  ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VectorUint128" "', argument " "2"" of type '" "std::vector< unsigned long long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned long long >::value_type >(val2);
  arg2 = &temp2;
  result = (std::vector< unsigned long long > *)new std::vector< unsigned long long >(arg1,(std::vector< unsigned long long >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint128(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUint128", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorUint128__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorUint128__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorUint128__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_VectorUint128__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorUint128'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long long >::vector()\n"
    "    std::vector< unsigned long long >::vector(std::vector< unsigned long long > const &)\n"
    "    std::vector< unsigned long long >::vector(std::vector< unsigned long long >::size_type)\n"
    "    std::vector< unsigned long long >::vector(std::vector< unsigned long long >::size_type,std::vector< unsigned long long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint128_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< unsigned long long >::value_type temp2 ;
  unsigned long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint128_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_push_back" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128_push_back" "', argument " "2"" of type '" "std::vector< unsigned long long >::value_type""'");
  } 
  temp2 = static_cast< std::vector< unsigned long long >::value_type >(val2);
  arg2 = &temp2;
  (arg1)->push_back((std::vector< unsigned long long >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_front" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (std::vector< unsigned long long >::value_type *) &((std::vector< unsigned long long > const *)arg1)->front();
  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned long long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_back" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = (std::vector< unsigned long long >::value_type *) &((std::vector< unsigned long long > const *)arg1)->back();
  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(*result));
  (void)swig::container_owner<swig::traits<std::vector< unsigned long long >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::size_type arg2 ;
  std::vector< unsigned long long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long long >::value_type temp3 ;
  unsigned long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint128_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_assign" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128_assign" "', argument " "2"" of type '" "std::vector< unsigned long long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::size_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128_assign" "', argument " "3"" of type '" "std::vector< unsigned long long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned long long >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->assign(arg2,(std::vector< unsigned long long >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::size_type arg2 ;
  std::vector< unsigned long long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  std::vector< unsigned long long >::value_type temp3 ;
  unsigned long long val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_resize" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128_resize" "', argument " "2"" of type '" "std::vector< unsigned long long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::size_type >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128_resize" "', argument " "3"" of type '" "std::vector< unsigned long long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned long long >::value_type >(val3);
  arg3 = &temp3;
  (arg1)->resize(arg2,(std::vector< unsigned long long >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint128_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint128_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint128_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint128_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long long >::resize(std::vector< unsigned long long >::size_type)\n"
    "    std::vector< unsigned long long >::resize(std::vector< unsigned long long >::size_type,std::vector< unsigned long long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint128_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::iterator arg2 ;
  std::vector< unsigned long long >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< unsigned long long >::value_type temp3 ;
  unsigned long long val3 ;
  int ecode3 = 0 ;
  std::vector< unsigned long long >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_insert" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_insert" "', argument " "2"" of type '" "std::vector< unsigned long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_insert" "', argument " "2"" of type '" "std::vector< unsigned long long >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128_insert" "', argument " "3"" of type '" "std::vector< unsigned long long >::value_type""'");
  } 
  temp3 = static_cast< std::vector< unsigned long long >::value_type >(val3);
  arg3 = &temp3;
  result = std_vector_Sl_unsigned_SS_long_SS_long_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned long long const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned long long >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::iterator arg2 ;
  std::vector< unsigned long long >::size_type arg3 ;
  std::vector< unsigned long long >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  std::vector< unsigned long long >::value_type temp4 ;
  unsigned long long val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_insert" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_insert" "', argument " "2"" of type '" "std::vector< unsigned long long >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint128_insert" "', argument " "2"" of type '" "std::vector< unsigned long long >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint128_insert" "', argument " "3"" of type '" "std::vector< unsigned long long >::size_type""'");
  } 
  arg3 = static_cast< std::vector< unsigned long long >::size_type >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VectorUint128_insert" "', argument " "4"" of type '" "std::vector< unsigned long long >::value_type""'");
  } 
  temp4 = static_cast< std::vector< unsigned long long >::value_type >(val4);
  arg4 = &temp4;
  std_vector_Sl_unsigned_SS_long_SS_long_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned long long const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint128_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint128_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< unsigned long long >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_VectorUint128_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint128_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< unsigned long long >::insert(std::vector< unsigned long long >::iterator,std::vector< unsigned long long >::value_type const &)\n"
    "    std::vector< unsigned long long >::insert(std::vector< unsigned long long >::iterator,std::vector< unsigned long long >::size_type,std::vector< unsigned long long >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint128_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  std::vector< unsigned long long >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint128_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_reserve" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint128_reserve" "', argument " "2"" of type '" "std::vector< unsigned long long >::size_type""'");
  } 
  arg2 = static_cast< std::vector< unsigned long long >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint128_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint128_capacity" "', argument " "1"" of type '" "std::vector< unsigned long long > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  result = ((std::vector< unsigned long long > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorUint128(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long > *arg1 = (std::vector< unsigned long long > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorUint128" "', argument " "1"" of type '" "std::vector< unsigned long long > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< unsigned long long > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorUint128_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_unsigned_long_long_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorUint128_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorUint32_3D_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_iterator" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___nonzero__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (bool)std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____nonzero__((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___bool__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (bool)std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____bool__((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___len__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____len__((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint32_3D___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___getslice__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D___getslice__" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_3D___getslice__" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val3);
  try {
    result = (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *)std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___setslice__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D___setslice__" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_3D___setslice__" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val3);
  try {
    std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg3 ;
  std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___setslice__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D___setslice__" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_3D___setslice__" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val3);
  {
    std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *ptr = (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorUint32_3D___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_3D___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorUint32_3D___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorUint32_3D___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_3D___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__setslice__(std::vector< std::vector< std::vector< unsigned int > > >::difference_type,std::vector< std::vector< std::vector< unsigned int > > >::difference_type)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__setslice__(std::vector< std::vector< std::vector< unsigned int > > >::difference_type,std::vector< std::vector< std::vector< unsigned int > > >::difference_type,std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint32_3D___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___delslice__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D___delslice__" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_3D___delslice__" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val3);
  try {
    std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___delitem__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D___delitem__" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val2);
  try {
    std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___getitem__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *)std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___setitem__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *ptr = (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorUint32_3D___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___setitem__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___delitem__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_3D___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint32_3D___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint32_3D___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_3D___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__delitem__(std::vector< std::vector< std::vector< unsigned int > > >::difference_type)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___getitem__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D___getitem__" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val2);
  try {
    result = (std::vector< std::vector< std::vector< unsigned int > > >::value_type *) &std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____getitem____SWIG_1((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  (void)swig::container_owner<swig::traits<std::vector< std::vector< std::vector< unsigned int > > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_3D___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint32_3D___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint32_3D___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_3D___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__getitem__(std::vector< std::vector< std::vector< unsigned int > > >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::difference_type arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D___setitem__" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D___setitem__" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::difference_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorUint32_3D___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  arg3 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > >::value_type * >(argp3);
  try {
    std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_3D___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorUint32_3D___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorUint32_3D___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NO_NULL | 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorUint32_3D___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_3D___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::__setitem__(std::vector< std::vector< std::vector< unsigned int > > >::difference_type,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_pop" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  try {
    result = std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj((new std::vector< std::vector< std::vector< unsigned int > > >::value_type(result)), SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint32_3D_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_append" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorUint32_3D_append" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D_append" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > >::value_type * >(argp2);
  std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__append(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32_3D__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< std::vector< std::vector< unsigned int > > > *)new std::vector< std::vector< std::vector< unsigned int > > >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32_3D__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< std::vector< std::vector< unsigned int > > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *ptr = (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorUint32_3D" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorUint32_3D" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< std::vector< std::vector< unsigned int > > > *)new std::vector< std::vector< std::vector< unsigned int > > >((std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_empty" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (bool)((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_size" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = ((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint32_3D_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_swap" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorUint32_3D_swap" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D_swap" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_begin" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::vector< unsigned int > > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_end" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::vector< unsigned int > > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_rbegin" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::vector< unsigned int > > >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_rend" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::vector< unsigned int > > >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_clear" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_get_allocator" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = ((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< std::vector< std::vector< unsigned int > > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32_3D__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< std::vector< std::vector< unsigned int > > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUint32_3D" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::size_type""'");
  } 
  arg1 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::size_type >(val1);
  result = (std::vector< std::vector< std::vector< unsigned int > > > *)new std::vector< std::vector< std::vector< unsigned int > > >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_pop_back" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_resize" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D_resize" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_erase" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_erase" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_erase" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
    }
  }
  result = std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::vector< unsigned int > > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_erase" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_erase" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_erase" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_erase" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_erase" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
    }
  }
  result = std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::vector< unsigned int > > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_3D_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorUint32_3D_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorUint32_3D_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_3D_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::erase(std::vector< std::vector< std::vector< unsigned int > > >::iterator)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::erase(std::vector< std::vector< std::vector< unsigned int > > >::iterator,std::vector< std::vector< std::vector< unsigned int > > >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32_3D__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type arg1 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::vector< std::vector< std::vector< unsigned int > > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorUint32_3D" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::size_type""'");
  } 
  arg1 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::size_type >(val1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorUint32_3D" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorUint32_3D" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > >::value_type * >(argp2);
  result = (std::vector< std::vector< std::vector< unsigned int > > > *)new std::vector< std::vector< std::vector< unsigned int > > >(arg1,(std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorUint32_3D(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUint32_3D", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorUint32_3D__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorUint32_3D__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorUint32_3D__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NO_NULL | 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_VectorUint32_3D__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorUint32_3D'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::vector()\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::vector(std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > const &)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::vector(std::vector< std::vector< std::vector< unsigned int > > >::size_type)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::vector(std::vector< std::vector< std::vector< unsigned int > > >::size_type,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint32_3D_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_push_back" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorUint32_3D_push_back" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D_push_back" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > >::value_type * >(argp2);
  (arg1)->push_back((std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_front" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (std::vector< std::vector< std::vector< unsigned int > > >::value_type *) &((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1)->front();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  (void)swig::container_owner<swig::traits<std::vector< std::vector< std::vector< unsigned int > > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_back" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = (std::vector< std::vector< std::vector< unsigned int > > >::value_type *) &((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1)->back();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  (void)swig::container_owner<swig::traits<std::vector< std::vector< std::vector< unsigned int > > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorUint32_3D_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_assign" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D_assign" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::size_type >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorUint32_3D_assign" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D_assign" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  arg3 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > >::value_type * >(argp3);
  (arg1)->assign(arg2,(std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_resize" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D_resize" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::size_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorUint32_3D_resize" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D_resize" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  arg3 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > >::value_type * >(argp3);
  (arg1)->resize(arg2,(std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_3D_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorUint32_3D_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NO_NULL | 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorUint32_3D_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_3D_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::resize(std::vector< std::vector< std::vector< unsigned int > > >::size_type)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::resize(std::vector< std::vector< std::vector< unsigned int > > >::size_type,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_insert" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_insert" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_insert" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorUint32_3D_insert" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D_insert" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  arg3 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > >::value_type * >(argp3);
  result = std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::vector< unsigned int > > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::iterator arg2 ;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type arg3 ;
  std::vector< std::vector< std::vector< unsigned int > > >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_insert" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_insert" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint32_3D_insert" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorUint32_3D_insert" "', argument " "3"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::size_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::size_type >(val3);
  res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorUint32_3D_insert" "', argument " "4"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorUint32_3D_insert" "', argument " "4"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::value_type const &""'"); 
  }
  arg4 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > >::value_type * >(argp4);
  std_vector_Sl_std_vector_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint32_3D_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter) != 0));
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NO_NULL | 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorUint32_3D_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< std::vector< unsigned int > > >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_NO_NULL | 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorUint32_3D_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint32_3D_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::insert(std::vector< std::vector< std::vector< unsigned int > > >::iterator,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)\n"
    "    std::vector< std::vector< std::vector< unsigned int > > >::insert(std::vector< std::vector< std::vector< unsigned int > > >::iterator,std::vector< std::vector< std::vector< unsigned int > > >::size_type,std::vector< std::vector< std::vector< unsigned int > > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorUint32_3D_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_reserve" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorUint32_3D_reserve" "', argument " "2"" of type '" "std::vector< std::vector< std::vector< unsigned int > > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< std::vector< unsigned int > > >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorUint32_3D_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< std::vector< unsigned int > > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorUint32_3D_capacity" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  result = ((std::vector< std::vector< std::vector< unsigned int > > > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorUint32_3D(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< std::vector< unsigned int > > > *arg1 = (std::vector< std::vector< std::vector< unsigned int > > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorUint32_3D" "', argument " "1"" of type '" "std::vector< std::vector< std::vector< unsigned int > > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< std::vector< unsigned int > > > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorUint32_3D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorUint32_3D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorDouble_2D_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_iterator" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_std_vector_Sl_double_Sg__Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___nonzero__" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (bool)std_vector_Sl_std_vector_Sl_double_Sg__Sg____nonzero__((std::vector< std::vector< double > > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___bool__" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (bool)std_vector_Sl_std_vector_Sl_double_Sg__Sg____bool__((std::vector< std::vector< double > > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___len__" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = std_vector_Sl_std_vector_Sl_double_Sg__Sg____len__((std::vector< std::vector< double > > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::difference_type arg2 ;
  std::vector< std::vector< double > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorDouble_2D___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___getslice__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D___getslice__" "', argument " "2"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_2D___getslice__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< double > >::difference_type >(val3);
  try {
    result = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)std_vector_Sl_std_vector_Sl_double_Sg__Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::difference_type arg2 ;
  std::vector< std::vector< double > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___setslice__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D___setslice__" "', argument " "2"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_2D___setslice__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< double > >::difference_type >(val3);
  try {
    std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::difference_type arg2 ;
  std::vector< std::vector< double > >::difference_type arg3 ;
  std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___setslice__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D___setslice__" "', argument " "2"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_2D___setslice__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< double > >::difference_type >(val3);
  {
    std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorDouble_2D___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_2D___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorDouble_2D___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorDouble_2D___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_2D___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type)\n"
    "    std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::difference_type arg2 ;
  std::vector< std::vector< double > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorDouble_2D___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___delslice__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D___delslice__" "', argument " "2"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_2D___delslice__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< double > >::difference_type >(val3);
  try {
    std_vector_Sl_std_vector_Sl_double_Sg__Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___delitem__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D___delitem__" "', argument " "2"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2);
  try {
    std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___getitem__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)std_vector_Sl_std_vector_Sl_double_Sg__Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___setitem__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorDouble_2D___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___setitem__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___delitem__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_2D___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorDouble_2D___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorDouble_2D___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_2D___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< double > >::__delitem__(std::vector< std::vector< double > >::difference_type)\n"
    "    std::vector< std::vector< double > >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< std::vector< double > >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___getitem__" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D___getitem__" "', argument " "2"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2);
  try {
    result = (std::vector< std::vector< double > >::value_type *) &std_vector_Sl_std_vector_Sl_double_Sg__Sg____getitem____SWIG_1((std::vector< std::vector< double > > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result));
  (void)swig::container_owner<swig::traits<std::vector< std::vector< double > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_2D___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorDouble_2D___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorDouble_2D___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_2D___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< double > >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< std::vector< double > >::__getitem__(std::vector< std::vector< double > >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::difference_type arg2 ;
  std::vector< std::vector< double > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D___setitem__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D___setitem__" "', argument " "2"" of type '" "std::vector< std::vector< double > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorDouble_2D___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::vector< double,std::allocator< double > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_2D___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorDouble_2D___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorDouble_2D___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorDouble_2D___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_2D___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< double > >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)\n"
    "    std::vector< std::vector< double > >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< std::vector< double > >::__setitem__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_pop" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  try {
    result = std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorDouble_2D_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_append" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res2 = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorDouble_2D_append" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D_append" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    arg2 = ptr;
  }
  std_vector_Sl_std_vector_Sl_double_Sg__Sg__append(arg1,(std::vector< double,std::allocator< double > > 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_new_VectorDouble_2D__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< std::vector< double > > *)new std::vector< std::vector< double > >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble_2D__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double,std::allocator< double > > > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorDouble_2D" "', argument " "1"" of type '" "std::vector< std::vector< double,std::allocator< double > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorDouble_2D" "', argument " "1"" of type '" "std::vector< std::vector< double,std::allocator< double > > > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< std::vector< double > > *)new std::vector< std::vector< double > >((std::vector< std::vector< double,std::allocator< double > > > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_empty" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (bool)((std::vector< std::vector< double > > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_size" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = ((std::vector< std::vector< double > > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double,std::allocator< double > > > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorDouble_2D_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_swap" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorDouble_2D_swap" "', argument " "2"" of type '" "std::vector< std::vector< double,std::allocator< double > > > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D_swap" "', argument " "2"" of type '" "std::vector< std::vector< double,std::allocator< double > > > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::vector< double,std::allocator< double > > > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_begin" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_end" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_rbegin" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< double > >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_rend" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< double > >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_clear" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< std::vector< double,std::allocator< double > > > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_get_allocator" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = ((std::vector< std::vector< double > > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< std::vector< double > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__vectorT_double_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble_2D__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorDouble_2D" "', argument " "1"" of type '" "std::vector< std::vector< double > >::size_type""'");
  } 
  arg1 = static_cast< std::vector< std::vector< double > >::size_type >(val1);
  result = (std::vector< std::vector< double > > *)new std::vector< std::vector< double > >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_pop_back" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_resize" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D_resize" "', argument " "2"" of type '" "std::vector< std::vector< double > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< std::vector< double > >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_erase" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_erase" "', argument " "2"" of type '" "std::vector< std::vector< double > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_erase" "', argument " "2"" of type '" "std::vector< std::vector< double > >::iterator""'");
    }
  }
  result = std_vector_Sl_std_vector_Sl_double_Sg__Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::iterator arg2 ;
  std::vector< std::vector< double > >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< std::vector< double > >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_erase" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_erase" "', argument " "2"" of type '" "std::vector< std::vector< double > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_erase" "', argument " "2"" of type '" "std::vector< std::vector< double > >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_erase" "', argument " "3"" of type '" "std::vector< std::vector< double > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_erase" "', argument " "3"" of type '" "std::vector< std::vector< double > >::iterator""'");
    }
  }
  result = std_vector_Sl_std_vector_Sl_double_Sg__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_2D_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorDouble_2D_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorDouble_2D_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_2D_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< double > >::erase(std::vector< std::vector< double > >::iterator)\n"
    "    std::vector< std::vector< double > >::erase(std::vector< std::vector< double > >::iterator,std::vector< std::vector< double > >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble_2D__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > >::size_type arg1 ;
  std::vector< std::vector< double > >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  std::vector< std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorDouble_2D" "', argument " "1"" of type '" "std::vector< std::vector< double > >::size_type""'");
  } 
  arg1 = static_cast< std::vector< std::vector< double > >::size_type >(val1);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res2 = swig::asptr(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorDouble_2D" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorDouble_2D" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = (std::vector< std::vector< double > > *)new std::vector< std::vector< double > >(arg1,(std::vector< std::vector< double > >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorDouble_2D(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorDouble_2D", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorDouble_2D__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorDouble_2D__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorDouble_2D__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0));
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_VectorDouble_2D__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorDouble_2D'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< double > >::vector()\n"
    "    std::vector< std::vector< double > >::vector(std::vector< std::vector< double,std::allocator< double > > > const &)\n"
    "    std::vector< std::vector< double > >::vector(std::vector< std::vector< double > >::size_type)\n"
    "    std::vector< std::vector< double > >::vector(std::vector< std::vector< double > >::size_type,std::vector< std::vector< double > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorDouble_2D_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_push_back" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res2 = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorDouble_2D_push_back" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D_push_back" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    arg2 = ptr;
  }
  (arg1)->push_back((std::vector< std::vector< double > >::value_type 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_VectorDouble_2D_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_front" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (std::vector< std::vector< double > >::value_type *) &((std::vector< std::vector< double > > const *)arg1)->front();
  resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result));
  (void)swig::container_owner<swig::traits<std::vector< std::vector< double > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_back" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = (std::vector< std::vector< double > >::value_type *) &((std::vector< std::vector< double > > const *)arg1)->back();
  resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result));
  (void)swig::container_owner<swig::traits<std::vector< std::vector< double > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::size_type arg2 ;
  std::vector< std::vector< double > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorDouble_2D_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_assign" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D_assign" "', argument " "2"" of type '" "std::vector< std::vector< double > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::size_type >(val2);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res3 = swig::asptr(obj2, &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorDouble_2D_assign" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D_assign" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    arg3 = ptr;
  }
  (arg1)->assign(arg2,(std::vector< std::vector< double > >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::size_type arg2 ;
  std::vector< std::vector< double > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_resize" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D_resize" "', argument " "2"" of type '" "std::vector< std::vector< double > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::size_type >(val2);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorDouble_2D_resize" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D_resize" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    arg3 = ptr;
  }
  (arg1)->resize(arg2,(std::vector< std::vector< double > >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_2D_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorDouble_2D_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorDouble_2D_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_2D_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< double > >::resize(std::vector< std::vector< double > >::size_type)\n"
    "    std::vector< std::vector< double > >::resize(std::vector< std::vector< double > >::size_type,std::vector< std::vector< double > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::iterator arg2 ;
  std::vector< std::vector< double > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  int res3 = SWIG_OLDOBJ ;
  std::vector< std::vector< double > >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_insert" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_insert" "', argument " "2"" of type '" "std::vector< std::vector< double > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_insert" "', argument " "2"" of type '" "std::vector< std::vector< double > >::iterator""'");
    }
  }
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorDouble_2D_insert" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D_insert" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    arg3 = ptr;
  }
  result = std_vector_Sl_std_vector_Sl_double_Sg__Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::vector< double,std::allocator< double > > const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::iterator arg2 ;
  std::vector< std::vector< double > >::size_type arg3 ;
  std::vector< std::vector< double > >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_insert" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_insert" "', argument " "2"" of type '" "std::vector< std::vector< double > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_2D_insert" "', argument " "2"" of type '" "std::vector< std::vector< double > >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorDouble_2D_insert" "', argument " "3"" of type '" "std::vector< std::vector< double > >::size_type""'");
  } 
  arg3 = static_cast< std::vector< std::vector< double > >::size_type >(val3);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorDouble_2D_insert" "', argument " "4"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorDouble_2D_insert" "', argument " "4"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); 
    }
    arg4 = ptr;
  }
  std_vector_Sl_std_vector_Sl_double_Sg__Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< double,std::allocator< double > > const &)*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_2D_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter) != 0));
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorDouble_2D_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< double,std::allocator< double > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorDouble_2D_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble_2D_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::vector< double > >::insert(std::vector< std::vector< double > >::iterator,std::vector< std::vector< double > >::value_type const &)\n"
    "    std::vector< std::vector< double > >::insert(std::vector< std::vector< double > >::iterator,std::vector< std::vector< double > >::size_type,std::vector< std::vector< double > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  std::vector< std::vector< double > >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorDouble_2D_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_reserve" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorDouble_2D_reserve" "', argument " "2"" of type '" "std::vector< std::vector< double > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::vector< double > >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorDouble_2D_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::vector< double > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorDouble_2D_capacity" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  result = ((std::vector< std::vector< double > > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorDouble_2D(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorDouble_2D" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorDouble_2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_std__vectorT_double_t_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorDouble_2D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_MapShortVectorDouble__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::less< short > *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__lessT_short_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MapShortVectorDouble" "', argument " "1"" of type '" "std::less< short > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MapShortVectorDouble" "', argument " "1"" of type '" "std::less< short > const &""'"); 
  }
  arg1 = reinterpret_cast< std::less< short > * >(argp1);
  result = (std::map< short,std::vector< double > > *)new std::map< short,std::vector< double > >((std::less< short > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_iterator" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (swig::SwigPyIterator *)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble___nonzero__" "', argument " "1"" of type '" "std::map< short,std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (bool)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____nonzero__((std::map< short,std::vector< double > > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble___bool__" "', argument " "1"" of type '" "std::map< short,std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (bool)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____bool__((std::map< short,std::vector< double > > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< short,std::vector< double > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble___len__" "', argument " "1"" of type '" "std::map< short,std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____len__((std::map< short,std::vector< double > > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___getitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"key",  NULL 
  };
  std::map< short,std::vector< double > >::mapped_type *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble___getitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble___getitem__" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble___getitem__" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  try {
    result = (std::map< short,std::vector< double > >::mapped_type *) &std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____getitem__(arg1,(short const &)*arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___delitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"key",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble___delitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble___delitem__" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble___delitem__" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  try {
    std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____delitem__(arg1,(short const &)*arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_has_key(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"key",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble_has_key", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_has_key" "', argument " "1"" of type '" "std::map< short,std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble_has_key" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  result = (bool)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__has_key((std::map< short,std::vector< double > > const *)arg1,(short const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_keys(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_keys" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (PyObject *)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__keys(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_values(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_values" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (PyObject *)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__values(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_items(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_items" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (PyObject *)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__items(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___contains__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"key",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble___contains__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble___contains__" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble___contains__" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  result = (bool)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____contains__(arg1,(short const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_key_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_key_iterator" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (swig::SwigPyIterator *)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__key_iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_value_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_value_iterator" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (swig::SwigPyIterator *)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__value_iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble___setitem__" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble___setitem__" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____setitem____SWIG_0(arg1,(short const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  std::map< short,std::vector< double > >::mapped_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble___setitem__" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble___setitem__" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MapShortVectorDouble___setitem__" "', argument " "3"" of type '" "std::map< short,std::vector< double > >::mapped_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapShortVectorDouble___setitem__" "', argument " "3"" of type '" "std::map< short,std::vector< double > >::mapped_type const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg____setitem____SWIG_1(arg1,(short const &)*arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "MapShortVectorDouble___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_short(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_MapShortVectorDouble___setitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_short(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_MapShortVectorDouble___setitem____SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MapShortVectorDouble___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::map< short,std::vector< double > >::__setitem__(std::map< short,std::vector< double > >::key_type const &)\n"
    "    std::map< short,std::vector< double > >::__setitem__(std::map< short,std::vector< double > >::key_type const &,std::map< short,std::vector< double > >::mapped_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_asdict(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_asdict" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (PyObject *)std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__asdict(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_MapShortVectorDouble__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::map< short,std::vector< double > > *)new std::map< short,std::vector< double > >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_MapShortVectorDouble__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double,std::allocator< double > > > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::map< short,std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *ptr = (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MapShortVectorDouble" "', argument " "1"" of type '" "std::map< short,std::vector< double,std::allocator< double > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MapShortVectorDouble" "', argument " "1"" of type '" "std::map< short,std::vector< double,std::allocator< double > > > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::map< short,std::vector< double > > *)new std::map< short,std::vector< double > >((std::map< short,std::vector< double,std::allocator< double > > > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 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_MapShortVectorDouble(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[2] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_MapShortVectorDouble", 0, 1, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_MapShortVectorDouble__SWIG_1(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_short_t, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_MapShortVectorDouble__SWIG_0(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_MapShortVectorDouble__SWIG_2(self, argc, argv);
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_MapShortVectorDouble'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::map< short,std::vector< double > >::map(std::less< short > const &)\n"
    "    std::map< short,std::vector< double > >::map()\n"
    "    std::map< short,std::vector< double > >::map(std::map< short,std::vector< double,std::allocator< double > > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_empty" "', argument " "1"" of type '" "std::map< short,std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (bool)((std::map< short,std::vector< double > > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< short,std::vector< double > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_size" "', argument " "1"" of type '" "std::map< short,std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = ((std::map< short,std::vector< double > > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double,std::allocator< double > > > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_swap" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MapShortVectorDouble_swap" "', argument " "2"" of type '" "std::map< short,std::vector< double,std::allocator< double > > > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapShortVectorDouble_swap" "', argument " "2"" of type '" "std::map< short,std::vector< double,std::allocator< double > > > &""'"); 
  }
  arg2 = reinterpret_cast< std::map< short,std::vector< double,std::allocator< double > > > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< short,std::vector< double > >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_begin" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< short,std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< short,std::vector< double > >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_end" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< short,std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< short,std::vector< double > >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_rbegin" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< short,std::vector< double > >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< short,std::vector< double > >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_rend" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< short,std::vector< double > >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_clear" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_get_allocator" "', argument " "1"" of type '" "std::map< short,std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  result = ((std::map< short,std::vector< double > > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::map< short,std::vector< double > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__pairT_short_const_std__vectorT_double_t_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  std::map< short,std::vector< double > >::size_type result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_erase" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble_erase" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->erase((std::map< short,std::vector< double > >::key_type const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_count(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::map< short,std::vector< double > >::size_type result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble_count", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_count" "', argument " "1"" of type '" "std::map< short,std::vector< double > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble_count" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  result = ((std::map< short,std::vector< double > > const *)arg1)->count((std::map< short,std::vector< double > >::key_type const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_erase" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapShortVectorDouble_erase" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapShortVectorDouble_erase" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::iterator""'");
    }
  }
  std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_erase__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::iterator arg2 ;
  std::map< short,std::vector< double > >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_erase" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapShortVectorDouble_erase" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapShortVectorDouble_erase" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapShortVectorDouble_erase" "', argument " "3"" of type '" "std::map< short,std::vector< double > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapShortVectorDouble_erase" "', argument " "3"" of type '" "std::map< short,std::vector< double > >::iterator""'");
    }
  }
  std_map_Sl_short_Sc_std_vector_Sl_double_Sg__Sg__erase__SWIG_2(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "MapShortVectorDouble_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_MapShortVectorDouble_erase__SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_short(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_MapShortVectorDouble_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< short,std::vector< double > >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_MapShortVectorDouble_erase__SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MapShortVectorDouble_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::map< short,std::vector< double > >::erase(std::map< short,std::vector< double > >::key_type const &)\n"
    "    std::map< short,std::vector< double > >::erase(std::map< short,std::vector< double > >::iterator)\n"
    "    std::map< short,std::vector< double > >::erase(std::map< short,std::vector< double > >::iterator,std::map< short,std::vector< double > >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_find(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::map< short,std::vector< double > >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble_find", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_find" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble_find" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->find((std::map< short,std::vector< double > >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< short,std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_lower_bound(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::map< short,std::vector< double > >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble_lower_bound", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_lower_bound" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble_lower_bound" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->lower_bound((std::map< short,std::vector< double > >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< short,std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapShortVectorDouble_upper_bound(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  std::map< short,std::vector< double > >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< short,std::vector< double > >::key_type temp2 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::map< short,std::vector< double > >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapShortVectorDouble_upper_bound", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapShortVectorDouble_upper_bound" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MapShortVectorDouble_upper_bound" "', argument " "2"" of type '" "std::map< short,std::vector< double > >::key_type""'");
  } 
  temp2 = static_cast< std::map< short,std::vector< double > >::key_type >(val2);
  arg2 = &temp2;
  result = (arg1)->upper_bound((std::map< short,std::vector< double > >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< short,std::vector< double > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_MapShortVectorDouble(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< short,std::vector< double > > *arg1 = (std::map< short,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MapShortVectorDouble" "', argument " "1"" of type '" "std::map< short,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< short,std::vector< double > > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *MapShortVectorDouble_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__mapT_short_std__vectorT_double_t_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *MapShortVectorDouble_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_MapStringString__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::less< std::string > *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::map< std::string,std::string > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__lessT_std__string_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MapStringString" "', argument " "1"" of type '" "std::less< std::string > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MapStringString" "', argument " "1"" of type '" "std::less< std::string > const &""'"); 
  }
  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
  result = (std::map< std::string,std::string > *)new std::map< std::string,std::string >((std::less< std::string > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_std__string_std__string_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_iterator" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_std_string_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString___nonzero__" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (bool)std_map_Sl_std_string_Sc_std_string_Sg____nonzero__((std::map< std::string,std::string > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString___bool__" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (bool)std_map_Sl_std_string_Sc_std_string_Sg____bool__((std::map< std::string,std::string > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< std::string,std::string >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString___len__" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = std_map_Sl_std_string_Sc_std_string_Sg____len__((std::map< std::string,std::string > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString___getitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"key",  NULL 
  };
  std::map< std::string,std::string >::mapped_type *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString___getitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString___getitem__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(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 '" "MapStringString___getitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString___getitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  try {
    result = (std::map< std::string,std::string >::mapped_type *) &std_map_Sl_std_string_Sc_std_string_Sg____getitem__(arg1,(std::string const &)*arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString___delitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"key",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString___delitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString___delitem__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(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 '" "MapStringString___delitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString___delitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  try {
    std_map_Sl_std_string_Sc_std_string_Sg____delitem__(arg1,(std::string const &)*arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_has_key(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"key",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString_has_key", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_has_key" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(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 '" "MapStringString_has_key" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString_has_key" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = (bool)std_map_Sl_std_string_Sc_std_string_Sg__has_key((std::map< std::string,std::string > const *)arg1,(std::string const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_keys(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_keys" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (PyObject *)std_map_Sl_std_string_Sc_std_string_Sg__keys(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_values(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_values" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (PyObject *)std_map_Sl_std_string_Sc_std_string_Sg__values(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_items(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_items" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (PyObject *)std_map_Sl_std_string_Sc_std_string_Sg__items(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString___contains__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"key",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString___contains__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString___contains__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(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 '" "MapStringString___contains__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString___contains__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = (bool)std_map_Sl_std_string_Sc_std_string_Sg____contains__(arg1,(std::string const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_key_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_key_iterator" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_std_string_Sg__key_iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_value_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_value_iterator" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_std_string_Sg__value_iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString___setitem__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MapStringString___setitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString___setitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  std_map_Sl_std_string_Sc_std_string_Sg____setitem____SWIG_0(arg1,(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_MapStringString___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  std::map< std::string,std::string >::mapped_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString___setitem__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MapStringString___setitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString___setitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  {
    std::string *ptr = (std::string *)0;
    res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MapStringString___setitem__" "', argument " "3"" of type '" "std::map< std::string,std::string >::mapped_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString___setitem__" "', argument " "3"" of type '" "std::map< std::string,std::string >::mapped_type const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_map_Sl_std_string_Sc_std_string_Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  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_MapStringString___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "MapStringString___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,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_MapStringString___setitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,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_MapStringString___setitem____SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MapStringString___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::map< std::string,std::string >::__setitem__(std::map< std::string,std::string >::key_type const &)\n"
    "    std::map< std::string,std::string >::__setitem__(std::map< std::string,std::string >::key_type const &,std::map< std::string,std::string >::mapped_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_MapStringString_asdict(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  PyObject *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_asdict" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (PyObject *)std_map_Sl_std_string_Sc_std_string_Sg__asdict(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_MapStringString__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::map< std::string,std::string > *)new std::map< std::string,std::string >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_std__string_std__string_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_MapStringString__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::map< std::string,std::string > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > > *ptr = (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MapStringString" "', argument " "1"" of type '" "std::map< std::string,std::string > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MapStringString" "', argument " "1"" of type '" "std::map< std::string,std::string > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::map< std::string,std::string > *)new std::map< std::string,std::string >((std::map< std::string,std::string > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_std__string_std__string_t, 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_MapStringString(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[2] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_MapStringString", 0, 1, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_MapStringString__SWIG_1(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_MapStringString__SWIG_0(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_MapStringString__SWIG_2(self, argc, argv);
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_MapStringString'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::map< std::string,std::string >::map(std::less< std::string > const &)\n"
    "    std::map< std::string,std::string >::map()\n"
    "    std::map< std::string,std::string >::map(std::map< std::string,std::string > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_MapStringString_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_empty" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (bool)((std::map< std::string,std::string > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< std::string,std::string >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_size" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = ((std::map< std::string,std::string > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_swap" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__mapT_std__string_std__string_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MapStringString_swap" "', argument " "2"" of type '" "std::map< std::string,std::string > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString_swap" "', argument " "2"" of type '" "std::map< std::string,std::string > &""'"); 
  }
  arg2 = reinterpret_cast< std::map< std::string,std::string > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< std::string,std::string >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_begin" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< std::string,std::string >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_end" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< std::string,std::string >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_rbegin" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,std::string >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::map< std::string,std::string >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_rend" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,std::string >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_clear" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< std::pair< std::string const,std::string > > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_get_allocator" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  result = ((std::map< std::string,std::string > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::map< std::string,std::string >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_std__string_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  std::map< std::string,std::string >::size_type result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_erase" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MapStringString_erase" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString_erase" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = (arg1)->erase((std::map< std::string,std::string >::key_type const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_count(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::map< std::string,std::string >::size_type result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString_count", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_count" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(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 '" "MapStringString_count" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString_count" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = ((std::map< std::string,std::string > const *)arg1)->count((std::map< std::string,std::string >::key_type const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_erase" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapStringString_erase" "', argument " "2"" of type '" "std::map< std::string,std::string >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapStringString_erase" "', argument " "2"" of type '" "std::map< std::string,std::string >::iterator""'");
    }
  }
  std_map_Sl_std_string_Sc_std_string_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_erase__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::iterator arg2 ;
  std::map< std::string,std::string >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_erase" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapStringString_erase" "', argument " "2"" of type '" "std::map< std::string,std::string >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapStringString_erase" "', argument " "2"" of type '" "std::map< std::string,std::string >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapStringString_erase" "', argument " "3"" of type '" "std::map< std::string,std::string >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "MapStringString_erase" "', argument " "3"" of type '" "std::map< std::string,std::string >::iterator""'");
    }
  }
  std_map_Sl_std_string_Sc_std_string_Sg__erase__SWIG_2(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "MapStringString_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_MapStringString_erase__SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,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_MapStringString_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,std::string >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_MapStringString_erase__SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MapStringString_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::map< std::string,std::string >::erase(std::map< std::string,std::string >::key_type const &)\n"
    "    std::map< std::string,std::string >::erase(std::map< std::string,std::string >::iterator)\n"
    "    std::map< std::string,std::string >::erase(std::map< std::string,std::string >::iterator,std::map< std::string,std::string >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_MapStringString_find(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::map< std::string,std::string >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString_find", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_find" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(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 '" "MapStringString_find" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString_find" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = (arg1)->find((std::map< std::string,std::string >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_lower_bound(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::map< std::string,std::string >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString_lower_bound", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_lower_bound" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(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 '" "MapStringString_lower_bound" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString_lower_bound" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = (arg1)->lower_bound((std::map< std::string,std::string >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_MapStringString_upper_bound(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  std::map< std::string,std::string >::key_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  std::map< std::string,std::string >::iterator result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:MapStringString_upper_bound", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MapStringString_upper_bound" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(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 '" "MapStringString_upper_bound" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MapStringString_upper_bound" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = (arg1)->upper_bound((std::map< std::string,std::string >::key_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_MapStringString(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MapStringString" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::map< std::string,std::string > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *MapStringString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__mapT_std__string_std__string_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *MapStringString_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorString_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_iterator" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_std_string_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___nonzero__" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (bool)std_vector_Sl_std_string_Sg____nonzero__((std::vector< std::string > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___bool__" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (bool)std_vector_Sl_std_string_Sg____bool__((std::vector< std::string > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___len__" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = std_vector_Sl_std_string_Sg____len__((std::vector< std::string > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::difference_type arg2 ;
  std::vector< std::string >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< std::string,std::allocator< std::string > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorString___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___getslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString___getslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorString___getslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::string >::difference_type >(val3);
  try {
    result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::difference_type arg2 ;
  std::vector< std::string >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___setslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString___setslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorString___setslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::string >::difference_type >(val3);
  try {
    std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::difference_type arg2 ;
  std::vector< std::string >::difference_type arg3 ;
  std::vector< std::string,std::allocator< std::string > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___setslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString___setslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorString___setslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::string >::difference_type >(val3);
  {
    std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorString___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::string,std::allocator< std::string > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorString___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< std::string,std::allocator< std::string > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorString___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type)\n"
    "    std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type,std::vector< std::string,std::allocator< std::string > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::difference_type arg2 ;
  std::vector< std::string >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorString___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___delslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString___delslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorString___delslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::string >::difference_type >(val3);
  try {
    std_vector_Sl_std_string_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___delitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
  try {
    std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< std::string,std::allocator< std::string > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___getitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___setitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorString___setitem__" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString___setitem__" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_std_string_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___setitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_std_string_Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___delitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_std_string_Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorString___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorString___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::string >::__delitem__(std::vector< std::string >::difference_type)\n"
    "    std::vector< std::string >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< std::string >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___getitem__" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
  try {
    result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
  (void)swig::container_owner<swig::traits<std::vector< std::string >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorString___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorString___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::string >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< std::string >::__getitem__(std::vector< std::string >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::difference_type arg2 ;
  std::vector< std::string >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString___setitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
  {
    std::string *ptr = (std::string *)0;
    res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorString___setitem__" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString___setitem__" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorString___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< std::string,std::allocator< std::string > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorString___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _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_VectorString___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::string >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::string,std::allocator< std::string > > const &)\n"
    "    std::vector< std::string >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type,std::vector< std::string >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorString_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_pop" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  try {
    result = std_vector_Sl_std_string_Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorString_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_append" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(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 '" "VectorString_append" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString_append" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    arg2 = ptr;
  }
  std_vector_Sl_std_string_Sg__append(arg1,(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_new_VectorString__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< std::string > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< std::string > *)new std::vector< std::string >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorString__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< std::string > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorString" "', argument " "1"" of type '" "std::vector< std::string > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorString" "', argument " "1"" of type '" "std::vector< std::string > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< std::string > *)new std::vector< std::string >((std::vector< std::string > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_empty" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (bool)((std::vector< std::string > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_size" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = ((std::vector< std::string > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorString_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_swap" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_std__string_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorString_swap" "', argument " "2"" of type '" "std::vector< std::string > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString_swap" "', argument " "2"" of type '" "std::vector< std::string > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::string > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_begin" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_end" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_rbegin" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_rend" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_clear" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< std::string > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_get_allocator" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = ((std::vector< std::string > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorString__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< std::string > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorString" "', argument " "1"" of type '" "std::vector< std::string >::size_type""'");
  } 
  arg1 = static_cast< std::vector< std::string >::size_type >(val1);
  result = (std::vector< std::string > *)new std::vector< std::string >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_pop_back" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_resize" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString_resize" "', argument " "2"" of type '" "std::vector< std::string >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< std::string >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_erase" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::string >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
    }
  }
  result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::iterator arg2 ;
  std::vector< std::string >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< std::string >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_erase" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::string >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "3"" of type '" "std::vector< std::string >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::string >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "3"" of type '" "std::vector< std::string >::iterator""'");
    }
  }
  result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorString_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorString_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::string >::erase(std::vector< std::string >::iterator)\n"
    "    std::vector< std::string >::erase(std::vector< std::string >::iterator,std::vector< std::string >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorString__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string >::size_type arg1 ;
  std::vector< std::string >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  std::vector< std::string > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorString" "', argument " "1"" of type '" "std::vector< std::string >::size_type""'");
  } 
  arg1 = static_cast< std::vector< std::string >::size_type >(val1);
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorString" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorString" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    arg2 = ptr;
  }
  result = (std::vector< std::string > *)new std::vector< std::string >(arg1,(std::vector< std::string >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorString(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorString", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorString__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorString__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorString__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _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_VectorString__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorString'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::string >::vector()\n"
    "    std::vector< std::string >::vector(std::vector< std::string > const &)\n"
    "    std::vector< std::string >::vector(std::vector< std::string >::size_type)\n"
    "    std::vector< std::string >::vector(std::vector< std::string >::size_type,std::vector< std::string >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorString_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorString_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_push_back" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(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 '" "VectorString_push_back" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString_push_back" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    arg2 = ptr;
  }
  (arg1)->push_back((std::vector< std::string >::value_type 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_VectorString_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_front" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (std::vector< std::string >::value_type *) &((std::vector< std::string > const *)arg1)->front();
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
  (void)swig::container_owner<swig::traits<std::vector< std::string >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_back" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = (std::vector< std::string >::value_type *) &((std::vector< std::string > const *)arg1)->back();
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
  (void)swig::container_owner<swig::traits<std::vector< std::string >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::size_type arg2 ;
  std::vector< std::string >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorString_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_assign" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString_assign" "', argument " "2"" of type '" "std::vector< std::string >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::size_type >(val2);
  {
    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 '" "VectorString_assign" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString_assign" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    arg3 = ptr;
  }
  (arg1)->assign(arg2,(std::vector< std::string >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::size_type arg2 ;
  std::vector< std::string >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_resize" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString_resize" "', argument " "2"" of type '" "std::vector< std::string >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::size_type >(val2);
  {
    std::string *ptr = (std::string *)0;
    res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorString_resize" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString_resize" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    arg3 = ptr;
  }
  (arg1)->resize(arg2,(std::vector< std::string >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorString_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _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_VectorString_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::string >::resize(std::vector< std::string >::size_type)\n"
    "    std::vector< std::string >::resize(std::vector< std::string >::size_type,std::vector< std::string >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::iterator arg2 ;
  std::vector< std::string >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  int res3 = SWIG_OLDOBJ ;
  std::vector< std::string >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_insert" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_insert" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::string >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_insert" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
    }
  }
  {
    std::string *ptr = (std::string *)0;
    res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorString_insert" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString_insert" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    arg3 = ptr;
  }
  result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::iterator arg2 ;
  std::vector< std::string >::size_type arg3 ;
  std::vector< std::string >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_insert" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_insert" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::string >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_insert" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorString_insert" "', argument " "3"" of type '" "std::vector< std::string >::size_type""'");
  } 
  arg3 = static_cast< std::vector< std::string >::size_type >(val3);
  {
    std::string *ptr = (std::string *)0;
    res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorString_insert" "', argument " "4"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorString_insert" "', argument " "4"" of type '" "std::vector< std::string >::value_type const &""'"); 
    }
    arg4 = ptr;
  }
  std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::string const &)*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
      if (_v) {
        int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorString_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorString_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::string >::insert(std::vector< std::string >::iterator,std::vector< std::string >::value_type const &)\n"
    "    std::vector< std::string >::insert(std::vector< std::string >::iterator,std::vector< std::string >::size_type,std::vector< std::string >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorString_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorString_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_reserve" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorString_reserve" "', argument " "2"" of type '" "std::vector< std::string >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::string >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorString_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::string >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorString_capacity" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  result = ((std::vector< std::string > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorString(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__string_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorString" "', argument " "1"" of type '" "std::vector< std::string > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_std__string_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorString_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_VectorPairInt_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_iterator" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___nonzero__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (bool)std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____nonzero__((std::vector< std::pair< int,int > > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___bool__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (bool)std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____bool__((std::vector< std::pair< int,int > > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___len__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____len__((std::vector< std::pair< int,int > > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::difference_type arg2 ;
  std::vector< std::pair< int,int > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorPairInt___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___getslice__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt___getslice__" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorPairInt___getslice__" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val3);
  try {
    result = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::difference_type arg2 ;
  std::vector< std::pair< int,int > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___setslice__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt___setslice__" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorPairInt___setslice__" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val3);
  try {
    std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::difference_type arg2 ;
  std::vector< std::pair< int,int > >::difference_type arg3 ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___setslice__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt___setslice__" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorPairInt___setslice__" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val3);
  {
    std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *ptr = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorPairInt___setslice__" "', argument " "4"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt___setslice__" "', argument " "4"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorPairInt___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_VectorPairInt___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorPairInt___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorPairInt___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::pair< int,int > >::__setslice__(std::vector< std::pair< int,int > >::difference_type,std::vector< std::pair< int,int > >::difference_type)\n"
    "    std::vector< std::pair< int,int > >::__setslice__(std::vector< std::pair< int,int > >::difference_type,std::vector< std::pair< int,int > >::difference_type,std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::difference_type arg2 ;
  std::vector< std::pair< int,int > >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorPairInt___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___delslice__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt___delslice__" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorPairInt___delslice__" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val3);
  try {
    std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___delitem__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt___delitem__" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val2);
  try {
    std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___getitem__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___setitem__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *ptr = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorPairInt___setitem__" "', argument " "3"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt___setitem__" "', argument " "3"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___setitem__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___delitem__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorPairInt___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorPairInt___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorPairInt___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorPairInt___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::pair< int,int > >::__delitem__(std::vector< std::pair< int,int > >::difference_type)\n"
    "    std::vector< std::pair< int,int > >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< std::pair< int,int > >::value_type *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___getitem__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt___getitem__" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val2);
  try {
    result = (std::vector< std::pair< int,int > >::value_type *) &std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getitem____SWIG_1((std::vector< std::pair< int,int > > const *)arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_int_int_t, 0 |  0 );
  (void)swig::container_owner<swig::traits<std::vector< std::pair< int,int > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorPairInt___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorPairInt___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorPairInt___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorPairInt___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::pair< int,int > >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< std::pair< int,int > >::__getitem__(std::vector< std::pair< int,int > >::difference_type) const\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::difference_type arg2 ;
  std::vector< std::pair< int,int > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt___setitem__" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt___setitem__" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::difference_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__pairT_int_int_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorPairInt___setitem__" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt___setitem__" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  arg3 = reinterpret_cast< std::vector< std::pair< int,int > >::value_type * >(argp3);
  try {
    std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::pair< int,int > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorPairInt___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_VectorPairInt___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorPairInt___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_NO_NULL | 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorPairInt___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorPairInt___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::pair< int,int > >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &)\n"
    "    std::vector< std::pair< int,int > >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< std::pair< int,int > >::__setitem__(std::vector< std::pair< int,int > >::difference_type,std::vector< std::pair< int,int > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::pair< int,int > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_pop" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  try {
    result = std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj((new std::vector< std::pair< int,int > >::value_type(result)), SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorPairInt_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_append" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__pairT_int_int_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorPairInt_append" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt_append" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::pair< int,int > >::value_type * >(argp2);
  std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__append(arg1,(std::pair< int,int > const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorPairInt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< std::pair< int,int > > *)new std::vector< std::pair< int,int > >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorPairInt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< std::pair< int,int > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *ptr = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorPairInt" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorPairInt" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< std::pair< int,int > > *)new std::vector< std::pair< int,int > >((std::vector< std::pair< int,int > > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_empty" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (bool)((std::vector< std::pair< int,int > > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_size" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = ((std::vector< std::pair< int,int > > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorPairInt_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_swap" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorPairInt_swap" "', argument " "2"" of type '" "std::vector< std::pair< int,int > > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt_swap" "', argument " "2"" of type '" "std::vector< std::pair< int,int > > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_begin" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< int,int > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_end" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< int,int > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_rbegin" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< int,int > >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_rend" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< int,int > >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_clear" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< std::pair< int,int > > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_get_allocator" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = ((std::vector< std::pair< int,int > > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< std::pair< int,int > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__pairT_int_int_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorPairInt__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< std::pair< int,int > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorPairInt" "', argument " "1"" of type '" "std::vector< std::pair< int,int > >::size_type""'");
  } 
  arg1 = static_cast< std::vector< std::pair< int,int > >::size_type >(val1);
  result = (std::vector< std::pair< int,int > > *)new std::vector< std::pair< int,int > >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_pop_back" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_resize" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt_resize" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< std::pair< int,int > >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_erase" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_erase" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_erase" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
    }
  }
  result = std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< int,int > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::iterator arg2 ;
  std::vector< std::pair< int,int > >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< std::pair< int,int > >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_erase" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_erase" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_erase" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_erase" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_erase" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
    }
  }
  result = std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< int,int > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorPairInt_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_VectorPairInt_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_VectorPairInt_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorPairInt_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::pair< int,int > >::erase(std::vector< std::pair< int,int > >::iterator)\n"
    "    std::vector< std::pair< int,int > >::erase(std::vector< std::pair< int,int > >::iterator,std::vector< std::pair< int,int > >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_VectorPairInt__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > >::size_type arg1 ;
  std::vector< std::pair< int,int > >::value_type *arg2 = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::vector< std::pair< int,int > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorPairInt" "', argument " "1"" of type '" "std::vector< std::pair< int,int > >::size_type""'");
  } 
  arg1 = static_cast< std::vector< std::pair< int,int > >::size_type >(val1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__pairT_int_int_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorPairInt" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorPairInt" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::pair< int,int > >::value_type * >(argp2);
  result = (std::vector< std::pair< int,int > > *)new std::vector< std::pair< int,int > >(arg1,(std::vector< std::pair< int,int > >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_VectorPairInt(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorPairInt", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_VectorPairInt__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_VectorPairInt__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_VectorPairInt__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_NO_NULL | 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_VectorPairInt__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorPairInt'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::pair< int,int > >::vector()\n"
    "    std::vector< std::pair< int,int > >::vector(std::vector< std::pair< int,int > > const &)\n"
    "    std::vector< std::pair< int,int > >::vector(std::vector< std::pair< int,int > >::size_type)\n"
    "    std::vector< std::pair< int,int > >::vector(std::vector< std::pair< int,int > >::size_type,std::vector< std::pair< int,int > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorPairInt_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_push_back" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__pairT_int_int_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorPairInt_push_back" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt_push_back" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< std::pair< int,int > >::value_type * >(argp2);
  (arg1)->push_back((std::vector< std::pair< int,int > >::value_type const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_front" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (std::vector< std::pair< int,int > >::value_type *) &((std::vector< std::pair< int,int > > const *)arg1)->front();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_int_int_t, 0 |  0 );
  (void)swig::container_owner<swig::traits<std::vector< std::pair< int,int > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::value_type *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_back" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = (std::vector< std::pair< int,int > >::value_type *) &((std::vector< std::pair< int,int > > const *)arg1)->back();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_int_int_t, 0 |  0 );
  (void)swig::container_owner<swig::traits<std::vector< std::pair< int,int > >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::size_type arg2 ;
  std::vector< std::pair< int,int > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:VectorPairInt_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_assign" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt_assign" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::size_type >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__pairT_int_int_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorPairInt_assign" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt_assign" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  arg3 = reinterpret_cast< std::vector< std::pair< int,int > >::value_type * >(argp3);
  (arg1)->assign(arg2,(std::vector< std::pair< int,int > >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::size_type arg2 ;
  std::vector< std::pair< int,int > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_resize" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt_resize" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::size_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__pairT_int_int_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorPairInt_resize" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt_resize" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  arg3 = reinterpret_cast< std::vector< std::pair< int,int > >::value_type * >(argp3);
  (arg1)->resize(arg2,(std::vector< std::pair< int,int > >::value_type const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorPairInt_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_VectorPairInt_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_NO_NULL | 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorPairInt_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorPairInt_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::pair< int,int > >::resize(std::vector< std::pair< int,int > >::size_type)\n"
    "    std::vector< std::pair< int,int > >::resize(std::vector< std::pair< int,int > >::size_type,std::vector< std::pair< int,int > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::iterator arg2 ;
  std::vector< std::pair< int,int > >::value_type *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::vector< std::pair< int,int > >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_insert" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_insert" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_insert" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__pairT_int_int_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorPairInt_insert" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt_insert" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  arg3 = reinterpret_cast< std::vector< std::pair< int,int > >::value_type * >(argp3);
  result = std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::pair< int,int > const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< int,int > >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::iterator arg2 ;
  std::vector< std::pair< int,int > >::size_type arg3 ;
  std::vector< std::pair< int,int > >::value_type *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_insert" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_insert" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorPairInt_insert" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorPairInt_insert" "', argument " "3"" of type '" "std::vector< std::pair< int,int > >::size_type""'");
  } 
  arg3 = static_cast< std::vector< std::pair< int,int > >::size_type >(val3);
  res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_std__pairT_int_int_t,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorPairInt_insert" "', argument " "4"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorPairInt_insert" "', argument " "4"" of type '" "std::vector< std::pair< int,int > >::value_type const &""'"); 
  }
  arg4 = reinterpret_cast< std::vector< std::pair< int,int > >::value_type * >(argp4);
  std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::pair< int,int > const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "VectorPairInt_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter) != 0));
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_NO_NULL | 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_VectorPairInt_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::pair< int,int > >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_NO_NULL | 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_VectorPairInt_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorPairInt_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< std::pair< int,int > >::insert(std::vector< std::pair< int,int > >::iterator,std::vector< std::pair< int,int > >::value_type const &)\n"
    "    std::vector< std::pair< int,int > >::insert(std::vector< std::pair< int,int > >::iterator,std::vector< std::pair< int,int > >::size_type,std::vector< std::pair< int,int > >::value_type const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  std::vector< std::pair< int,int > >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:VectorPairInt_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_reserve" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorPairInt_reserve" "', argument " "2"" of type '" "std::vector< std::pair< int,int > >::size_type""'");
  } 
  arg2 = static_cast< std::vector< std::pair< int,int > >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_VectorPairInt_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< std::pair< int,int > >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorPairInt_capacity" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  result = ((std::vector< std::pair< int,int > > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_VectorPairInt(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::pair< int,int > > *arg1 = (std::vector< std::pair< int,int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorPairInt" "', argument " "1"" of type '" "std::vector< std::pair< int,int > > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< std::pair< int,int > > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *VectorPairInt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *VectorPairInt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_PairVectorDouble__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::pair< std::vector< double >,std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::pair< std::vector< double >,std::vector< double > > *)new std::pair< std::vector< double >,std::vector< double > >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_PairVectorDouble__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< double,std::allocator< double > > arg1 ;
  std::vector< double,std::allocator< double > > arg2 ;
  std::pair< std::vector< double >,std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    int res = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_PairVectorDouble" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > >""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    int res = swig::asptr(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_PairVectorDouble" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > >""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  result = (std::pair< std::vector< double >,std::vector< double > > *)new std::pair< std::vector< double >,std::vector< double > >(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_PairVectorDouble__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::pair< std::vector< double >,std::vector< double > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PairVectorDouble" "', argument " "1"" of type '" "std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PairVectorDouble" "', argument " "1"" of type '" "std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::pair< std::vector< double >,std::vector< double > > *)new std::pair< std::vector< double >,std::vector< double > >((std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, 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_PairVectorDouble(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_PairVectorDouble", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_PairVectorDouble__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_PairVectorDouble__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0));
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_PairVectorDouble__SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_PairVectorDouble'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::pair< std::vector< double >,std::vector< double > >::pair()\n"
    "    std::pair< std::vector< double >,std::vector< double > >::pair(std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > >)\n"
    "    std::pair< std::vector< double >,std::vector< double > >::pair(std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_PairVectorDouble_first_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< double >,std::vector< double > > *arg1 = (std::pair< std::vector< double >,std::vector< double > > *) 0 ;
  std::vector< double,std::allocator< double > > *arg2 = (std::vector< double,std::allocator< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "PairVectorDouble_first_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PairVectorDouble_first_set" "', argument " "1"" of type '" "std::pair< std::vector< double >,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< double >,std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PairVectorDouble_first_set" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > *""'"); 
  }
  arg2 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp2);
  if (arg1) (arg1)->first = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PairVectorDouble_first_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< double >,std::vector< double > > *arg1 = (std::pair< std::vector< double >,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double,std::allocator< double > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PairVectorDouble_first_get" "', argument " "1"" of type '" "std::pair< std::vector< double >,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< double >,std::vector< double > > * >(argp1);
  result = (std::vector< double,std::allocator< double > > *)& ((arg1)->first);
  {
    resultobj = swig::from(static_cast<std::vector< double,std::allocator< double > >>(*(result)));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PairVectorDouble_second_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< double >,std::vector< double > > *arg1 = (std::pair< std::vector< double >,std::vector< double > > *) 0 ;
  std::vector< double,std::allocator< double > > *arg2 = (std::vector< double,std::allocator< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "PairVectorDouble_second_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PairVectorDouble_second_set" "', argument " "1"" of type '" "std::pair< std::vector< double >,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< double >,std::vector< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PairVectorDouble_second_set" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > *""'"); 
  }
  arg2 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp2);
  if (arg1) (arg1)->second = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PairVectorDouble_second_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< double >,std::vector< double > > *arg1 = (std::pair< std::vector< double >,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double,std::allocator< double > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PairVectorDouble_second_get" "', argument " "1"" of type '" "std::pair< std::vector< double >,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< double >,std::vector< double > > * >(argp1);
  result = (std::vector< double,std::allocator< double > > *)& ((arg1)->second);
  {
    resultobj = swig::from(static_cast<std::vector< double,std::allocator< double > >>(*(result)));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_PairVectorDouble(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< double >,std::vector< double > > *arg1 = (std::pair< std::vector< double >,std::vector< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PairVectorDouble" "', argument " "1"" of type '" "std::pair< std::vector< double >,std::vector< double > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< double >,std::vector< double > > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *PairVectorDouble_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *PairVectorDouble_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_PairVectorInt64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *)new std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_PairVectorInt64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< unsigned long long,std::allocator< unsigned long long > > arg1 ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > arg2 ;
  std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  {
    std::vector< unsigned long long,std::allocator< unsigned long long > > *ptr = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)0;
    int res = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_PairVectorInt64" "', argument " "1"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > >""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    std::vector< unsigned long long,std::allocator< unsigned long long > > *ptr = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)0;
    int res = swig::asptr(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_PairVectorInt64" "', argument " "2"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > >""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  result = (std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *)new std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > >(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_PairVectorInt64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > *ptr = (std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PairVectorInt64" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PairVectorInt64" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *)new std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > >((std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, 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_PairVectorInt64(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_PairVectorInt64", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_PairVectorInt64__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_PairVectorInt64__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = swig::asptr(argv[1], (std::vector< unsigned long long,std::allocator< unsigned long long > >**)(0));
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_PairVectorInt64__SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_PairVectorInt64'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > >::pair()\n"
    "    std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > >::pair(std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > >)\n"
    "    std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > >::pair(std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_PairVectorInt64_first_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *arg1 = (std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *) 0 ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *arg2 = (std::vector< unsigned long long,std::allocator< unsigned long long > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "PairVectorInt64_first_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PairVectorInt64_first_set" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PairVectorInt64_first_set" "', argument " "2"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > *""'"); 
  }
  arg2 = reinterpret_cast< std::vector< unsigned long long,std::allocator< unsigned long long > > * >(argp2);
  if (arg1) (arg1)->first = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PairVectorInt64_first_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *arg1 = (std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PairVectorInt64_first_get" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > * >(argp1);
  result = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)& ((arg1)->first);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PairVectorInt64_second_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *arg1 = (std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *) 0 ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *arg2 = (std::vector< unsigned long long,std::allocator< unsigned long long > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "PairVectorInt64_second_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PairVectorInt64_second_set" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PairVectorInt64_second_set" "', argument " "2"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > *""'"); 
  }
  arg2 = reinterpret_cast< std::vector< unsigned long long,std::allocator< unsigned long long > > * >(argp2);
  if (arg1) (arg1)->second = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PairVectorInt64_second_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *arg1 = (std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PairVectorInt64_second_get" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > * >(argp1);
  result = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)& ((arg1)->second);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_PairVectorInt64(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *arg1 = (std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PairVectorInt64" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *PairVectorInt64_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *PairVectorInt64_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_utf8_to_native(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"utf8_str",  NULL 
  };
  std::string result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:utf8_to_native", kwnames, &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 '" "utf8_to_native" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "utf8_to_native" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  result = utf8_to_native((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_native_to_utf8(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"native_str",  NULL 
  };
  std::string result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:native_to_utf8", kwnames, &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 '" "native_to_utf8" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "native_to_utf8" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  result = native_to_utf8((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_open_file(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  char *arg2 = (char *) 0 ;
  int res1 = SWIG_OLDOBJ ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"filename",  (char *)"mode",  NULL 
  };
  FILE *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:open_file", kwnames, &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 '" "open_file" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "open_file" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "open_file" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  result = (FILE *)open_file((std::string const &)*arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_isHDF5File(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"filename",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:isHDF5File", kwnames, &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 '" "isHDF5File" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "isHDF5File" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  result = (bool)isHDF5File((std::string const &)*arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_isSMFile(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"filename",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:isSMFile", kwnames, &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 '" "isSMFile" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "isSMFile" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  result = (bool)isSMFile((std::string const &)*arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_isPTUFile(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"filename",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:isPTUFile", kwnames, &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 '" "isPTUFile" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "isPTUFile" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  result = (bool)isPTUFile((std::string const &)*arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_isHT3File(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"filename",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:isHT3File", kwnames, &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 '" "isHT3File" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "isHT3File" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  result = (bool)isHT3File((std::string const &)*arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_isBH132File(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"filename",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:isBH132File", kwnames, &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 '" "isBH132File" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "isBH132File" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  result = (bool)isBH132File((std::string const &)*arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_inferTTTRFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"fn",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:inferTTTRFileType", kwnames, &obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "inferTTTRFileType" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  result = (int)inferTTTRFileType((char const *)arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_isCZConfocor3File(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"filename",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:isCZConfocor3File", kwnames, &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 '" "isCZConfocor3File" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "isCZConfocor3File" "', argument " "1"" of type '" "std::string const &""'"); 
    }
    arg1 = ptr;
  }
  result = (bool)isCZConfocor3File((std::string const &)*arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_get_supported_filetypes(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string,std::allocator< std::string > > result;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "get_supported_filetypes", 0, 0, 0)) SWIG_fail;
  result = get_supported_filetypes();
  resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN int Swig_var_TTTRTagRes_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable TTTRTagRes is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_TTTRTagRes_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(TTTRTagRes));
  return pyobj;
}


SWIGINTERN int Swig_var_TTTRTagGlobRes_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable TTTRTagGlobRes is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_TTTRTagGlobRes_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(TTTRTagGlobRes));
  return pyobj;
}


SWIGINTERN int Swig_var_TTTRSyncRate_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable TTTRSyncRate is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_TTTRSyncRate_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(TTTRSyncRate));
  return pyobj;
}


SWIGINTERN int Swig_var_TTTRNMicroTimes_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable TTTRNMicroTimes is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_TTTRNMicroTimes_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(TTTRNMicroTimes));
  return pyobj;
}


SWIGINTERN int Swig_var_TTTRRecordType_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable TTTRRecordType is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_TTTRRecordType_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(TTTRRecordType));
  return pyobj;
}


SWIGINTERN int Swig_var_TTTRContainerType_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable TTTRContainerType is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_TTTRContainerType_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(TTTRContainerType));
  return pyobj;
}


SWIGINTERN int Swig_var_TTTRTagTTTRRecType_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable TTTRTagTTTRRecType is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_TTTRTagTTTRRecType_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(TTTRTagTTTRRecType));
  return pyobj;
}


SWIGINTERN int Swig_var_TTTRTagBits_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable TTTRTagBits is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_TTTRTagBits_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(TTTRTagBits));
  return pyobj;
}


SWIGINTERN int Swig_var_FileTagEnd_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable FileTagEnd is read-only.");
  return 1;
}


SWIGINTERN PyObject *Swig_var_FileTagEnd_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_std_string(static_cast< std::string >(FileTagEnd));
  return pyobj;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_get_tag(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  nlohmann::json arg1 ;
  std::string *arg2 = 0 ;
  int arg3 = (int) -1 ;
  void *argp1 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"json_data",  (char *)"name",  (char *)"idx",  NULL 
  };
  nlohmann::json result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRHeader_get_tag", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_nlohmann__json,  0  | 0);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_get_tag" "', argument " "1"" of type '" "nlohmann::json""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_get_tag" "', argument " "1"" of type '" "nlohmann::json""'");
    } else {
      nlohmann::json * temp = reinterpret_cast< nlohmann::json * >(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 '" "TTTRHeader_get_tag" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_get_tag" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    arg2 = ptr;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRHeader_get_tag" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  result = TTTRHeader::get_tag(SWIG_STD_MOVE(arg1),(std::string const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj((new nlohmann::json(result)), SWIGTYPE_p_nlohmann__json, SWIG_POINTER_OWN |  0 );
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_find_tag(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  nlohmann::json *arg1 = 0 ;
  std::string *arg2 = 0 ;
  int arg3 = (int) -1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"json_data",  (char *)"name",  (char *)"idx",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRHeader_find_tag", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_nlohmann__json,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_find_tag" "', argument " "1"" of type '" "nlohmann::json &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_find_tag" "', argument " "1"" of type '" "nlohmann::json &""'"); 
  }
  arg1 = reinterpret_cast< nlohmann::json * >(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 '" "TTTRHeader_find_tag" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_find_tag" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    arg2 = ptr;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRHeader_find_tag" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  result = (int)TTTRHeader::find_tag(*arg1,(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_TTTRHeader_add_tag(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  nlohmann::json *arg1 = 0 ;
  std::string *arg2 = 0 ;
  std::any arg3 ;
  unsigned int arg4 = (unsigned int) tyAnsiString ;
  int arg5 = (int) -1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  void *argp3 ;
  int res3 = 0 ;
  unsigned 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 ;
  char * kwnames[] = {
    (char *)"json_data",  (char *)"name",  (char *)"value",  (char *)"type",  (char *)"idx",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OO:TTTRHeader_add_tag", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_nlohmann__json,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_add_tag" "', argument " "1"" of type '" "nlohmann::json &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_add_tag" "', argument " "1"" of type '" "nlohmann::json &""'"); 
  }
  arg1 = reinterpret_cast< nlohmann::json * >(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 '" "TTTRHeader_add_tag" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_add_tag" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    arg2 = ptr;
  }
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__any,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TTTRHeader_add_tag" "', argument " "3"" of type '" "std::any""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_add_tag" "', argument " "3"" of type '" "std::any""'");
    } else {
      std::any * temp = reinterpret_cast< std::any * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTRHeader_add_tag" "', argument " "4"" of type '" "unsigned int""'");
    } 
    arg4 = static_cast< unsigned int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTRHeader_add_tag" "', argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  TTTRHeader::add_tag(*arg1,(std::string const &)*arg2,SWIG_STD_MOVE(arg3),arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_get_bytes_per_record(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_get_bytes_per_record" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (arg1)->get_bytes_per_record();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_end" "', argument " "1"" of type '" "TTTRHeader const *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = ((TTTRHeader const *)arg1)->end();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_size" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_get_pixel_duration(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_get_pixel_duration" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (int)(arg1)->get_pixel_duration();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_get_line_duration(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_get_line_duration" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (int)(arg1)->get_line_duration();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_get_effective_number_of_micro_time_channels(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_get_effective_number_of_micro_time_channels" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (unsigned int)(arg1)->get_effective_number_of_micro_time_channels();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRHeader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  TTTRHeader *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (TTTRHeader *)new TTTRHeader();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRHeader, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRHeader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  TTTRHeader *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TTTRHeader" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  result = (TTTRHeader *)new TTTRHeader(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRHeader, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRHeader__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TTTRHeader *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_TTTRHeader,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTRHeader" "', argument " "1"" of type '" "TTTRHeader const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TTTRHeader" "', argument " "1"" of type '" "TTTRHeader const &""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (TTTRHeader *)new TTTRHeader((TTTRHeader const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRHeader, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRHeader__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::string arg1 ;
  int arg2 = (int) 0 ;
  int val2 ;
  int ecode2 = 0 ;
  TTTRHeader *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 2)) SWIG_fail;
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_TTTRHeader" "', argument " "1"" of type '" "std::string""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  if (swig_obj[1]) {
    ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TTTRHeader" "', argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  result = (TTTRHeader *)new TTTRHeader(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRHeader, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRHeader(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_TTTRHeader", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_TTTRHeader__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_TTTRHeader, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_TTTRHeader__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_TTTRHeader__SWIG_1(self, argc, argv);
    }
  }
  if ((argc >= 1) && (argc <= 2)) {
    int _v = 0;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      if (argc <= 1) {
        return _wrap_new_TTTRHeader__SWIG_3(self, argc, argv);
      }
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_TTTRHeader__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_TTTRHeader'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    TTTRHeader::TTTRHeader()\n"
    "    TTTRHeader::TTTRHeader(int)\n"
    "    TTTRHeader::TTTRHeader(TTTRHeader const &)\n"
    "    TTTRHeader::TTTRHeader(std::string,int)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_delete_TTTRHeader(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TTTRHeader" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_read_ptu_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::FILE *arg1 = (std::FILE *) 0 ;
  int *arg2 = 0 ;
  nlohmann::json *arg3 = 0 ;
  bool arg4 = (bool) true ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"fpin",  (char *)"tttr_record_type",  (char *)"json_data",  (char *)"rewind",  NULL 
  };
  size_t result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|O:TTTRHeader_read_ptu_header", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__FILE, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_read_ptu_header" "', argument " "1"" of type '" "std::FILE *""'"); 
  }
  arg1 = reinterpret_cast< std::FILE * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_read_ptu_header" "', argument " "2"" of type '" "int &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_read_ptu_header" "', argument " "2"" of type '" "int &""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_nlohmann__json,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TTTRHeader_read_ptu_header" "', argument " "3"" of type '" "nlohmann::json &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_read_ptu_header" "', argument " "3"" of type '" "nlohmann::json &""'"); 
  }
  arg3 = reinterpret_cast< nlohmann::json * >(argp3);
  if (obj3) {
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTRHeader_read_ptu_header" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  result = TTTRHeader::read_ptu_header(arg1,*arg2,*arg3,arg4);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_read_photon_hdf5_setup(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"fn",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRHeader_read_photon_hdf5_setup", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_read_photon_hdf5_setup" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_read_photon_hdf5_setup" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  result = (int)(arg1)->read_photon_hdf5_setup((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_TTTRHeader_read_ht3_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::FILE *arg1 = (std::FILE *) 0 ;
  nlohmann::json *arg2 = 0 ;
  bool arg3 = (bool) true ;
  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 ;
  char * kwnames[] = {
    (char *)"fpin",  (char *)"data",  (char *)"rewind",  NULL 
  };
  size_t result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRHeader_read_ht3_header", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__FILE, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_read_ht3_header" "', argument " "1"" of type '" "std::FILE *""'"); 
  }
  arg1 = reinterpret_cast< std::FILE * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_nlohmann__json,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_read_ht3_header" "', argument " "2"" of type '" "nlohmann::json &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_read_ht3_header" "', argument " "2"" of type '" "nlohmann::json &""'"); 
  }
  arg2 = reinterpret_cast< nlohmann::json * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRHeader_read_ht3_header" "', argument " "3"" of type '" "bool""'");
    } 
    arg3 = static_cast< bool >(val3);
  }
  result = TTTRHeader::read_ht3_header(arg1,*arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_read_sm_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  FILE *arg1 = (FILE *) 0 ;
  nlohmann::json *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"file",  (char *)"j",  NULL 
  };
  size_t result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRHeader_read_sm_header", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FILE, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_read_sm_header" "', argument " "1"" of type '" "FILE *""'"); 
  }
  arg1 = reinterpret_cast< FILE * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_nlohmann__json,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_read_sm_header" "', argument " "2"" of type '" "nlohmann::json &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_read_sm_header" "', argument " "2"" of type '" "nlohmann::json &""'"); 
  }
  arg2 = reinterpret_cast< nlohmann::json * >(argp2);
  result = TTTRHeader::read_sm_header(arg1,*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_read_bh132_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::FILE *arg1 = (std::FILE *) 0 ;
  nlohmann::json *arg2 = 0 ;
  bool arg3 = (bool) true ;
  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 ;
  char * kwnames[] = {
    (char *)"fpin",  (char *)"data",  (char *)"rewind",  NULL 
  };
  size_t result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRHeader_read_bh132_header", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__FILE, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_read_bh132_header" "', argument " "1"" of type '" "std::FILE *""'"); 
  }
  arg1 = reinterpret_cast< std::FILE * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_nlohmann__json,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_read_bh132_header" "', argument " "2"" of type '" "nlohmann::json &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_read_bh132_header" "', argument " "2"" of type '" "nlohmann::json &""'"); 
  }
  arg2 = reinterpret_cast< nlohmann::json * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRHeader_read_bh132_header" "', argument " "3"" of type '" "bool""'");
    } 
    arg3 = static_cast< bool >(val3);
  }
  result = TTTRHeader::read_bh132_header(arg1,*arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_read_cz_confocor3_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::FILE *arg1 = (std::FILE *) 0 ;
  nlohmann::json *arg2 = 0 ;
  bool arg3 = (bool) true ;
  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 ;
  char * kwnames[] = {
    (char *)"fpin",  (char *)"data",  (char *)"rewind",  NULL 
  };
  size_t result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRHeader_read_cz_confocor3_header", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__FILE, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_read_cz_confocor3_header" "', argument " "1"" of type '" "std::FILE *""'"); 
  }
  arg1 = reinterpret_cast< std::FILE * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_nlohmann__json,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_read_cz_confocor3_header" "', argument " "2"" of type '" "nlohmann::json &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRHeader_read_cz_confocor3_header" "', argument " "2"" of type '" "nlohmann::json &""'"); 
  }
  arg2 = reinterpret_cast< nlohmann::json * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRHeader_read_cz_confocor3_header" "', argument " "3"" of type '" "bool""'");
    } 
    arg3 = static_cast< bool >(val3);
  }
  result = TTTRHeader::read_cz_confocor3_header(arg1,*arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_write_spc132_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string arg1 ;
  TTTRHeader *arg2 = (TTTRHeader *) 0 ;
  std::string arg3 = (std::string) "w" ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"fn",  (char *)"header",  (char *)"modes",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRHeader_write_spc132_header", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj0, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRHeader_write_spc132_header" "', argument " "1"" of type '" "std::string""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_write_spc132_header" "', argument " "2"" of type '" "TTTRHeader *""'"); 
  }
  arg2 = reinterpret_cast< TTTRHeader * >(argp2);
  if (obj2) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRHeader_write_spc132_header" "', argument " "3"" of type '" "std::string""'"); 
      }
      arg3 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  TTTRHeader::write_spc132_header(SWIG_STD_MOVE(arg1),arg2,SWIG_STD_MOVE(arg3));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_write_ptu_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string arg1 ;
  TTTRHeader *arg2 = (TTTRHeader *) 0 ;
  std::string arg3 = (std::string) "wb" ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"fn",  (char *)"header",  (char *)"modes",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRHeader_write_ptu_header", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj0, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRHeader_write_ptu_header" "', argument " "1"" of type '" "std::string""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_write_ptu_header" "', argument " "2"" of type '" "TTTRHeader *""'"); 
  }
  arg2 = reinterpret_cast< TTTRHeader * >(argp2);
  if (obj2) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRHeader_write_ptu_header" "', argument " "3"" of type '" "std::string""'"); 
      }
      arg3 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  TTTRHeader::write_ptu_header(SWIG_STD_MOVE(arg1),arg2,SWIG_STD_MOVE(arg3));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_write_ht3_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::string arg1 ;
  TTTRHeader *arg2 = (TTTRHeader *) 0 ;
  std::string arg3 = (std::string) "wb" ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"fn",  (char *)"header",  (char *)"modes",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRHeader_write_ht3_header", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj0, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRHeader_write_ht3_header" "', argument " "1"" of type '" "std::string""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRHeader_write_ht3_header" "', argument " "2"" of type '" "TTTRHeader *""'"); 
  }
  arg2 = reinterpret_cast< TTTRHeader * >(argp2);
  if (obj2) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRHeader_write_ht3_header" "', argument " "3"" of type '" "std::string""'"); 
      }
      arg3 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  TTTRHeader::write_ht3_header(SWIG_STD_MOVE(arg1),arg2,SWIG_STD_MOVE(arg3));
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_get_json(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  std::string arg2 = (std::string) "" ;
  int arg3 = (int) -1 ;
  int arg4 = (int) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tag_name",  (char *)"idx",  (char *)"indent",  NULL 
  };
  std::string result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOO:TTTRHeader_get_json", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_get_json" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  if (obj1) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj1, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRHeader_get_json" "', argument " "2"" of type '" "std::string""'"); 
      }
      arg2 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRHeader_get_json" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTRHeader_get_json" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  result = (arg1)->get_json(arg2,arg3,arg4);
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_set_json(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  std::string arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"json_string",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRHeader_set_json", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_set_json" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj1, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRHeader_set_json" "', argument " "2"" of type '" "std::string""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  (arg1)->set_json(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_number_of_micro_time_channels_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_number_of_micro_time_channels_get" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = TTTRHeader_number_of_micro_time_channels_get(arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_macro_time_resolution_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_macro_time_resolution_get" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (double)TTTRHeader_macro_time_resolution_get(arg1);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_micro_time_resolution_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_micro_time_resolution_get" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (double)TTTRHeader_micro_time_resolution_get(arg1);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_tttr_record_type_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "TTTRHeader_tttr_record_type_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_tttr_record_type_set" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTRHeader_tttr_record_type_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  TTTRHeader_tttr_record_type_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_tttr_record_type_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_tttr_record_type_get" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (int)TTTRHeader_tttr_record_type_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_tttr_container_type_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "TTTRHeader_tttr_container_type_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_tttr_container_type_set" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTRHeader_tttr_container_type_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  TTTRHeader_tttr_container_type_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRHeader_tttr_container_type_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRHeader *arg1 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRHeader_tttr_container_type_get" "', argument " "1"" of type '" "TTTRHeader *""'"); 
  }
  arg1 = reinterpret_cast< TTTRHeader * >(argp1);
  result = (int)TTTRHeader_tttr_container_type_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *TTTRHeader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_TTTRHeader, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *TTTRHeader_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_TTTRRange(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  int arg1 = (int) -1 ;
  int arg2 = (int) -1 ;
  TTTRRange *arg3 = (TTTRRange *) nullptr ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"start",  (char *)"stop",  (char *)"other",  NULL 
  };
  TTTRRange *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOO:new_TTTRRange", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_int(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TTTRRange" "', argument " "1"" of type '" "int""'");
    } 
    arg1 = static_cast< int >(val1);
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TTTRRange" "', argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  if (obj2) {
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_TTTRRange, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TTTRRange" "', argument " "3"" of type '" "TTTRRange *""'"); 
    }
    arg3 = reinterpret_cast< TTTRRange * >(argp3);
  }
  result = (TTTRRange *)new TTTRRange(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRRange, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_size" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  result = (arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_get_stop_time(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  NULL 
  };
  unsigned long result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRRange_get_stop_time", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_get_stop_time" "', argument " "1"" of type '" "TTTRRange const *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_get_stop_time" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange_get_stop_time" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    } else {
      std::shared_ptr< TTTR > * temp = reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  result = (unsigned long)((TTTRRange const *)arg1)->get_stop_time(arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_get_start_time(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  NULL 
  };
  unsigned long result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRRange_get_start_time", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_get_start_time" "', argument " "1"" of type '" "TTTRRange const *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_get_start_time" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange_get_start_time" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    } else {
      std::shared_ptr< TTTR > * temp = reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  result = (unsigned long)((TTTRRange const *)arg1)->get_start_time(arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_get_start_stop_time(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  NULL 
  };
  std::vector< unsigned long,std::allocator< unsigned long > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRRange_get_start_stop_time", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_get_start_stop_time" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_get_start_stop_time" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange_get_start_stop_time" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    } else {
      std::shared_ptr< TTTR > * temp = reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  result = (arg1)->get_start_stop_time(arg2);
  resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_get_duration(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  NULL 
  };
  unsigned int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRRange_get_duration", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_get_duration" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_get_duration" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange_get_duration" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    } else {
      std::shared_ptr< TTTR > * temp = reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  result = (unsigned int)(arg1)->get_duration(arg2);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_insert(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"idx",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRRange_insert", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_insert" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTRRange_insert" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->insert(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_clear" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_strip(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  std::vector< int,std::allocator< int > > *arg2 = 0 ;
  int arg3 = (int) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_indices",  (char *)"offset",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRRange_strip", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_strip" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  {
    std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
    res2 = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_strip" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange_strip" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'"); 
    }
    arg2 = ptr;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRRange_strip" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  result = (int)(arg1)->strip((std::vector< int,std::allocator< int > > 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_TTTRRange_get_mean_microtime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  double arg3 = (double) -1.0 ;
  int arg4 = (int) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"microtime_resolution",  (char *)"minimum_number_of_photons",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OO:TTTRRange_get_mean_microtime", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_get_mean_microtime" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TTTR, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_get_mean_microtime" "', argument " "2"" of type '" "TTTR *""'"); 
  }
  arg2 = reinterpret_cast< TTTR * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRRange_get_mean_microtime" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTRRange_get_mean_microtime" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  result = (double)(arg1)->get_mean_microtime(arg2,arg3,arg4);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_get_microtime_histogram(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  double **arg3 = (double **) 0 ;
  int *arg4 = (int *) 0 ;
  double **arg5 = (double **) 0 ;
  int *arg6 = (int *) 0 ;
  unsigned short arg7 ;
  int arg8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  double *data_temp3 = NULL ;
  int dim_temp3 ;
  double *data_temp5 = NULL ;
  int dim_temp5 ;
  unsigned short val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  (char *)"micro_time_coarsening",  (char *)"minlength",  NULL 
  };
  
  {
    arg3 = &data_temp3;
    arg4 = &dim_temp3;
  }
  {
    arg5 = &data_temp5;
    arg6 = &dim_temp5;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:TTTRRange_get_microtime_histogram", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_get_microtime_histogram" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_get_microtime_histogram" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange_get_microtime_histogram" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    } else {
      std::shared_ptr< TTTR > * temp = reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  ecode7 = SWIG_AsVal_unsigned_SS_short(obj2, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTRRange_get_microtime_histogram" "', argument " "7"" of type '" "unsigned short""'");
  } 
  arg7 = static_cast< unsigned short >(val7);
  ecode8 = SWIG_AsVal_int(obj3, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TTTRRange_get_microtime_histogram" "', argument " "8"" of type '" "int""'");
  } 
  arg8 = static_cast< int >(val8);
  (arg1)->get_microtime_histogram(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg4 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg3));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg3), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg3), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    npy_intp dims[1] = {
      *arg6 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg5));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg5), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg5), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_get_mean_lifetime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  int arg3 = (int) 3 ;
  TTTR *arg4 = (TTTR *) nullptr ;
  double arg5 = (double) 1.0 ;
  double arg6 = (double) 1.0 ;
  double arg7 = (double) 1.0 ;
  std::vector< double,std::allocator< double > > *arg8 = (std::vector< double,std::allocator< double > > *) nullptr ;
  double arg9 = (double) 0.0 ;
  double arg10 = (double) 0.0 ;
  double arg11 = (double) -1.0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  double val6 ;
  int ecode6 = 0 ;
  double val7 ;
  int ecode7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  double val10 ;
  int ecode10 = 0 ;
  double 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"minimum_number_of_photons",  (char *)"tttr_irf",  (char *)"m0_irf",  (char *)"m1_irf",  (char *)"dt",  (char *)"background",  (char *)"m0_bg",  (char *)"m1_bg",  (char *)"background_fraction",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOOOOOOOO:TTTRRange_get_mean_lifetime", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7, &obj8, &obj9, &obj10)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TTTR, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "2"" of type '" "TTTR *""'"); 
  }
  arg2 = reinterpret_cast< TTTR * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_TTTR, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "4"" of type '" "TTTR *""'"); 
    }
    arg4 = reinterpret_cast< TTTR * >(argp4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_double(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "5"" of type '" "double""'");
    } 
    arg5 = static_cast< double >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_double(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_double(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "7"" of type '" "double""'");
    } 
    arg7 = static_cast< double >(val7);
  }
  if (obj7) {
    res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
    if (!SWIG_IsOK(res8)) {
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > *""'"); 
    }
    arg8 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp8);
  }
  if (obj8) {
    ecode9 = SWIG_AsVal_double(obj8, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  if (obj9) {
    ecode10 = SWIG_AsVal_double(obj9, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "10"" of type '" "double""'");
    } 
    arg10 = static_cast< double >(val10);
  }
  if (obj10) {
    ecode11 = SWIG_AsVal_double(obj10, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "TTTRRange_get_mean_lifetime" "', argument " "11"" of type '" "double""'");
    } 
    arg11 = static_cast< double >(val11);
  }
  result = (double)(arg1)->get_mean_lifetime(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_compute_mean_lifetime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int,std::allocator< int > > *arg1 = 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  int arg3 = (int) 3 ;
  TTTR *arg4 = (TTTR *) nullptr ;
  double arg5 = (double) 1.0 ;
  double arg6 = (double) 1.0 ;
  double arg7 = (double) 1.0 ;
  std::vector< double,std::allocator< double > > *arg8 = (std::vector< double,std::allocator< double > > *) nullptr ;
  double arg9 = (double) 0.0 ;
  double arg10 = (double) 0.0 ;
  double arg11 = (double) -1.0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  double val6 ;
  int ecode6 = 0 ;
  double val7 ;
  int ecode7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  double val10 ;
  int ecode10 = 0 ;
  double 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 ;
  char * kwnames[] = {
    (char *)"tttr_indices",  (char *)"tttr_data",  (char *)"minimum_number_of_photons",  (char *)"tttr_irf",  (char *)"m0_irf",  (char *)"m1_irf",  (char *)"dt",  (char *)"background",  (char *)"m0_bg",  (char *)"m1_bg",  (char *)"background_fraction",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOOOOOOOO:TTTRRange_compute_mean_lifetime", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7, &obj8, &obj9, &obj10)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__vectorT_int_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > &""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TTTR, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "2"" of type '" "TTTR *""'"); 
  }
  arg2 = reinterpret_cast< TTTR * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_TTTR, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "4"" of type '" "TTTR *""'"); 
    }
    arg4 = reinterpret_cast< TTTR * >(argp4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_double(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "5"" of type '" "double""'");
    } 
    arg5 = static_cast< double >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_double(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_double(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "7"" of type '" "double""'");
    } 
    arg7 = static_cast< double >(val7);
  }
  if (obj7) {
    res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
    if (!SWIG_IsOK(res8)) {
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > *""'"); 
    }
    arg8 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp8);
  }
  if (obj8) {
    ecode9 = SWIG_AsVal_double(obj8, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  if (obj9) {
    ecode10 = SWIG_AsVal_double(obj9, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "10"" of type '" "double""'");
    } 
    arg10 = static_cast< double >(val10);
  }
  if (obj10) {
    ecode11 = SWIG_AsVal_double(obj10, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "TTTRRange_compute_mean_lifetime" "', argument " "11"" of type '" "double""'");
    } 
    arg11 = static_cast< double >(val11);
  }
  result = (double)TTTRRange::compute_mean_lifetime(*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  TTTRRange *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"other",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRRange___eq__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange___eq__" "', argument " "1"" of type '" "TTTRRange const *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_TTTRRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange___eq__" "', argument " "2"" of type '" "TTTRRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange___eq__" "', argument " "2"" of type '" "TTTRRange const &""'"); 
  }
  arg2 = reinterpret_cast< TTTRRange * >(argp2);
  result = (bool)((TTTRRange const *)arg1)->operator ==((TTTRRange const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_TTTRRange___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  TTTRRange *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"other",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRRange___ne__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange___ne__" "', argument " "1"" of type '" "TTTRRange const *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_TTTRRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange___ne__" "', argument " "2"" of type '" "TTTRRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange___ne__" "', argument " "2"" of type '" "TTTRRange const &""'"); 
  }
  arg2 = reinterpret_cast< TTTRRange * >(argp2);
  result = (bool)((TTTRRange const *)arg1)->operator !=((TTTRRange const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_TTTRRange___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  TTTRRange *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"rhs",  NULL 
  };
  TTTRRange *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRRange___iadd__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRRange, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange___iadd__" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_TTTRRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRRange___iadd__" "', argument " "2"" of type '" "TTTRRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRRange___iadd__" "', argument " "2"" of type '" "TTTRRange const &""'"); 
  }
  arg2 = reinterpret_cast< TTTRRange * >(argp2);
  result = (TTTRRange *) &(arg1)->operator +=((TTTRRange const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRRange, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_tttr_indices_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int,std::allocator< int > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_tttr_indices_get" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  result = (std::vector< int,std::allocator< int > > *)TTTRRange_tttr_indices_get(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_start_stop_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int,std::allocator< int > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_start_stop_get" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  result = (std::vector< int,std::allocator< int > > *)TTTRRange_start_stop_get(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_start_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_start_get" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  result = (int)TTTRRange_start_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRRange_stop_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRRange_stop_get" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  result = (int)TTTRRange_stop_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_TTTRRange(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRRange *arg1 = (TTTRRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRRange, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TTTRRange" "', argument " "1"" of type '" "TTTRRange *""'"); 
  }
  arg1 = reinterpret_cast< TTTRRange * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *TTTRRange_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_TTTRRange, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *TTTRRange_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_TTTRSelection_get_tttr(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRSelection *arg1 = (TTTRSelection *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::shared_ptr< TTTR > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRSelection, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRSelection_get_tttr" "', argument " "1"" of type '" "TTTRSelection *""'"); 
  }
  arg1 = reinterpret_cast< TTTRSelection * >(argp1);
  result = (arg1)->get_tttr();
  resultobj = SWIG_NewPointerObj((new std::shared_ptr< TTTR >(result)), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRSelection_set_tttr(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRSelection *arg1 = (TTTRSelection *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRSelection_set_tttr", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRSelection, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRSelection_set_tttr" "', argument " "1"" of type '" "TTTRSelection *""'"); 
  }
  arg1 = reinterpret_cast< TTTRSelection * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRSelection_set_tttr" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTRSelection_set_tttr" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    } else {
      std::shared_ptr< TTTR > * temp = reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->set_tttr(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRSelection__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  std::shared_ptr< TTTR > arg3 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  TTTRSelection *result = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TTTRSelection" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TTTRSelection" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TTTRSelection" "', argument " "3"" of type '" "std::shared_ptr< TTTR >""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TTTRSelection" "', argument " "3"" of type '" "std::shared_ptr< TTTR >""'");
    } else {
      std::shared_ptr< TTTR > * temp = reinterpret_cast< std::shared_ptr< TTTR > * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (TTTRSelection *)new TTTRSelection(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRSelection, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRSelection__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  TTTRSelection *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TTTRSelection *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_TTTRSelection,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTRSelection" "', argument " "1"" of type '" "TTTRSelection const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TTTRSelection" "', argument " "1"" of type '" "TTTRSelection const &""'"); 
  }
  arg1 = reinterpret_cast< TTTRSelection * >(argp1);
  result = (TTTRSelection *)new TTTRSelection((TTTRSelection const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRSelection, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRSelection__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::shared_ptr< TTTR > arg1 = (std::shared_ptr< TTTR >) nullptr ;
  void *argp1 ;
  int res1 = 0 ;
  TTTRSelection *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 1)) SWIG_fail;
  if (swig_obj[0]) {
    {
      res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0  | 0);
      if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTRSelection" "', argument " "1"" of type '" "std::shared_ptr< TTTR >""'"); 
      }  
      if (!argp1) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TTTRSelection" "', argument " "1"" of type '" "std::shared_ptr< TTTR >""'");
      } else {
        std::shared_ptr< TTTR > * temp = reinterpret_cast< std::shared_ptr< TTTR > * >(argp1);
        arg1 = *temp;
        if (SWIG_IsNewObj(res1)) delete temp;
      }
    }
  }
  result = (TTTRSelection *)new TTTRSelection(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRSelection, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRSelection(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_TTTRSelection", 0, 3, argv))) SWIG_fail;
  --argc;
  if ((argc >= 0) && (argc <= 1)) {
    int _v = 0;
    if (argc <= 0) {
      return _wrap_new_TTTRSelection__SWIG_2(self, argc, argv);
    }
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_TTTRSelection__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_TTTRSelection, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_TTTRSelection__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 3) {
    int _v = 0;
    {
      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_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NO_NULL | 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_TTTRSelection__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_TTTRSelection'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    TTTRSelection::TTTRSelection(int,int,std::shared_ptr< TTTR >)\n"
    "    TTTRSelection::TTTRSelection(TTTRSelection const &)\n"
    "    TTTRSelection::TTTRSelection(std::shared_ptr< TTTR >)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_TTTRSelection_tttr_indices_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRSelection *arg1 = (TTTRSelection *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int,std::allocator< int > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRSelection, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRSelection_tttr_indices_get" "', argument " "1"" of type '" "TTTRSelection *""'"); 
  }
  arg1 = reinterpret_cast< TTTRSelection * >(argp1);
  result = (std::vector< int,std::allocator< int > > *)TTTRSelection_tttr_indices_get(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_TTTRSelection(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRSelection *arg1 = (TTTRSelection *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRSelection, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TTTRSelection" "', argument " "1"" of type '" "TTTRSelection *""'"); 
  }
  arg1 = reinterpret_cast< TTTRSelection * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *TTTRSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_TTTRSelection, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *TTTRSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_selection_by_count_rate(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  int **arg1 = (int **) 0 ;
  int *arg2 = (int *) 0 ;
  unsigned long long *arg3 = (unsigned long long *) 0 ;
  int arg4 ;
  double arg5 ;
  int arg6 ;
  double arg7 = (double) 1.0 ;
  bool arg8 = (bool) false ;
  bool arg9 = (bool) false ;
  int *data_temp1 = NULL ;
  int dim_temp1 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  double val7 ;
  int ecode7 = 0 ;
  bool val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"time",  (char *)"time_window",  (char *)"n_ph_max",  (char *)"macro_time_calibration",  (char *)"invert",  (char *)"make_mask",  NULL 
  };
  
  {
    arg1 = &data_temp1;
    arg2 = &dim_temp1;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OOO:selection_by_count_rate", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(obj0,
      NPY_ULONGLONG,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (unsigned long long*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  ecode5 = SWIG_AsVal_double(obj1, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "selection_by_count_rate" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  ecode6 = SWIG_AsVal_int(obj2, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "selection_by_count_rate" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  if (obj3) {
    ecode7 = SWIG_AsVal_double(obj3, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "selection_by_count_rate" "', argument " "7"" of type '" "double""'");
    } 
    arg7 = static_cast< double >(val7);
  }
  if (obj4) {
    ecode8 = SWIG_AsVal_bool(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "selection_by_count_rate" "', argument " "8"" of type '" "bool""'");
    } 
    arg8 = static_cast< bool >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_bool(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "selection_by_count_rate" "', argument " "9"" of type '" "bool""'");
    } 
    arg9 = static_cast< bool >(val9);
  }
  selection_by_count_rate(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg2 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg1));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg1), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg1), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_ranges_by_time_window(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  int **arg1 = (int **) 0 ;
  int *arg2 = (int *) 0 ;
  unsigned long long *arg3 = (unsigned long long *) 0 ;
  int arg4 ;
  double arg5 ;
  double arg6 = (double) -1 ;
  int arg7 = (int) -1 ;
  int arg8 = (int) -1 ;
  double arg9 = (double) 1.0 ;
  bool arg10 = (bool) false ;
  int *data_temp1 = NULL ;
  int dim_temp1 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  double val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  bool val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char * kwnames[] = {
    (char *)"input",  (char *)"minimum_window_length",  (char *)"maximum_window_length",  (char *)"minimum_number_of_photons_in_time_window",  (char *)"maximum_number_of_photons_in_time_window",  (char *)"macro_time_calibration",  (char *)"invert",  NULL 
  };
  
  {
    arg1 = &data_temp1;
    arg2 = &dim_temp1;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOOOO:ranges_by_time_window", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(obj0,
      NPY_ULONGLONG,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (unsigned long long*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  ecode5 = SWIG_AsVal_double(obj1, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ranges_by_time_window" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  if (obj2) {
    ecode6 = SWIG_AsVal_double(obj2, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ranges_by_time_window" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  if (obj3) {
    ecode7 = SWIG_AsVal_int(obj3, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ranges_by_time_window" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ranges_by_time_window" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_double(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ranges_by_time_window" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  if (obj6) {
    ecode10 = SWIG_AsVal_bool(obj6, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ranges_by_time_window" "', argument " "10"" of type '" "bool""'");
    } 
    arg10 = static_cast< bool >(val10);
  }
  ranges_by_time_window(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg2 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg1));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg1), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg1), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_compute_intensity_trace(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  int **arg1 = (int **) 0 ;
  int *arg2 = (int *) 0 ;
  unsigned long long *arg3 = (unsigned long long *) 0 ;
  int arg4 ;
  double arg5 ;
  double arg6 = (double) 1.0 ;
  int *data_temp1 = NULL ;
  int dim_temp1 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  double val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"input",  (char *)"time_window_length",  (char *)"macro_time_resolution",  NULL 
  };
  
  {
    arg1 = &data_temp1;
    arg2 = &dim_temp1;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:compute_intensity_trace", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(obj0,
      NPY_ULONGLONG,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (unsigned long long*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  ecode5 = SWIG_AsVal_double(obj1, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "compute_intensity_trace" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  if (obj2) {
    ecode6 = SWIG_AsVal_double(obj2, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "compute_intensity_trace" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  compute_intensity_trace(arg1,arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg2 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg1));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg1), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg1), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR___mod__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"mod_value",  NULL 
  };
  TTTR *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR___mod__", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR___mod__" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR___mod__" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  result = (TTTR *) &(arg1)->operator %(arg2);
  {
    std::shared_ptr<  TTTR > *smartresult = new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_0);
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_TTTR___lshift__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  long long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"offset",  NULL 
  };
  TTTR *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR___lshift__", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR___lshift__" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR___lshift__" "', argument " "2"" of type '" "long long""'");
  } 
  arg2 = static_cast< long long >(val2);
  result = (TTTR *) &(arg1)->operator <<(arg2);
  {
    std::shared_ptr<  TTTR > *smartresult = new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_0);
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_TTTR_Get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  std::shared_ptr< TTTR > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_Get" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->Get();
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_copy_from(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  TTTR *arg2 = 0 ;
  bool arg3 = (bool) true ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR const > tempshared2 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"p2",  (char *)"include_big_data",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTR_copy_from", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_copy_from" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_copy_from" "', argument " "2"" of type '" "TTTR const &""'");
    }
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTR_copy_from" "', argument " "2"" of type '" "TTTR const &""'"); 
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      arg2 = const_cast< TTTR * >(reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2)->get());
    }
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_copy_from" "', argument " "3"" of type '" "bool""'");
    } 
    arg3 = static_cast< bool >(val3);
  }
  (arg1)->copy_from((TTTR const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_read_file(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  char *arg2 = (char *) nullptr ;
  int arg3 = (int) -1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"fn",  (char *)"container_type",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OO:TTTR_read_file", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_read_file" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_read_file" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = reinterpret_cast< char * >(buf2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_read_file" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  result = (int)(arg1)->read_file((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_TTTR_get_number_of_records_by_file_size(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::FILE *arg1 = (std::FILE *) 0 ;
  size_t arg2 ;
  size_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"fp",  (char *)"offset",  (char *)"bytes_per_record",  NULL 
  };
  size_t result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:TTTR_get_number_of_records_by_file_size", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__FILE, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_number_of_records_by_file_size" "', argument " "1"" of type '" "std::FILE *""'"); 
  }
  arg1 = reinterpret_cast< std::FILE * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR_get_number_of_records_by_file_size" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_get_number_of_records_by_file_size" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = TTTR::get_number_of_records_by_file_size(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_append_events(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  unsigned long long *arg2 = (unsigned long long *) 0 ;
  int arg3 ;
  unsigned short *arg4 = (unsigned short *) 0 ;
  int arg5 ;
  signed char *arg6 = (signed char *) 0 ;
  int arg7 ;
  signed char *arg8 = (signed char *) 0 ;
  int arg9 ;
  bool arg10 = (bool) true ;
  long long arg11 = (long long) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyArrayObject *array4 = NULL ;
  int is_new_object4 = 0 ;
  PyArrayObject *array6 = NULL ;
  int is_new_object6 = 0 ;
  PyArrayObject *array8 = NULL ;
  int is_new_object8 = 0 ;
  bool val10 ;
  int ecode10 = 0 ;
  long long 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"macro_times",  (char *)"micro_times",  (char *)"routing_channels",  (char *)"event_types",  (char *)"shift_macro_time",  (char *)"macro_time_offset",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO|OO:TTTR_append_events", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_append_events" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_ULONGLONG,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (unsigned long long*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array4 = obj_to_array_contiguous_allow_conversion(obj2,
      NPY_USHORT,
      &is_new_object4);
    if (!array4 || !require_dimensions(array4, 1) ||
      !require_size(array4, size, 1)) SWIG_fail;
    arg4 = (unsigned short*) pyarray_data(array4);
    arg5 = (int) pyarray_size(array4,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array6 = obj_to_array_contiguous_allow_conversion(obj3,
      NPY_BYTE,
      &is_new_object6);
    if (!array6 || !require_dimensions(array6, 1) ||
      !require_size(array6, size, 1)) SWIG_fail;
    arg6 = (signed char*) pyarray_data(array6);
    arg7 = (int) pyarray_size(array6,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array8 = obj_to_array_contiguous_allow_conversion(obj4,
      NPY_BYTE,
      &is_new_object8);
    if (!array8 || !require_dimensions(array8, 1) ||
      !require_size(array8, size, 1)) SWIG_fail;
    arg8 = (signed char*) pyarray_data(array8);
    arg9 = (int) pyarray_size(array8,0);
  }
  if (obj5) {
    ecode10 = SWIG_AsVal_bool(obj5, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "TTTR_append_events" "', argument " "10"" of type '" "bool""'");
    } 
    arg10 = static_cast< bool >(val10);
  }
  if (obj6) {
    ecode11 = SWIG_AsVal_long_SS_long(obj6, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "TTTR_append_events" "', argument " "11"" of type '" "long long""'");
    } 
    arg11 = static_cast< long long >(val11);
  }
  (arg1)->append_events(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  {
    if (is_new_object6 && array6)
    {
      Py_DECREF(array6); 
    }
  }
  {
    if (is_new_object8 && array8)
    {
      Py_DECREF(array8); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  {
    if (is_new_object6 && array6)
    {
      Py_DECREF(array6); 
    }
  }
  {
    if (is_new_object8 && array8)
    {
      Py_DECREF(array8); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_alex_to_microtime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  unsigned long arg2 ;
  int arg3 = (int) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"alex_period",  (char *)"period_shift",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTR_alex_to_microtime", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_alex_to_microtime" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR_alex_to_microtime" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_alex_to_microtime" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  (arg1)->alex_to_microtime(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_append_event(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  unsigned long long arg2 ;
  unsigned short arg3 ;
  signed char arg4 ;
  signed char arg5 ;
  bool arg6 = (bool) true ;
  long long arg7 = (long long) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  unsigned long long val2 ;
  int ecode2 = 0 ;
  unsigned short val3 ;
  int ecode3 = 0 ;
  signed char val4 ;
  int ecode4 = 0 ;
  signed char val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  long long 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"macro_time",  (char *)"micro_time",  (char *)"routing_channel",  (char *)"event_type",  (char *)"shift_macro_time",  (char *)"macro_time_offset",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO|OO:TTTR_append_event", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_append_event" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR_append_event" "', argument " "2"" of type '" "unsigned long long""'");
  } 
  arg2 = static_cast< unsigned long long >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_append_event" "', argument " "3"" of type '" "unsigned short""'");
  } 
  arg3 = static_cast< unsigned short >(val3);
  ecode4 = SWIG_AsVal_signed_SS_char(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_append_event" "', argument " "4"" of type '" "signed char""'");
  } 
  arg4 = static_cast< signed char >(val4);
  ecode5 = SWIG_AsVal_signed_SS_char(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTR_append_event" "', argument " "5"" of type '" "signed char""'");
  } 
  arg5 = static_cast< signed char >(val5);
  if (obj5) {
    ecode6 = SWIG_AsVal_bool(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTR_append_event" "', argument " "6"" of type '" "bool""'");
    } 
    arg6 = static_cast< bool >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_long_SS_long(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTR_append_event" "', argument " "7"" of type '" "long long""'");
    } 
    arg7 = static_cast< long long >(val7);
  }
  (arg1)->append_event(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  bool arg3 = (bool) true ;
  long long arg4 = (long long) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR const > tempshared2 ;
  std::shared_ptr< TTTR const > *smartarg2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"other",  (char *)"shift_macro_time",  (char *)"macro_time_offset",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OO:TTTR_append", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_append" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_append" "', argument " "2"" of type '" "TTTR const *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_append" "', argument " "3"" of type '" "bool""'");
    } 
    arg3 = static_cast< bool >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_append" "', argument " "4"" of type '" "long long""'");
    } 
    arg4 = static_cast< long long >(val4);
  }
  (arg1)->append((TTTR const *)arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_shift_micro_time_by_channel(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  signed char arg2 ;
  unsigned short arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  signed char val2 ;
  int ecode2 = 0 ;
  unsigned short val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"channel",  (char *)"shift_value",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:TTTR_shift_micro_time_by_channel", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_shift_micro_time_by_channel" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_signed_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR_shift_micro_time_by_channel" "', argument " "2"" of type '" "signed char""'");
  } 
  arg2 = static_cast< signed char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_shift_micro_time_by_channel" "', argument " "3"" of type '" "unsigned short""'");
  } 
  arg3 = static_cast< unsigned short >(val3);
  (arg1)->shift_micro_time_by_channel(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_size" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_burst_search(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int arg2 ;
  int arg3 ;
  double arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"L",  (char *)"m",  (char *)"T",  NULL 
  };
  std::vector< long long,std::allocator< long long > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:TTTR_burst_search", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_burst_search" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR_burst_search" "', 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 '" "TTTR_burst_search" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_burst_search" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  result = (arg1)->burst_search(arg2,arg3,arg4);
  resultobj = swig::from(static_cast< std::vector< long long,std::allocator< long long > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_used_routing_channels(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  signed char **arg2 = (signed char **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  signed char *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_used_routing_channels" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->get_used_routing_channels(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_BYTE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_macro_times(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  unsigned long long **arg2 = (unsigned long long **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  unsigned long long *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_macro_times" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->get_macro_times(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_ULONGLONG, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_micro_times(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  unsigned short **arg2 = (unsigned short **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  unsigned short *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_micro_times" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->get_micro_times(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_USHORT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_intensity_trace(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int **arg2 = (int **) 0 ;
  int *arg3 = (int *) 0 ;
  double arg4 = (double) 0.001 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int *data_temp2 = NULL ;
  int dim_temp2 ;
  double val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"time_window_length",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O:TTTR_get_intensity_trace", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_intensity_trace" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    ecode4 = SWIG_AsVal_double(obj1, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_get_intensity_trace" "', argument " "4"" of type '" "double""'");
    } 
    arg4 = static_cast< double >(val4);
  }
  (arg1)->get_intensity_trace(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_routing_channel(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  signed char **arg2 = (signed char **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  signed char *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_routing_channel" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->get_routing_channel(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_BYTE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_event_type(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  signed char **arg2 = (signed char **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  signed char *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_event_type" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->get_event_type(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_BYTE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_number_of_micro_time_channels(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_number_of_micro_time_channels" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (unsigned int)(arg1)->get_number_of_micro_time_channels();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_n_valid_events(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_n_valid_events" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->get_n_valid_events();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_tttr_container_type(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_tttr_container_type" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->get_tttr_container_type();
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_supported_container_names(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< std::string,std::allocator< std::string > > result;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "TTTR_get_supported_container_names", 0, 0, 0)) SWIG_fail;
  result = TTTR::get_supported_container_names();
  resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_select(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"selection",  NULL 
  };
  std::shared_ptr< TTTR > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR_select", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_select" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_INT,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (int*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  result = (arg1)->select(arg2,arg3);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTR__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  TTTR *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (TTTR *)new TTTR();
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTR__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  TTTR *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR const > tempshared1 ;
  TTTR *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTR" "', argument " "1"" of type '" "TTTR const &""'");
    }
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TTTR" "', argument " "1"" of type '" "TTTR const &""'"); 
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      arg1 = const_cast< TTTR * >(reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1)->get());
    }
  }
  result = (TTTR *)new TTTR((TTTR const &)*arg1);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTR__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  bool arg3 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  TTTR *result = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTR" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TTTR" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TTTR" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (TTTR *)new TTTR((char const *)arg1,arg2,arg3);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTR__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  TTTR *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTR" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  result = (TTTR *)new TTTR((char const *)arg1);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTR__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  TTTR *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTR" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TTTR" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (TTTR *)new TTTR((char const *)arg1,arg2);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTR__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  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 ;
  TTTR *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTR" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TTTR" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  result = (TTTR *)new TTTR((char const *)arg1,(char const *)arg2);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  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_new_TTTR__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  unsigned long long *arg1 = (unsigned long long *) 0 ;
  int arg2 ;
  unsigned short *arg3 = (unsigned short *) 0 ;
  int arg4 ;
  signed char *arg5 = (signed char *) 0 ;
  int arg6 ;
  signed char *arg7 = (signed char *) 0 ;
  int arg8 ;
  bool arg9 = (bool) true ;
  PyArrayObject *array1 = NULL ;
  int is_new_object1 = 0 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  PyArrayObject *array5 = NULL ;
  int is_new_object5 = 0 ;
  PyArrayObject *array7 = NULL ;
  int is_new_object7 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  TTTR *result = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 5)) SWIG_fail;
  {
    npy_intp size[1] = {
      -1 
    };
    array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
      NPY_ULONGLONG,
      &is_new_object1);
    if (!array1 || !require_dimensions(array1, 1) ||
      !require_size(array1, size, 1)) SWIG_fail;
    arg1 = (unsigned long long*) pyarray_data(array1);
    arg2 = (int) pyarray_size(array1,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
      NPY_USHORT,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (unsigned short*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array5 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
      NPY_BYTE,
      &is_new_object5);
    if (!array5 || !require_dimensions(array5, 1) ||
      !require_size(array5, size, 1)) SWIG_fail;
    arg5 = (signed char*) pyarray_data(array5);
    arg6 = (int) pyarray_size(array5,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array7 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
      NPY_BYTE,
      &is_new_object7);
    if (!array7 || !require_dimensions(array7, 1) ||
      !require_size(array7, size, 1)) SWIG_fail;
    arg7 = (signed char*) pyarray_data(array7);
    arg8 = (int) pyarray_size(array7,0);
  }
  if (swig_obj[4]) {
    ecode9 = SWIG_AsVal_bool(swig_obj[4], &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_TTTR" "', argument " "9"" of type '" "bool""'");
    } 
    arg9 = static_cast< bool >(val9);
  }
  result = (TTTR *)new TTTR(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  {
    if (is_new_object1 && array1)
    {
      Py_DECREF(array1); 
    }
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  {
    if (is_new_object5 && array5)
    {
      Py_DECREF(array5); 
    }
  }
  {
    if (is_new_object7 && array7)
    {
      Py_DECREF(array7); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object1 && array1)
    {
      Py_DECREF(array1); 
    }
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  {
    if (is_new_object5 && array5)
    {
      Py_DECREF(array5); 
    }
  }
  {
    if (is_new_object7 && array7)
    {
      Py_DECREF(array7); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTR__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  TTTR *arg1 = 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  bool arg4 = (bool) true ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR const > tempshared1 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  TTTR *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTR" "', argument " "1"" of type '" "TTTR const &""'");
    }
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TTTR" "', argument " "1"" of type '" "TTTR const &""'"); 
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      arg1 = const_cast< TTTR * >(reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1)->get());
    }
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
      NPY_INT,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (int*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  if (swig_obj[2]) {
    ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TTTR" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  result = (TTTR *)new TTTR((TTTR const &)*arg1,arg2,arg3,arg4);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTR(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[6] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_TTTR", 0, 5, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_TTTR__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_TTTR__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_TTTR__SWIG_3(self, argc, argv);
    }
  }
  if ((argc >= 2) && (argc <= 3)) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = is_pyarray(argv[1]) || PySequence_Check(argv[1]);
      }
      if (_v) {
        if (argc <= 2) {
          return _wrap_new_TTTR__SWIG_7(self, argc, argv);
        }
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_TTTR__SWIG_7(self, argc, argv);
        }
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    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_TTTR__SWIG_4(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_TTTR__SWIG_5(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    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) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_TTTR__SWIG_2(self, argc, argv);
        }
      }
    }
  }
  if ((argc >= 4) && (argc <= 5)) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) || PySequence_Check(argv[0]);
    }
    if (_v) {
      {
        _v = is_pyarray(argv[1]) || PySequence_Check(argv[1]);
      }
      if (_v) {
        {
          _v = is_pyarray(argv[2]) || PySequence_Check(argv[2]);
        }
        if (_v) {
          {
            _v = is_pyarray(argv[3]) || PySequence_Check(argv[3]);
          }
          if (_v) {
            if (argc <= 4) {
              return _wrap_new_TTTR__SWIG_6(self, argc, argv);
            }
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_new_TTTR__SWIG_6(self, argc, argv);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_TTTR'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    TTTR::TTTR()\n"
    "    TTTR::TTTR(TTTR const &)\n"
    "    TTTR::TTTR(char const *,int,bool)\n"
    "    TTTR::TTTR(char const *)\n"
    "    TTTR::TTTR(char const *,int)\n"
    "    TTTR::TTTR(char const *,char const *)\n"
    "    TTTR::TTTR(unsigned long long *,int,unsigned short *,int,signed char *,int,signed char *,int,bool)\n"
    "    TTTR::TTTR(TTTR const &,int *,int,bool)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_delete_TTTR(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TTTR" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (void)arg1; delete smartarg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_filename(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_filename" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->get_filename();
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_tttr_by_selection(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"selection",  NULL 
  };
  std::shared_ptr< TTTR > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR_get_tttr_by_selection", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_tttr_by_selection" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_INT,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (int*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  result = (arg1)->get_tttr_by_selection(arg2,arg3);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_ranges_by_time_window(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int **arg2 = (int **) 0 ;
  int *arg3 = (int *) 0 ;
  double arg4 ;
  double arg5 = (double) -1 ;
  int arg6 = (int) -1 ;
  int arg7 = (int) -1 ;
  double arg8 = (double) -1 ;
  bool arg9 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int *data_temp2 = NULL ;
  int dim_temp2 ;
  double val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  double val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"minimum_window_length",  (char *)"maximum_window_length",  (char *)"minimum_number_of_photons_in_time_window",  (char *)"maximum_number_of_photons_in_time_window",  (char *)"macro_time_calibration",  (char *)"invert",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOOOO:TTTR_get_ranges_by_time_window", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_ranges_by_time_window" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode4 = SWIG_AsVal_double(obj1, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_get_ranges_by_time_window" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  if (obj2) {
    ecode5 = SWIG_AsVal_double(obj2, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTR_get_ranges_by_time_window" "', argument " "5"" of type '" "double""'");
    } 
    arg5 = static_cast< double >(val5);
  }
  if (obj3) {
    ecode6 = SWIG_AsVal_int(obj3, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTR_get_ranges_by_time_window" "', argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  if (obj4) {
    ecode7 = SWIG_AsVal_int(obj4, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTR_get_ranges_by_time_window" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj5) {
    ecode8 = SWIG_AsVal_double(obj5, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TTTR_get_ranges_by_time_window" "', argument " "8"" of type '" "double""'");
    } 
    arg8 = static_cast< double >(val8);
  }
  if (obj6) {
    ecode9 = SWIG_AsVal_bool(obj6, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "TTTR_get_ranges_by_time_window" "', argument " "9"" of type '" "bool""'");
    } 
    arg9 = static_cast< bool >(val9);
  }
  (arg1)->get_ranges_by_time_window(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_selection_by_channel(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int **arg2 = (int **) 0 ;
  int *arg3 = (int *) 0 ;
  signed char *arg4 = (signed char *) 0 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int *data_temp2 = NULL ;
  int dim_temp2 ;
  PyArrayObject *array4 = NULL ;
  int is_new_object4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR_get_selection_by_channel", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_selection_by_channel" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array4 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_BYTE,
      &is_new_object4);
    if (!array4 || !require_dimensions(array4, 1) ||
      !require_size(array4, size, 1)) SWIG_fail;
    arg4 = (signed char*) pyarray_data(array4);
    arg5 = (int) pyarray_size(array4,0);
  }
  (arg1)->get_selection_by_channel(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_tttr_by_channel(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  signed char *arg2 = (signed char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  std::shared_ptr< TTTR > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR_get_tttr_by_channel", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_tttr_by_channel" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_BYTE,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (signed char*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  result = (arg1)->get_tttr_by_channel(arg2,arg3);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_selection_by_count_rate(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int **arg2 = (int **) 0 ;
  int *arg3 = (int *) 0 ;
  double arg4 ;
  int arg5 ;
  bool arg6 = (bool) false ;
  bool arg7 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int *data_temp2 = NULL ;
  int dim_temp2 ;
  double val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"time_window",  (char *)"n_ph_max",  (char *)"invert",  (char *)"make_mask",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OO:TTTR_get_selection_by_count_rate", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_selection_by_count_rate" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode4 = SWIG_AsVal_double(obj1, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_get_selection_by_count_rate" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  ecode5 = SWIG_AsVal_int(obj2, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTR_get_selection_by_count_rate" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  if (obj3) {
    ecode6 = SWIG_AsVal_bool(obj3, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTR_get_selection_by_count_rate" "', argument " "6"" of type '" "bool""'");
    } 
    arg6 = static_cast< bool >(val6);
  }
  if (obj4) {
    ecode7 = SWIG_AsVal_bool(obj4, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTR_get_selection_by_count_rate" "', argument " "7"" of type '" "bool""'");
    } 
    arg7 = static_cast< bool >(val7);
  }
  (arg1)->get_selection_by_count_rate(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_tttr_by_count_rate(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  double arg2 ;
  int arg3 ;
  bool arg4 = (bool) false ;
  bool arg5 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"time_window",  (char *)"n_ph_max",  (char *)"invert",  (char *)"make_mask",  NULL 
  };
  std::shared_ptr< TTTR > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OO:TTTR_get_tttr_by_count_rate", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_tttr_by_count_rate" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR_get_tttr_by_count_rate" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_get_tttr_by_count_rate" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_get_tttr_by_count_rate" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_bool(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTR_get_tttr_by_count_rate" "', argument " "5"" of type '" "bool""'");
    } 
    arg5 = static_cast< bool >(val5);
  }
  result = (arg1)->get_tttr_by_count_rate(arg2,arg3,arg4,arg5);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_time_window_ranges(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int **arg2 = (int **) 0 ;
  int *arg3 = (int *) 0 ;
  double arg4 ;
  int arg5 ;
  int arg6 = (int) -1 ;
  double arg7 = (double) -1.0 ;
  double arg8 = (double) -1 ;
  bool arg9 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int *data_temp2 = NULL ;
  int dim_temp2 ;
  double val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  double val7 ;
  int ecode7 = 0 ;
  double val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"minimum_window_length",  (char *)"minimum_number_of_photons_in_time_window",  (char *)"maximum_number_of_photons_in_time_window",  (char *)"maximum_window_length",  (char *)"macro_time_calibration",  (char *)"invert",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OOOO:TTTR_get_time_window_ranges", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_time_window_ranges" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode4 = SWIG_AsVal_double(obj1, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_get_time_window_ranges" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  ecode5 = SWIG_AsVal_int(obj2, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTR_get_time_window_ranges" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  if (obj3) {
    ecode6 = SWIG_AsVal_int(obj3, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTR_get_time_window_ranges" "', argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  if (obj4) {
    ecode7 = SWIG_AsVal_double(obj4, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTR_get_time_window_ranges" "', argument " "7"" of type '" "double""'");
    } 
    arg7 = static_cast< double >(val7);
  }
  if (obj5) {
    ecode8 = SWIG_AsVal_double(obj5, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TTTR_get_time_window_ranges" "', argument " "8"" of type '" "double""'");
    } 
    arg8 = static_cast< double >(val8);
  }
  if (obj6) {
    ecode9 = SWIG_AsVal_bool(obj6, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "TTTR_get_time_window_ranges" "', argument " "9"" of type '" "bool""'");
    } 
    arg9 = static_cast< bool >(val9);
  }
  (arg1)->get_time_window_ranges(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_header(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  TTTRHeader *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_header" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (TTTRHeader *)(arg1)->get_header();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRHeader, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_set_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  TTTRHeader *arg2 = (TTTRHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR_set_header", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_set_header" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TTTRHeader, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_set_header" "', argument " "2"" of type '" "TTTRHeader *""'"); 
  }
  arg2 = reinterpret_cast< TTTRHeader * >(argp2);
  (arg1)->set_header(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_n_events(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_n_events" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->get_n_events();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_write(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  std::string arg2 ;
  TTTRHeader *arg3 = (TTTRHeader *) nullptr ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"filename",  (char *)"header",  NULL 
  };
  bool result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTR_write", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_write" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj1, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTR_write" "', argument " "2"" of type '" "std::string""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  if (obj2) {
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_TTTRHeader, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TTTR_write" "', argument " "3"" of type '" "TTTRHeader *""'"); 
    }
    arg3 = reinterpret_cast< TTTRHeader * >(argp3);
  }
  result = (bool)(arg1)->write(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_write_spc132_events(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  FILE *arg2 = (FILE *) 0 ;
  TTTR *arg3 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::shared_ptr< TTTR > tempshared3 ;
  std::shared_ptr< TTTR > *smartarg3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"fp",  (char *)"tttr",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:TTTR_write_spc132_events", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_write_spc132_events" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_FILE, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_write_spc132_events" "', argument " "2"" of type '" "FILE *""'"); 
  }
  arg2 = reinterpret_cast< FILE * >(argp2);
  {
    int newmem = 0;
    res3 = SWIG_ConvertPtrAndOwn(obj2, &argp3, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TTTR_write_spc132_events" "', argument " "3"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared3 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp3);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp3);
      arg3 = const_cast< TTTR * >(tempshared3.get());
    } else {
      smartarg3 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp3);
      arg3 = const_cast< TTTR * >((smartarg3 ? smartarg3->get() : 0));
    }
  }
  (arg1)->write_spc132_events(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_write_hht3v2_events(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  FILE *arg2 = (FILE *) 0 ;
  TTTR *arg3 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::shared_ptr< TTTR > tempshared3 ;
  std::shared_ptr< TTTR > *smartarg3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"fp",  (char *)"tttr",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:TTTR_write_hht3v2_events", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_write_hht3v2_events" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_FILE, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_write_hht3v2_events" "', argument " "2"" of type '" "FILE *""'"); 
  }
  arg2 = reinterpret_cast< FILE * >(argp2);
  {
    int newmem = 0;
    res3 = SWIG_ConvertPtrAndOwn(obj2, &argp3, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TTTR_write_hht3v2_events" "', argument " "3"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared3 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp3);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp3);
      arg3 = const_cast< TTTR * >(tempshared3.get());
    } else {
      smartarg3 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp3);
      arg3 = const_cast< TTTR * >((smartarg3 ? smartarg3->get() : 0));
    }
  }
  (arg1)->write_hht3v2_events(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_write_header(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  std::string *arg2 = 0 ;
  TTTRHeader *arg3 = (TTTRHeader *) nullptr ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"fn",  (char *)"header",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTR_write_header", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_write_header" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__string,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_write_header" "', argument " "2"" of type '" "std::string &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TTTR_write_header" "', argument " "2"" of type '" "std::string &""'"); 
  }
  arg2 = reinterpret_cast< std::string * >(argp2);
  if (obj2) {
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_TTTRHeader, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TTTR_write_header" "', argument " "3"" of type '" "TTTRHeader *""'"); 
    }
    arg3 = reinterpret_cast< TTTRHeader * >(argp3);
  }
  (arg1)->write_header(*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_shift_macro_time(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"shift",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR_shift_macro_time", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_shift_macro_time" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTR_shift_macro_time" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->shift_macro_time(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR const > tempshared1 ;
  std::shared_ptr< TTTR const > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR const > tempshared2 ;
  std::shared_ptr< TTTR const > *smartarg2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"other",  NULL 
  };
  TTTR *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTR___add__", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR___add__" "', argument " "1"" of type '" "TTTR const *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr< const TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR___add__" "', argument " "2"" of type '" "TTTR const *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr< const TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  result = (TTTR *)((TTTR const *)arg1)->operator +((TTTR const *)arg2);
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result SWIG_NO_NULL_DELETER_0) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 | SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) {
    return NULL;
  }
  PyErr_Clear();
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_TTTR_compute_microtime_histogram(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  double **arg4 = (double **) 0 ;
  int *arg5 = (int *) 0 ;
  unsigned short arg6 = (unsigned short) 1 ;
  std::vector< int,std::allocator< int > > *arg7 = (std::vector< int,std::allocator< int > > *) nullptr ;
  std::vector< int,std::allocator< int > > *arg8 = (std::vector< int,std::allocator< int > > *) nullptr ;
  int arg9 = (int) -1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  double *data_temp4 = NULL ;
  int dim_temp4 ;
  unsigned short val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"tttr_data",  (char *)"micro_time_coarsening",  (char *)"tttr_indices",  (char *)"channels",  (char *)"minlength",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  {
    arg4 = &data_temp4;
    arg5 = &dim_temp4;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOOO:TTTR_compute_microtime_histogram", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_compute_microtime_histogram" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    ecode6 = SWIG_AsVal_unsigned_SS_short(obj1, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTR_compute_microtime_histogram" "', argument " "6"" of type '" "unsigned short""'");
    } 
    arg6 = static_cast< unsigned short >(val6);
  }
  if (obj2) {
    res7 = SWIG_ConvertPtr(obj2, &argp7,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TTTR_compute_microtime_histogram" "', argument " "7"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg7 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp7);
  }
  if (obj3) {
    res8 = SWIG_ConvertPtr(obj3, &argp8,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res8)) {
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TTTR_compute_microtime_histogram" "', argument " "8"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg8 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp8);
  }
  if (obj4) {
    ecode9 = SWIG_AsVal_int(obj4, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "TTTR_compute_microtime_histogram" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  TTTR::compute_microtime_histogram(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    npy_intp dims[1] = {
      *arg5 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg4));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg4), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg4), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_microtime_histogram(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  double **arg4 = (double **) 0 ;
  int *arg5 = (int *) 0 ;
  unsigned short arg6 = (unsigned short) 1 ;
  std::vector< int,std::allocator< int > > arg7 = (std::vector< int,std::allocator< int > >) std::vector< int >() ;
  int arg8 = (int) -1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  double *data_temp4 = NULL ;
  int dim_temp4 ;
  unsigned short val6 ;
  int ecode6 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"micro_time_coarsening",  (char *)"channels",  (char *)"minlength",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  {
    arg4 = &data_temp4;
    arg5 = &dim_temp4;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOO:TTTR_get_microtime_histogram", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_microtime_histogram" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    ecode6 = SWIG_AsVal_unsigned_SS_short(obj1, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTR_get_microtime_histogram" "', argument " "6"" of type '" "unsigned short""'");
    } 
    arg6 = static_cast< unsigned short >(val6);
  }
  if (obj2) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTR_get_microtime_histogram" "', argument " "7"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg7 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj3) {
    ecode8 = SWIG_AsVal_int(obj3, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TTTR_get_microtime_histogram" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  (arg1)->get_microtime_histogram(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    npy_intp dims[1] = {
      *arg5 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg4));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg4), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg4), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_compute_mean_lifetime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  TTTR *arg2 = (TTTR *) nullptr ;
  double arg3 = (double) 1 ;
  double arg4 = (double) 0 ;
  std::vector< int,std::allocator< int > > *arg5 = (std::vector< int,std::allocator< int > > *) nullptr ;
  double arg6 = (double) -1.0 ;
  int arg7 = (int) 1 ;
  std::vector< double,std::allocator< double > > *arg8 = (std::vector< double,std::allocator< double > > *) nullptr ;
  double arg9 = (double) 0.0 ;
  double arg10 = (double) 0.0 ;
  double arg11 = (double) -1.0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  double val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  double val10 ;
  int ecode10 = 0 ;
  double 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 ;
  char * kwnames[] = {
    (char *)"tttr_data",  (char *)"tttr_irf",  (char *)"m0_irf",  (char *)"m1_irf",  (char *)"tttr_indices",  (char *)"dt",  (char *)"minimum_number_of_photons",  (char *)"background",  (char *)"m0_bg",  (char *)"m1_bg",  (char *)"background_fraction",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOOOOOOOOO:TTTR_compute_mean_lifetime", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7, &obj8, &obj9, &obj10)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_compute_mean_lifetime" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    {
      int newmem = 0;
      res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_compute_mean_lifetime" "', argument " "2"" of type '" "TTTR *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
        delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
        arg2 = const_cast< TTTR * >(tempshared2.get());
      } else {
        smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
        arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
      }
    }
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_compute_mean_lifetime" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_double(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_compute_mean_lifetime" "', argument " "4"" of type '" "double""'");
    } 
    arg4 = static_cast< double >(val4);
  }
  if (obj4) {
    res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TTTR_compute_mean_lifetime" "', argument " "5"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg5 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_double(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTR_compute_mean_lifetime" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTR_compute_mean_lifetime" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj7) {
    res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
    if (!SWIG_IsOK(res8)) {
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TTTR_compute_mean_lifetime" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > *""'"); 
    }
    arg8 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp8);
  }
  if (obj8) {
    ecode9 = SWIG_AsVal_double(obj8, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "TTTR_compute_mean_lifetime" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  if (obj9) {
    ecode10 = SWIG_AsVal_double(obj9, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "TTTR_compute_mean_lifetime" "', argument " "10"" of type '" "double""'");
    } 
    arg10 = static_cast< double >(val10);
  }
  if (obj10) {
    ecode11 = SWIG_AsVal_double(obj10, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "TTTR_compute_mean_lifetime" "', argument " "11"" of type '" "double""'");
    } 
    arg11 = static_cast< double >(val11);
  }
  result = (double)TTTR::compute_mean_lifetime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_mean_lifetime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  TTTR *arg2 = (TTTR *) nullptr ;
  int arg3 = (int) 1 ;
  int arg4 = (int) 1 ;
  std::vector< int,std::allocator< int > > *arg5 = (std::vector< int,std::allocator< int > > *) nullptr ;
  double arg6 = (double) -1.0 ;
  int arg7 = (int) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  double 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_irf",  (char *)"m0_irf",  (char *)"m1_irf",  (char *)"tttr_indices",  (char *)"dt",  (char *)"min_ph",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOOOOO:TTTR_mean_lifetime", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_mean_lifetime" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    {
      int newmem = 0;
      res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_mean_lifetime" "', argument " "2"" of type '" "TTTR *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
        delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
        arg2 = const_cast< TTTR * >(tempshared2.get());
      } else {
        smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
        arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
      }
    }
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_mean_lifetime" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_mean_lifetime" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TTTR_mean_lifetime" "', argument " "5"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg5 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_double(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TTTR_mean_lifetime" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TTTR_mean_lifetime" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  result = (double)(arg1)->mean_lifetime(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_compute_count_rate(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  std::vector< int,std::allocator< int > > *arg2 = (std::vector< int,std::allocator< int > > *) nullptr ;
  double arg3 = (double) -1.0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"tttr_data",  (char *)"tttr_indices",  (char *)"macrotime_resolution",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OO:TTTR_compute_count_rate", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_compute_count_rate" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_compute_count_rate" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg2 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_compute_count_rate" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  result = (double)TTTR::compute_count_rate(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_count_rate(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  std::vector< int,std::allocator< int > > *arg2 = (std::vector< int,std::allocator< int > > *) nullptr ;
  double arg3 = (double) -1.0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_indices",  (char *)"macrotime_resolution",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OO:TTTR_get_count_rate", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_count_rate" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_get_count_rate" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg2 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_get_count_rate" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  result = (double)(arg1)->get_count_rate(arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_compute_mean_microtime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  std::vector< int,std::allocator< int > > *arg2 = (std::vector< int,std::allocator< int > > *) nullptr ;
  double arg3 = (double) -1.0 ;
  int arg4 = (int) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"tttr_data",  (char *)"tttr_indices",  (char *)"microtime_resolution",  (char *)"minimum_number_of_photons",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOO:TTTR_compute_mean_microtime", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_compute_mean_microtime" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_compute_mean_microtime" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg2 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_compute_mean_microtime" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_compute_mean_microtime" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  result = (double)TTTR::compute_mean_microtime(arg1,arg2,arg3,arg4);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTR_get_mean_microtime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  std::vector< int,std::allocator< int > > *arg2 = (std::vector< int,std::allocator< int > > *) nullptr ;
  double arg3 = (double) -1.0 ;
  int arg4 = (int) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_indices",  (char *)"microtime_resolution",  (char *)"minimum_number_of_photons",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOO:TTTR_get_mean_microtime", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTR_get_mean_microtime" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTR_get_mean_microtime" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg2 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTR_get_mean_microtime" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTR_get_mean_microtime" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  result = (double)(arg1)->get_mean_microtime(arg2,arg3,arg4);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *TTTR_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *TTTR_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_delete_TTTRMask(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRMask, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TTTRMask" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRMask__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  TTTRMask *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (TTTRMask *)new TTTRMask();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRMask, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRMask__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  TTTRMask *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTRMask" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (TTTRMask *)new TTTRMask(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TTTRMask, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRMask(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[2] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_TTTRMask", 0, 1, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_TTTRMask__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_TTTRMask__SWIG_1(self, argc, argv);
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_TTTRMask'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    TTTRMask::TTTRMask()\n"
    "    TTTRMask::TTTRMask(TTTR *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_TTTRMask_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_size" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  result = (int)(arg1)->size();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_flip(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_flip" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  (arg1)->flip();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_set_mask(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  std::vector< bool,std::allocator< bool > > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"mask",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRMask_set_mask", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_set_mask" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  {
    std::vector<bool,std::allocator< bool > > *ptr = (std::vector<bool,std::allocator< bool > > *)0;
    int res = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRMask_set_mask" "', argument " "2"" of type '" "std::vector< bool,std::allocator< bool > >""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  (arg1)->set_mask(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_get_mask(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< bool,std::allocator< bool > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_get_mask" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  result = (std::vector< bool,std::allocator< bool > > *) &(arg1)->get_mask();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_bool_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_set_tttr(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:TTTRMask_set_tttr", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_set_tttr" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRMask_set_tttr" "', argument " "2"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  (arg1)->set_tttr(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_select_channels(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  signed char *arg3 = (signed char *) 0 ;
  int arg4 ;
  bool arg5 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  (char *)"routing_channels",  (char *)"mask",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|O:TTTRMask_select_channels", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_select_channels" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRMask_select_channels" "', argument " "2"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(obj2,
      NPY_BYTE,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (signed char*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  if (obj3) {
    ecode5 = SWIG_AsVal_bool(obj3, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTRMask_select_channels" "', argument " "5"" of type '" "bool""'");
    } 
    arg5 = static_cast< bool >(val5);
  }
  (arg1)->select_channels(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_select_count_rate(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  double arg3 ;
  int arg4 ;
  bool arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  (char *)"time_window",  (char *)"n_ph_max",  (char *)"invert",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO:TTTRMask_select_count_rate", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_select_count_rate" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRMask_select_count_rate" "', argument " "2"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TTTRMask_select_count_rate" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TTTRMask_select_count_rate" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TTTRMask_select_count_rate" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  (arg1)->select_count_rate(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_select_microtime_ranges(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > arg3 = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >) std::vector< std::pair< int,int > >() ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  (char *)"micro_time_ranges",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:TTTRMask_select_microtime_ranges", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_select_microtime_ranges" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRMask_select_microtime_ranges" "', argument " "2"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  if (obj2) {
    {
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *ptr = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)0;
      int res = swig::asptr(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "TTTRMask_select_microtime_ranges" "', argument " "3"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >""'"); 
      }
      arg3 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  (arg1)->select_microtime_ranges(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_get_indices(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  bool arg2 = (bool) true ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"selected",  NULL 
  };
  std::vector< int,std::allocator< int > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O:TTTRMask_get_indices", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_get_indices" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  if (obj1) {
    ecode2 = SWIG_AsVal_bool(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TTTRMask_get_indices" "', argument " "2"" of type '" "bool""'");
    } 
    arg2 = static_cast< bool >(val2);
  }
  result = (arg1)->get_indices(arg2);
  resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRMask_get_selected_ranges(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  TTTRMask *arg1 = (TTTRMask *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int,std::allocator< int > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_TTTRMask, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRMask_get_selected_ranges" "', argument " "1"" of type '" "TTTRMask *""'"); 
  }
  arg1 = reinterpret_cast< TTTRMask * >(argp1);
  result = (arg1)->get_selected_ranges();
  resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *TTTRMask_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_TTTRMask, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *TTTRMask_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_bincount1D(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  int *arg1 = (int *) 0 ;
  int arg2 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  PyArrayObject *array1 = NULL ;
  int is_new_object1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"data",  (char *)"bins",  (char *)"n_bins",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:bincount1D", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    npy_intp size[1] = {
      -1 
    };
    array1 = obj_to_array_contiguous_allow_conversion(obj0,
      NPY_INT,
      &is_new_object1);
    if (!array1 || !require_dimensions(array1, 1) ||
      !require_size(array1, size, 1)) SWIG_fail;
    arg1 = (int*) pyarray_data(array1);
    arg2 = (int) pyarray_size(array1,0);
  }
  res3 = SWIG_ConvertPtr(obj1, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "bincount1D" "', argument " "3"" of type '" "int *""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  ecode4 = SWIG_AsVal_int(obj2, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "bincount1D" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  bincount1D(arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object1 && array1)
    {
      Py_DECREF(array1); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object1 && array1)
    {
      Py_DECREF(array1); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_histogram1D_int(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  int *arg1 = (int *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  int *arg5 = (int *) 0 ;
  int arg6 ;
  double *arg7 = (double *) 0 ;
  int arg8 ;
  char *arg9 = (char *) 0 ;
  bool arg10 ;
  PyArrayObject *array1 = NULL ;
  int is_new_object1 = 0 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  PyArrayObject *array5 = NULL ;
  int is_new_object5 = 0 ;
  PyArrayObject *array7 = NULL ;
  int is_new_object7 = 0 ;
  int res9 ;
  char *buf9 = 0 ;
  int alloc9 = 0 ;
  bool val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"data",  (char *)"weights",  (char *)"bin_edges",  (char *)"hist",  (char *)"axis_type",  (char *)"use_weights",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOOO:histogram1D_int", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  {
    npy_intp size[1] = {
      -1 
    };
    array1 = obj_to_array_contiguous_allow_conversion(obj0,
      NPY_INT,
      &is_new_object1);
    if (!array1 || !require_dimensions(array1, 1) ||
      !require_size(array1, size, 1)) SWIG_fail;
    arg1 = (int*) pyarray_data(array1);
    arg2 = (int) pyarray_size(array1,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_DOUBLE,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array5 = obj_to_array_contiguous_allow_conversion(obj2,
      NPY_INT,
      &is_new_object5);
    if (!array5 || !require_dimensions(array5, 1) ||
      !require_size(array5, size, 1)) SWIG_fail;
    arg5 = (int*) pyarray_data(array5);
    arg6 = (int) pyarray_size(array5,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array7 = obj_to_array_contiguous_allow_conversion(obj3,
      NPY_DOUBLE,
      &is_new_object7);
    if (!array7 || !require_dimensions(array7, 1) ||
      !require_size(array7, size, 1)) SWIG_fail;
    arg7 = (double*) pyarray_data(array7);
    arg8 = (int) pyarray_size(array7,0);
  }
  res9 = SWIG_AsCharPtrAndSize(obj4, &buf9, NULL, &alloc9);
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "histogram1D_int" "', argument " "9"" of type '" "char const *""'");
  }
  arg9 = reinterpret_cast< char * >(buf9);
  ecode10 = SWIG_AsVal_bool(obj5, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "histogram1D_int" "', argument " "10"" of type '" "bool""'");
  } 
  arg10 = static_cast< bool >(val10);
  histogram1D< int >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(char const *)arg9,arg10);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object1 && array1)
    {
      Py_DECREF(array1); 
    }
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  {
    if (is_new_object5 && array5)
    {
      Py_DECREF(array5); 
    }
  }
  {
    if (is_new_object7 && array7)
    {
      Py_DECREF(array7); 
    }
  }
  if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
  return resultobj;
fail:
  {
    if (is_new_object1 && array1)
    {
      Py_DECREF(array1); 
    }
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  {
    if (is_new_object5 && array5)
    {
      Py_DECREF(array5); 
    }
  }
  {
    if (is_new_object7 && array7)
    {
      Py_DECREF(array7); 
    }
  }
  if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
  return NULL;
}


SWIGINTERN PyObject *_wrap_histogram1D_double(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double *arg7 = (double *) 0 ;
  int arg8 ;
  char *arg9 = (char *) 0 ;
  bool arg10 ;
  PyArrayObject *array1 = NULL ;
  int is_new_object1 = 0 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  PyArrayObject *array5 = NULL ;
  int is_new_object5 = 0 ;
  PyArrayObject *array7 = NULL ;
  int is_new_object7 = 0 ;
  int res9 ;
  char *buf9 = 0 ;
  int alloc9 = 0 ;
  bool val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"data",  (char *)"weights",  (char *)"bin_edges",  (char *)"hist",  (char *)"axis_type",  (char *)"use_weights",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOOO:histogram1D_double", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  {
    npy_intp size[1] = {
      -1 
    };
    array1 = obj_to_array_contiguous_allow_conversion(obj0,
      NPY_DOUBLE,
      &is_new_object1);
    if (!array1 || !require_dimensions(array1, 1) ||
      !require_size(array1, size, 1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = (int) pyarray_size(array1,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_DOUBLE,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array5 = obj_to_array_contiguous_allow_conversion(obj2,
      NPY_DOUBLE,
      &is_new_object5);
    if (!array5 || !require_dimensions(array5, 1) ||
      !require_size(array5, size, 1)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = (int) pyarray_size(array5,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array7 = obj_to_array_contiguous_allow_conversion(obj3,
      NPY_DOUBLE,
      &is_new_object7);
    if (!array7 || !require_dimensions(array7, 1) ||
      !require_size(array7, size, 1)) SWIG_fail;
    arg7 = (double*) pyarray_data(array7);
    arg8 = (int) pyarray_size(array7,0);
  }
  res9 = SWIG_AsCharPtrAndSize(obj4, &buf9, NULL, &alloc9);
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "histogram1D_double" "', argument " "9"" of type '" "char const *""'");
  }
  arg9 = reinterpret_cast< char * >(buf9);
  ecode10 = SWIG_AsVal_bool(obj5, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "histogram1D_double" "', argument " "10"" of type '" "bool""'");
  } 
  arg10 = static_cast< bool >(val10);
  histogram1D< double >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(char const *)arg9,arg10);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object1 && array1)
    {
      Py_DECREF(array1); 
    }
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  {
    if (is_new_object5 && array5)
    {
      Py_DECREF(array5); 
    }
  }
  {
    if (is_new_object7 && array7)
    {
      Py_DECREF(array7); 
    }
  }
  if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
  return resultobj;
fail:
  {
    if (is_new_object1 && array1)
    {
      Py_DECREF(array1); 
    }
  }
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  {
    if (is_new_object5 && array5)
    {
      Py_DECREF(array5); 
    }
  }
  {
    if (is_new_object7 && array7)
    {
      Py_DECREF(array7); 
    }
  }
  if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleAxis_update(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramAxisT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleAxis_update" "', argument " "1"" of type '" "HistogramAxis< double > *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(argp1);
  (arg1)->update();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleAxis_setAxisType(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  std::string *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"axis_type",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:doubleAxis_setAxisType", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_HistogramAxisT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleAxis_setAxisType" "', argument " "1"" of type '" "HistogramAxis< double > *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(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 '" "doubleAxis_setAxisType" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "doubleAxis_setAxisType" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    arg2 = ptr;
  }
  (arg1)->setAxisType((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_doubleAxis_getNumberOfBins(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramAxisT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleAxis_getNumberOfBins" "', argument " "1"" of type '" "HistogramAxis< double > *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(argp1);
  result = (int)(arg1)->getNumberOfBins();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleAxis_getBinIdx(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"value",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:doubleAxis_getBinIdx", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_HistogramAxisT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleAxis_getBinIdx" "', argument " "1"" of type '" "HistogramAxis< double > *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleAxis_getBinIdx" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  result = (int)(arg1)->getBinIdx(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleAxis_getBins__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramAxisT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleAxis_getBins" "', argument " "1"" of type '" "HistogramAxis< double > *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(argp1);
  result = (double *)(arg1)->getBins();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleAxis_getBins__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  double *arg2 = (double *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramAxisT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleAxis_getBins" "', argument " "1"" of type '" "HistogramAxis< double > *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
      NPY_DOUBLE,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (double*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  (arg1)->getBins(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleAxis_getBins(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "doubleAxis_getBins", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 1) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_HistogramAxisT_double_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_doubleAxis_getBins__SWIG_0(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_HistogramAxisT_double_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = is_pyarray(argv[1]) || PySequence_Check(argv[1]);
      }
      if (_v) {
        if (argc <= 2) {
          return _wrap_doubleAxis_getBins__SWIG_1(self, argc, argv);
        }
        return _wrap_doubleAxis_getBins__SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'doubleAxis_getBins'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    HistogramAxis< double >::getBins()\n"
    "    HistogramAxis< double >::getBins(double *,int)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_doubleAxis_getName(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramAxisT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleAxis_getName" "', argument " "1"" of type '" "HistogramAxis< double > const *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(argp1);
  result = (std::string *) &((HistogramAxis< double > const *)arg1)->getName();
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleAxis_setName(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  std::string *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"name",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:doubleAxis_setName", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_HistogramAxisT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleAxis_setName" "', argument " "1"" of type '" "HistogramAxis< double > *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(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 '" "doubleAxis_setName" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "doubleAxis_setName" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    arg2 = ptr;
  }
  (arg1)->setName((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_new_doubleAxis__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (HistogramAxis< double > *)new HistogramAxis< double >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_HistogramAxisT_double_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_doubleAxis__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::string arg1 ;
  double arg2 ;
  double arg3 ;
  int arg4 ;
  std::string arg5 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  HistogramAxis< double > *result = 0 ;
  
  (void)self;
  if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_doubleAxis" "', argument " "1"" of type '" "std::string""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_doubleAxis" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_doubleAxis" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_doubleAxis" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_doubleAxis" "', argument " "5"" of type '" "std::string""'"); 
    }
    arg5 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  result = (HistogramAxis< double > *)new HistogramAxis< double >(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_HistogramAxisT_double_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_doubleAxis(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[6] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_doubleAxis", 0, 5, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_doubleAxis__SWIG_0(self, argc, argv);
  }
  if (argc == 5) {
    int _v = 0;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(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_AsPtr_std_string(argv[4], (std::string**)(0));
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_new_doubleAxis__SWIG_1(self, argc, argv);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_doubleAxis'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    HistogramAxis< double >::HistogramAxis()\n"
    "    HistogramAxis< double >::HistogramAxis(std::string,double,double,int,std::string)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_delete_doubleAxis(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  HistogramAxis< double > *arg1 = (HistogramAxis< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramAxisT_double_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_doubleAxis" "', argument " "1"" of type '" "HistogramAxis< double > *""'"); 
  }
  arg1 = reinterpret_cast< HistogramAxis< double > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *doubleAxis_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_HistogramAxisT_double_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *doubleAxis_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_doubleHistogram_update(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Histogram< double > *arg1 = (Histogram< double > *) 0 ;
  double *arg2 = (double *) 0 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"data",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:doubleHistogram_update", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_HistogramT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleHistogram_update" "', argument " "1"" of type '" "Histogram< double > *""'"); 
  }
  arg1 = reinterpret_cast< Histogram< double > * >(argp1);
  {
    npy_intp size[2] = {
      -1, -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1, NPY_DOUBLE,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 2) ||
      !require_size(array2, size, 2)) SWIG_fail;
    arg2 = (double*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
    arg4 = (int) pyarray_size(array2,1);
  }
  (arg1)->update(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleHistogram_get_histogram(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Histogram< double > *arg1 = (Histogram< double > *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleHistogram_get_histogram" "', argument " "1"" of type '" "Histogram< double > *""'"); 
  }
  arg1 = reinterpret_cast< Histogram< double > * >(argp1);
  (arg1)->get_histogram(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleHistogram_set_axis__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  Histogram< double > *arg1 = (Histogram< double > *) 0 ;
  size_t arg2 ;
  HistogramAxis< double > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleHistogram_set_axis" "', argument " "1"" of type '" "Histogram< double > *""'"); 
  }
  arg1 = reinterpret_cast< Histogram< double > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleHistogram_set_axis" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_HistogramAxisT_double_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "doubleHistogram_set_axis" "', argument " "3"" of type '" "HistogramAxis< double > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "doubleHistogram_set_axis" "', argument " "3"" of type '" "HistogramAxis< double > &""'"); 
  }
  arg3 = reinterpret_cast< HistogramAxis< double > * >(argp3);
  (arg1)->set_axis(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleHistogram_set_axis__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  Histogram< double > *arg1 = (Histogram< double > *) 0 ;
  size_t arg2 ;
  std::string arg3 ;
  double arg4 ;
  double arg5 ;
  int arg6 ;
  std::string arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  
  (void)self;
  if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleHistogram_set_axis" "', argument " "1"" of type '" "Histogram< double > *""'"); 
  }
  arg1 = reinterpret_cast< Histogram< double > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleHistogram_set_axis" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "doubleHistogram_set_axis" "', argument " "3"" of type '" "std::string""'"); 
    }
    arg3 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "doubleHistogram_set_axis" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "doubleHistogram_set_axis" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "doubleHistogram_set_axis" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(swig_obj[6], &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "doubleHistogram_set_axis" "', argument " "7"" of type '" "std::string""'"); 
    }
    arg7 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  (arg1)->set_axis(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_doubleHistogram_set_axis(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[8] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "doubleHistogram_set_axis", 0, 7, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_HistogramT_double_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_HistogramAxisT_double_t, SWIG_POINTER_NO_NULL);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_doubleHistogram_set_axis__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 7) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_HistogramT_double_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _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_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_double(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_AsPtr_std_string(argv[6], (std::string**)(0));
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_doubleHistogram_set_axis__SWIG_1(self, argc, argv);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'doubleHistogram_set_axis'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Histogram< double >::set_axis(size_t,HistogramAxis< double > &)\n"
    "    Histogram< double >::set_axis(size_t,std::string,double,double,int,std::string)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_doubleHistogram_get_axis(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Histogram< double > *arg1 = (Histogram< double > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"axis_index",  NULL 
  };
  HistogramAxis< double > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:doubleHistogram_get_axis", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_HistogramT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleHistogram_get_axis" "', argument " "1"" of type '" "Histogram< double > *""'"); 
  }
  arg1 = reinterpret_cast< Histogram< double > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleHistogram_get_axis" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (arg1)->get_axis(arg2);
  resultobj = SWIG_NewPointerObj((new HistogramAxis< double >(result)), SWIGTYPE_p_HistogramAxisT_double_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_doubleHistogram(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Histogram< double > *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_doubleHistogram", 0, 0, 0)) SWIG_fail;
  result = (Histogram< double > *)new Histogram< double >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_HistogramT_double_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_doubleHistogram(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Histogram< double > *arg1 = (Histogram< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_HistogramT_double_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_doubleHistogram" "', argument " "1"" of type '" "Histogram< double > *""'"); 
  }
  arg1 = reinterpret_cast< Histogram< double > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *doubleHistogram_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_HistogramT_double_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *doubleHistogram_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_TTTRPair__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *)new std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRPair__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::shared_ptr< TTTR > arg1 ;
  std::shared_ptr< TTTR > arg2 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTRPair" "', argument " "1"" of type '" "std::shared_ptr< TTTR >""'");
    }
    if (argp1) arg1 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp1));
    if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp1);
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(swig_obj[1], &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TTTRPair" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    }
    if (argp2) arg2 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp2));
    if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
  }
  result = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *)new std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > >(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_TTTRPair__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *ptr = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TTTRPair" "', argument " "1"" of type '" "std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TTTRPair" "', argument " "1"" of type '" "std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *)new std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > >((std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, 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_TTTRPair(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_TTTRPair", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_TTTRPair__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_TTTRPair__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_TTTRPair__SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_TTTRPair'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > >::pair()\n"
    "    std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > >::pair(std::shared_ptr< TTTR >,std::shared_ptr< TTTR >)\n"
    "    std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > >::pair(std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_TTTRPair_first_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *arg1 = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *) 0 ;
  std::shared_ptr< TTTR > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "TTTRPair_first_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRPair_first_set" "', argument " "1"" of type '" "std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > * >(argp1);
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(swig_obj[1], &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRPair_first_set" "', argument " "2"" of type '" "std::shared_ptr< TTTR > const &""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      if (argp2) tempshared2 = *reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      arg2 = &tempshared2;
    } else {
      arg2 = (argp2) ? reinterpret_cast< std::shared_ptr< TTTR > * >(argp2) : &tempshared2;
    }
  }
  if (arg1) (arg1)->first = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRPair_first_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *arg1 = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::shared_ptr< TTTR > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRPair_first_get" "', argument " "1"" of type '" "std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > * >(argp1);
  result = (std::shared_ptr< TTTR > *) & ((arg1)->first);
  {
    std::shared_ptr<  TTTR > *smartresult = *result ? new std::shared_ptr<  TTTR >(*result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRPair_second_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *arg1 = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *) 0 ;
  std::shared_ptr< TTTR > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "TTTRPair_second_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRPair_second_set" "', argument " "1"" of type '" "std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > * >(argp1);
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(swig_obj[1], &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TTTRPair_second_set" "', argument " "2"" of type '" "std::shared_ptr< TTTR > const &""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      if (argp2) tempshared2 = *reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
      arg2 = &tempshared2;
    } else {
      arg2 = (argp2) ? reinterpret_cast< std::shared_ptr< TTTR > * >(argp2) : &tempshared2;
    }
  }
  if (arg1) (arg1)->second = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_TTTRPair_second_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *arg1 = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::shared_ptr< TTTR > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TTTRPair_second_get" "', argument " "1"" of type '" "std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > * >(argp1);
  result = (std::shared_ptr< TTTR > *) & ((arg1)->second);
  {
    std::shared_ptr<  TTTR > *smartresult = *result ? new std::shared_ptr<  TTTR >(*result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_TTTRPair(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *arg1 = (std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TTTRPair" "', argument " "1"" of type '" "std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *""'"); 
  }
  arg1 = reinterpret_cast< std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *TTTRPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *TTTRPair_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_CorrelatorPhotonStream__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (CorrelatorPhotonStream *)new CorrelatorPhotonStream();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelatorPhotonStream, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CorrelatorPhotonStream__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  CorrelatorPhotonStream *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_CorrelatorPhotonStream,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CorrelatorPhotonStream" "', argument " "1"" of type '" "CorrelatorPhotonStream const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CorrelatorPhotonStream" "', argument " "1"" of type '" "CorrelatorPhotonStream const &""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = (CorrelatorPhotonStream *)new CorrelatorPhotonStream((CorrelatorPhotonStream const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelatorPhotonStream, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CorrelatorPhotonStream(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[2] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_CorrelatorPhotonStream", 0, 1, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_CorrelatorPhotonStream__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_CorrelatorPhotonStream, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_CorrelatorPhotonStream__SWIG_1(self, argc, argv);
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CorrelatorPhotonStream'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    CorrelatorPhotonStream::CorrelatorPhotonStream()\n"
    "    CorrelatorPhotonStream::CorrelatorPhotonStream(CorrelatorPhotonStream const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_delete_CorrelatorPhotonStream(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CorrelatorPhotonStream" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_times_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *arg2 = (std::vector< unsigned long long,std::allocator< unsigned long long > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelatorPhotonStream_times_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_times_set" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CorrelatorPhotonStream_times_set" "', argument " "2"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > *""'"); 
  }
  arg2 = reinterpret_cast< std::vector< unsigned long long,std::allocator< unsigned long long > > * >(argp2);
  if (arg1) (arg1)->times = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_times_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_times_get" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)& ((arg1)->times);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_weights_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  std::vector< double,std::allocator< double > > *arg2 = (std::vector< double,std::allocator< double > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelatorPhotonStream_weights_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_weights_set" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CorrelatorPhotonStream_weights_set" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > *""'"); 
  }
  arg2 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp2);
  if (arg1) (arg1)->weights = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_weights_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< double,std::allocator< double > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_weights_get" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = (std::vector< double,std::allocator< double > > *)& ((arg1)->weights);
  {
    resultobj = swig::from(static_cast<std::vector< double,std::allocator< double > >>(*(result)));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_empty" "', argument " "1"" of type '" "CorrelatorPhotonStream const *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = (bool)((CorrelatorPhotonStream const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_size" "', argument " "1"" of type '" "CorrelatorPhotonStream const *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = ((CorrelatorPhotonStream const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_clear" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  size_t arg2 ;
  double arg3 = (double) 1.0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:CorrelatorPhotonStream_resize", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_resize" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CorrelatorPhotonStream_resize" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CorrelatorPhotonStream_resize" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  (arg1)->resize(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_make_fine_times(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  unsigned long long *arg1 = (unsigned long long *) 0 ;
  unsigned int arg2 ;
  unsigned short *arg3 = (unsigned short *) 0 ;
  unsigned int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"t",  (char *)"n_times",  (char *)"tac",  (char *)"n_tac",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:CorrelatorPhotonStream_make_fine_times", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_long_long, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_make_fine_times" "', argument " "1"" of type '" "unsigned long long *""'"); 
  }
  arg1 = reinterpret_cast< unsigned long long * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CorrelatorPhotonStream_make_fine_times" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CorrelatorPhotonStream_make_fine_times" "', argument " "3"" of type '" "unsigned short *""'"); 
  }
  arg3 = reinterpret_cast< unsigned short * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CorrelatorPhotonStream_make_fine_times" "', argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  CorrelatorPhotonStream::make_fine_times(arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_make_fine(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  unsigned short *arg2 = (unsigned short *) 0 ;
  int arg3 ;
  unsigned int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tac",  (char *)"number_of_microtime_channels",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:CorrelatorPhotonStream_make_fine", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_make_fine" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_USHORT,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (unsigned short*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj2, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CorrelatorPhotonStream_make_fine" "', argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  (arg1)->make_fine(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_set_weights(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *arg2 = 0 ;
  std::vector< unsigned int,std::allocator< unsigned int > > arg3 = (std::vector< unsigned int,std::allocator< unsigned int > >) std::vector< unsigned int >() ;
  std::vector< signed char,std::allocator< signed char > > arg4 = (std::vector< signed char,std::allocator< signed char > >) std::vector< signed char >() ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  void *argp4 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"filter",  (char *)"micro_times",  (char *)"routing_channels",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OO:CorrelatorPhotonStream_set_weights", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_set_weights" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  {
    std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *ptr = (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *)0;
    res2 = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CorrelatorPhotonStream_set_weights" "', argument " "2"" of type '" "std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CorrelatorPhotonStream_set_weights" "', argument " "2"" of type '" "std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > const &""'"); 
    }
    arg2 = ptr;
  }
  if (obj2) {
    {
      std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
      int res = swig::asptr(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CorrelatorPhotonStream_set_weights" "', argument " "3"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > >""'"); 
      }
      arg3 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj3) {
    {
      res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t,  0  | 0);
      if (!SWIG_IsOK(res4)) {
        SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CorrelatorPhotonStream_set_weights" "', argument " "4"" of type '" "std::vector< signed char,std::allocator< signed char > >""'"); 
      }  
      if (!argp4) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CorrelatorPhotonStream_set_weights" "', argument " "4"" of type '" "std::vector< signed char,std::allocator< signed char > >""'");
      } else {
        std::vector< signed char,std::allocator< signed char > > * temp = reinterpret_cast< std::vector< signed char,std::allocator< signed char > > * >(argp4);
        arg4 = *temp;
        if (SWIG_IsNewObj(res4)) delete temp;
      }
    }
  }
  (arg1)->set_weights((std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > const &)*arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_set_events(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  unsigned long long *arg2 = (unsigned long long *) 0 ;
  int arg3 ;
  double *arg4 = (double *) 0 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"t",  (char *)"n_t",  (char *)"weight",  (char *)"n_weight",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO:CorrelatorPhotonStream_set_events", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_set_events" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_long_long, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CorrelatorPhotonStream_set_events" "', argument " "2"" of type '" "unsigned long long *""'"); 
  }
  arg2 = reinterpret_cast< unsigned long long * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CorrelatorPhotonStream_set_events" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CorrelatorPhotonStream_set_events" "', argument " "4"" of type '" "double *""'"); 
  }
  arg4 = reinterpret_cast< double * >(argp4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CorrelatorPhotonStream_set_events" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->set_events(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_coarsen(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_coarsen" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  (arg1)->coarsen();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_dt(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned long long result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_dt" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = (unsigned long long)(arg1)->dt();
  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_sum_of_weights(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_sum_of_weights" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = (double)(arg1)->sum_of_weights();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_mean_count_rate(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_mean_count_rate" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = (double)(arg1)->mean_count_rate();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_set_time_axis_calibration(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CorrelatorPhotonStream_set_time_axis_calibration", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_set_time_axis_calibration" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CorrelatorPhotonStream_set_time_axis_calibration" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->set_time_axis_calibration(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_get_time_axis_calibration(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_get_time_axis_calibration" "', argument " "1"" of type '" "CorrelatorPhotonStream const *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = (double)((CorrelatorPhotonStream const *)arg1)->get_time_axis_calibration();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_set_tttr(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  bool arg3 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  (char *)"make_fine",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:CorrelatorPhotonStream_set_tttr", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_set_tttr" "', argument " "1"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CorrelatorPhotonStream_set_tttr" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    }
    if (argp2) arg2 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp2));
    if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CorrelatorPhotonStream_set_tttr" "', argument " "3"" of type '" "bool""'");
    } 
    arg3 = static_cast< bool >(val3);
  }
  (arg1)->set_tttr(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorPhotonStream_get_tttr(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorPhotonStream *arg1 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::shared_ptr< TTTR > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorPhotonStream_get_tttr" "', argument " "1"" of type '" "CorrelatorPhotonStream const *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorPhotonStream * >(argp1);
  result = ((CorrelatorPhotonStream const *)arg1)->get_tttr();
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *CorrelatorPhotonStream_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_CorrelatorPhotonStream, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *CorrelatorPhotonStream_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_CorrelationCurveSettings_macro_time_duration_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelationCurveSettings_macro_time_duration_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_macro_time_duration_set" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CorrelationCurveSettings_macro_time_duration_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->macro_time_duration = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelationCurveSettings_macro_time_duration_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_macro_time_duration_get" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  result = (double) ((arg1)->macro_time_duration);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelationCurveSettings_n_casc_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelationCurveSettings_n_casc_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_n_casc_set" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CorrelationCurveSettings_n_casc_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  if (arg1) (arg1)->n_casc = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelationCurveSettings_n_casc_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_n_casc_get" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  result = (unsigned int) ((arg1)->n_casc);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelationCurveSettings_n_bins_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelationCurveSettings_n_bins_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_n_bins_set" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CorrelationCurveSettings_n_bins_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  if (arg1) (arg1)->n_bins = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelationCurveSettings_n_bins_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_n_bins_get" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  result = (unsigned int) ((arg1)->n_bins);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelationCurveSettings_get_ncorr(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_get_ncorr" "', argument " "1"" of type '" "CorrelationCurveSettings const *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  result = (unsigned int)((CorrelationCurveSettings const *)arg1)->get_ncorr();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelationCurveSettings_correlation_method_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  std::string *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelationCurveSettings_correlation_method_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_correlation_method_set" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CorrelationCurveSettings_correlation_method_set" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CorrelationCurveSettings_correlation_method_set" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    arg2 = ptr;
  }
  if (arg1) (arg1)->correlation_method = *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_CorrelationCurveSettings_correlation_method_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelationCurveSettings_correlation_method_get" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  result = (std::string *) & ((arg1)->correlation_method);
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CorrelationCurveSettings(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_CorrelationCurveSettings", 0, 0, 0)) SWIG_fail;
  result = (CorrelationCurveSettings *)new CorrelationCurveSettings();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelationCurveSettings, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_CorrelationCurveSettings(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelationCurveSettings *arg1 = (CorrelationCurveSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelationCurveSettings, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CorrelationCurveSettings" "', argument " "1"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg1 = reinterpret_cast< CorrelationCurveSettings * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *CorrelationCurveSettings_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_CorrelationCurveSettings, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *CorrelationCurveSettings_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_CorrelatorCurve_settings_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  CorrelationCurveSettings *arg2 = (CorrelationCurveSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelatorCurve_settings_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_settings_set" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CorrelatorCurve_settings_set" "', argument " "2"" of type '" "CorrelationCurveSettings *""'"); 
  }
  arg2 = reinterpret_cast< CorrelationCurveSettings * >(argp2);
  if (arg1) (arg1)->settings = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_settings_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  CorrelationCurveSettings *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_settings_get" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  result = (CorrelationCurveSettings *)& ((arg1)->settings);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelationCurveSettings, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_size" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  result = (arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_get_x_axis(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_get_x_axis" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  (arg1)->get_x_axis(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_set_x_axis(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  std::vector< unsigned long long,std::allocator< unsigned long long > > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CorrelatorCurve_set_x_axis", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_set_x_axis" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  {
    std::vector< unsigned long long,std::allocator< unsigned long long > > *ptr = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)0;
    int res = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CorrelatorCurve_set_x_axis" "', argument " "2"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > >""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  (arg1)->set_x_axis(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_get_corr(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_get_corr" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  (arg1)->get_corr(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_get_corr_normalized(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_get_corr_normalized" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  (arg1)->get_corr_normalized(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_n_bins_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelatorCurve_n_bins_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_n_bins_set" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CorrelatorCurve_n_bins_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  CorrelatorCurve_n_bins_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_n_bins_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_n_bins_get" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  result = (int)CorrelatorCurve_n_bins_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_n_casc_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CorrelatorCurve_n_casc_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_n_casc_set" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CorrelatorCurve_n_casc_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  CorrelatorCurve_n_casc_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CorrelatorCurve_n_casc_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CorrelatorCurve_n_casc_get" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  result = (int)CorrelatorCurve_n_casc_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CorrelatorCurve(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_CorrelatorCurve", 0, 0, 0)) SWIG_fail;
  result = (CorrelatorCurve *)new CorrelatorCurve();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelatorCurve, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_CorrelatorCurve(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CorrelatorCurve *arg1 = (CorrelatorCurve *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CorrelatorCurve, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CorrelatorCurve" "', argument " "1"" of type '" "CorrelatorCurve *""'"); 
  }
  arg1 = reinterpret_cast< CorrelatorCurve * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *CorrelatorCurve_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_CorrelatorCurve, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *CorrelatorCurve_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_Correlator_p1_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  CorrelatorPhotonStream *arg2 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Correlator_p1_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_p1_set" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Correlator_p1_set" "', argument " "2"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg2 = reinterpret_cast< CorrelatorPhotonStream * >(argp2);
  if (arg1) (arg1)->p1 = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_p1_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  CorrelatorPhotonStream *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_p1_get" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (CorrelatorPhotonStream *)& ((arg1)->p1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_p2_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  CorrelatorPhotonStream *arg2 = (CorrelatorPhotonStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Correlator_p2_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_p2_set" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Correlator_p2_set" "', argument " "2"" of type '" "CorrelatorPhotonStream *""'"); 
  }
  arg2 = reinterpret_cast< CorrelatorPhotonStream * >(argp2);
  if (arg1) (arg1)->p2 = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_p2_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  CorrelatorPhotonStream *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_p2_get" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (CorrelatorPhotonStream *)& ((arg1)->p2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelatorPhotonStream, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_curve_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  CorrelatorCurve *arg2 = (CorrelatorCurve *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Correlator_curve_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_curve_set" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Correlator_curve_set" "', argument " "2"" of type '" "CorrelatorCurve *""'"); 
  }
  arg2 = reinterpret_cast< CorrelatorCurve * >(argp2);
  if (arg1) (arg1)->curve = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_curve_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  CorrelatorCurve *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_curve_get" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (CorrelatorCurve *)& ((arg1)->curve);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_dt(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  uint64_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_dt" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (arg1)->dt();
  resultobj = SWIG_NewPointerObj((new uint64_t(result)), SWIGTYPE_p_uint64_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_Correlator(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::shared_ptr< TTTR > arg1 = (std::shared_ptr< TTTR >) nullptr ;
  std::string arg2 = (std::string) "wahl" ;
  int arg3 = (int) 17 ;
  int arg4 = (int) 25 ;
  bool arg5 = (bool) false ;
  void *argp1 ;
  int res1 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"tttr",  (char *)"method",  (char *)"n_bins",  (char *)"n_casc",  (char *)"make_fine",  NULL 
  };
  Correlator *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOO:new_Correlator", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  if (obj0) {
    {
      int newmem = 0;
      res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
      if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Correlator" "', argument " "1"" of type '" "std::shared_ptr< TTTR >""'");
      }
      if (argp1) arg1 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp1));
      if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp1);
    }
  }
  if (obj1) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj1, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Correlator" "', argument " "2"" of type '" "std::string""'"); 
      }
      arg2 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Correlator" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Correlator" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_bool(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Correlator" "', argument " "5"" of type '" "bool""'");
    } 
    arg5 = static_cast< bool >(val5);
  }
  result = (Correlator *)new Correlator(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Correlator, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_Correlator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Correlator" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_get_curve(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  CorrelatorCurve *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_get_curve" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (CorrelatorCurve *)(arg1)->get_curve();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CorrelatorCurve, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_set_microtimes(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  unsigned short *arg2 = (unsigned short *) 0 ;
  int arg3 ;
  unsigned short *arg4 = (unsigned short *) 0 ;
  int arg5 ;
  unsigned int arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyArrayObject *array4 = NULL ;
  int is_new_object4 = 0 ;
  unsigned int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tac_1",  (char *)"tac_2",  (char *)"number_of_microtime_channels",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:Correlator_set_microtimes", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_set_microtimes" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_USHORT,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (unsigned short*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array4 = obj_to_array_contiguous_allow_conversion(obj2,
      NPY_USHORT,
      &is_new_object4);
    if (!array4 || !require_dimensions(array4, 1) ||
      !require_size(array4, size, 1)) SWIG_fail;
    arg4 = (unsigned short*) pyarray_data(array4);
    arg5 = (int) pyarray_size(array4,0);
  }
  ecode6 = SWIG_AsVal_unsigned_SS_int(obj3, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Correlator_set_microtimes" "', argument " "6"" of type '" "unsigned int""'");
  } 
  arg6 = static_cast< unsigned int >(val6);
  (arg1)->set_microtimes(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_set_macrotimes(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  unsigned long long *arg2 = (unsigned long long *) 0 ;
  int arg3 ;
  unsigned long long *arg4 = (unsigned long long *) 0 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyArrayObject *array4 = NULL ;
  int is_new_object4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"t1",  (char *)"t2",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:Correlator_set_macrotimes", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_set_macrotimes" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_ULONGLONG,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (unsigned long long*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array4 = obj_to_array_contiguous_allow_conversion(obj2,
      NPY_ULONGLONG,
      &is_new_object4);
    if (!array4 || !require_dimensions(array4, 1) ||
      !require_size(array4, size, 1)) SWIG_fail;
    arg4 = (unsigned long long*) pyarray_data(array4);
    arg5 = (int) pyarray_size(array4,0);
  }
  (arg1)->set_macrotimes(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_get_macrotimes(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_get_macrotimes" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (arg1)->get_macrotimes();
  resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_set_events(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  unsigned long long *arg2 = (unsigned long long *) 0 ;
  int arg3 ;
  double *arg4 = (double *) 0 ;
  int arg5 ;
  unsigned long long *arg6 = (unsigned long long *) 0 ;
  int arg7 ;
  double *arg8 = (double *) 0 ;
  int arg9 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyArrayObject *array4 = NULL ;
  int is_new_object4 = 0 ;
  PyArrayObject *array6 = NULL ;
  int is_new_object6 = 0 ;
  PyArrayObject *array8 = NULL ;
  int is_new_object8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"t1",  (char *)"weight_ch1",  (char *)"t2",  (char *)"weight_ch2",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO:Correlator_set_events", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_set_events" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_ULONGLONG,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (unsigned long long*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array4 = obj_to_array_contiguous_allow_conversion(obj2,
      NPY_DOUBLE,
      &is_new_object4);
    if (!array4 || !require_dimensions(array4, 1) ||
      !require_size(array4, size, 1)) SWIG_fail;
    arg4 = (double*) pyarray_data(array4);
    arg5 = (int) pyarray_size(array4,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array6 = obj_to_array_contiguous_allow_conversion(obj3,
      NPY_ULONGLONG,
      &is_new_object6);
    if (!array6 || !require_dimensions(array6, 1) ||
      !require_size(array6, size, 1)) SWIG_fail;
    arg6 = (unsigned long long*) pyarray_data(array6);
    arg7 = (int) pyarray_size(array6,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array8 = obj_to_array_contiguous_allow_conversion(obj4,
      NPY_DOUBLE,
      &is_new_object8);
    if (!array8 || !require_dimensions(array8, 1) ||
      !require_size(array8, size, 1)) SWIG_fail;
    arg8 = (double*) pyarray_data(array8);
    arg9 = (int) pyarray_size(array8,0);
  }
  (arg1)->set_events(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  {
    if (is_new_object6 && array6)
    {
      Py_DECREF(array6); 
    }
  }
  {
    if (is_new_object8 && array8)
    {
      Py_DECREF(array8); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  {
    if (is_new_object6 && array6)
    {
      Py_DECREF(array6); 
    }
  }
  {
    if (is_new_object8 && array8)
    {
      Py_DECREF(array8); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_set_weights(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  double *arg2 = (double *) 0 ;
  int arg3 ;
  double *arg4 = (double *) 0 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyArrayObject *array4 = NULL ;
  int is_new_object4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"weight_ch1",  (char *)"weight_ch2",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:Correlator_set_weights", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_set_weights" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_DOUBLE,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (double*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array4 = obj_to_array_contiguous_allow_conversion(obj2,
      NPY_DOUBLE,
      &is_new_object4);
    if (!array4 || !require_dimensions(array4, 1) ||
      !require_size(array4, size, 1)) SWIG_fail;
    arg4 = (double*) pyarray_data(array4);
    arg5 = (int) pyarray_size(array4,0);
  }
  (arg1)->set_weights(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  {
    if (is_new_object4 && array4)
    {
      Py_DECREF(array4); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_get_weights(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_get_weights" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (arg1)->get_weights();
  resultobj = swig::from(static_cast< std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_get_x_axis(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_get_x_axis" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  (arg1)->get_x_axis(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_get_corr_normalized(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_get_corr_normalized" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  (arg1)->get_corr_normalized(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_get_corr(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_get_corr" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  (arg1)->get_corr(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_run(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_run" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  (arg1)->run();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_set_tttr(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  std::shared_ptr< TTTR > arg3 = (std::shared_ptr< TTTR >) nullptr ;
  bool arg4 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_1",  (char *)"tttr_2",  (char *)"make_fine",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OO:Correlator_set_tttr", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_set_tttr" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Correlator_set_tttr" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    }
    if (argp2) arg2 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp2));
    if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
  }
  if (obj2) {
    {
      int newmem = 0;
      res3 = SWIG_ConvertPtrAndOwn(obj2, &argp3, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Correlator_set_tttr" "', argument " "3"" of type '" "std::shared_ptr< TTTR >""'");
      }
      if (argp3) arg3 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp3));
      if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp3);
    }
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Correlator_set_tttr" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  (arg1)->set_tttr(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_get_tttr(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_get_tttr" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (arg1)->get_tttr();
  resultobj = swig::from(static_cast< std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_set_filter(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *arg2 = 0 ;
  std::vector< unsigned int,std::allocator< unsigned int > > *arg3 = 0 ;
  std::vector< signed char,std::allocator< signed char > > *arg4 = 0 ;
  std::vector< unsigned int,std::allocator< unsigned int > > *arg5 = 0 ;
  std::vector< signed char,std::allocator< signed char > > *arg6 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  int res3 = SWIG_OLDOBJ ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int res5 = SWIG_OLDOBJ ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"filter",  (char *)"micro_times_1",  (char *)"routing_channels_1",  (char *)"micro_times_2",  (char *)"routing_channels_2",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOOO:Correlator_set_filter", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_set_filter" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  {
    std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *ptr = (std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *)0;
    res2 = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Correlator_set_filter" "', argument " "2"" of type '" "std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Correlator_set_filter" "', argument " "2"" of type '" "std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > const &""'"); 
    }
    arg2 = ptr;
  }
  {
    std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
    res3 = swig::asptr(obj2, &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Correlator_set_filter" "', argument " "3"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Correlator_set_filter" "', argument " "3"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); 
    }
    arg3 = ptr;
  }
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Correlator_set_filter" "', argument " "4"" of type '" "std::vector< signed char,std::allocator< signed char > > const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Correlator_set_filter" "', argument " "4"" of type '" "std::vector< signed char,std::allocator< signed char > > const &""'"); 
  }
  arg4 = reinterpret_cast< std::vector< signed char,std::allocator< signed char > > * >(argp4);
  {
    std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
    res5 = swig::asptr(obj4, &ptr);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Correlator_set_filter" "', argument " "5"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Correlator_set_filter" "', argument " "5"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); 
    }
    arg5 = ptr;
  }
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t,  0  | 0);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Correlator_set_filter" "', argument " "6"" of type '" "std::vector< signed char,std::allocator< signed char > > const &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Correlator_set_filter" "', argument " "6"" of type '" "std::vector< signed char,std::allocator< signed char > > const &""'"); 
  }
  arg6 = reinterpret_cast< std::vector< signed char,std::allocator< signed char > > * >(argp6);
  (arg1)->set_filter((std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > const &)*arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3,(std::vector< signed char,std::allocator< signed char > > const &)*arg4,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg5,(std::vector< signed char,std::allocator< signed char > > const &)*arg6);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res2)) delete arg2;
  if (SWIG_IsNewObj(res3)) delete arg3;
  if (SWIG_IsNewObj(res5)) delete arg5;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  if (SWIG_IsNewObj(res3)) delete arg3;
  if (SWIG_IsNewObj(res5)) delete arg5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_n_bins_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Correlator_n_bins_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_n_bins_set" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Correlator_n_bins_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  Correlator_n_bins_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_n_bins_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_n_bins_get" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (int)Correlator_n_bins_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_n_casc_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Correlator_n_casc_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_n_casc_set" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Correlator_n_casc_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  Correlator_n_casc_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_n_casc_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_n_casc_get" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (int)Correlator_n_casc_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Correlator_method_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  std::string *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Correlator_method_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_method_set" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Correlator_method_set" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Correlator_method_set" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    arg2 = ptr;
  }
  Correlator_method_set(arg1,(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_Correlator_method_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Correlator *arg1 = (Correlator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Correlator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Correlator_method_get" "', argument " "1"" of type '" "Correlator *""'"); 
  }
  arg1 = reinterpret_cast< Correlator * >(argp1);
  result = (std::string *) &Correlator_method_get(arg1);
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
  delete result;
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *Correlator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_Correlator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *Correlator_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_vector_CLSMFrame_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_iterator" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_CLSMFrame_Sm__Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___nonzero__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (bool)std_vector_Sl_CLSMFrame_Sm__Sg____nonzero__((std::vector< CLSMFrame * > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___bool__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (bool)std_vector_Sl_CLSMFrame_Sm__Sg____bool__((std::vector< CLSMFrame * > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___len__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = std_vector_Sl_CLSMFrame_Sm__Sg____len__((std::vector< CLSMFrame * > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::difference_type arg2 ;
  std::vector< CLSMFrame * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMFrame___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___getslice__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame___getslice__" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMFrame___getslice__" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMFrame * >::difference_type >(val3);
  try {
    result = (std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *)std_vector_Sl_CLSMFrame_Sm__Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::difference_type arg2 ;
  std::vector< CLSMFrame * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___setslice__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame___setslice__" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMFrame___setslice__" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMFrame * >::difference_type >(val3);
  try {
    std_vector_Sl_CLSMFrame_Sm__Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::difference_type arg2 ;
  std::vector< CLSMFrame * >::difference_type arg3 ;
  std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___setslice__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame___setslice__" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMFrame___setslice__" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMFrame * >::difference_type >(val3);
  {
    std::vector< CLSMFrame*,std::allocator< CLSMFrame * > > *ptr = (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CLSMFrame___setslice__" "', argument " "4"" of type '" "std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMFrame___setslice__" "', argument " "4"" of type '" "std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_CLSMFrame_Sm__Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMFrame___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_vector_CLSMFrame___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_vector_CLSMFrame___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMFrame___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMFrame * >::__setslice__(std::vector< CLSMFrame * >::difference_type,std::vector< CLSMFrame * >::difference_type)\n"
    "    std::vector< CLSMFrame * >::__setslice__(std::vector< CLSMFrame * >::difference_type,std::vector< CLSMFrame * >::difference_type,std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::difference_type arg2 ;
  std::vector< CLSMFrame * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMFrame___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___delslice__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame___delslice__" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMFrame___delslice__" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMFrame * >::difference_type >(val3);
  try {
    std_vector_Sl_CLSMFrame_Sm__Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___delitem__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame___delitem__" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::difference_type >(val2);
  try {
    std_vector_Sl_CLSMFrame_Sm__Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___getitem__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *)std_vector_Sl_CLSMFrame_Sm__Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___setitem__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< CLSMFrame*,std::allocator< CLSMFrame * > > *ptr = (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMFrame___setitem__" "', argument " "3"" of type '" "std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMFrame___setitem__" "', argument " "3"" of type '" "std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_CLSMFrame_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___setitem__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_CLSMFrame_Sm__Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___delitem__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_CLSMFrame_Sm__Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMFrame___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMFrame___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMFrame___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMFrame___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMFrame * >::__delitem__(std::vector< CLSMFrame * >::difference_type)\n"
    "    std::vector< CLSMFrame * >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< CLSMFrame * >::value_type result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___getitem__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame___getitem__" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::difference_type >(val2);
  try {
    result = (std::vector< CLSMFrame * >::value_type)std_vector_Sl_CLSMFrame_Sm__Sg____getitem____SWIG_1(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMFrame___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMFrame___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMFrame___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMFrame___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMFrame * >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< CLSMFrame * >::__getitem__(std::vector< CLSMFrame * >::difference_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::difference_type arg2 ;
  std::vector< CLSMFrame * >::value_type arg3 = (std::vector< CLSMFrame * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame___setitem__" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame___setitem__" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::difference_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMFrame___setitem__" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMFrame * >::value_type >(argp3);
  try {
    std_vector_Sl_CLSMFrame_Sm__Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMFrame___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMFrame___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMFrame___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMFrame, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMFrame___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMFrame___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMFrame * >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &)\n"
    "    std::vector< CLSMFrame * >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< CLSMFrame * >::__setitem__(std::vector< CLSMFrame * >::difference_type,std::vector< CLSMFrame * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_pop" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  try {
    result = (std::vector< CLSMFrame * >::value_type)std_vector_Sl_CLSMFrame_Sm__Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::value_type arg2 = (std::vector< CLSMFrame * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMFrame_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_append" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMFrame_append" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMFrame * >::value_type >(argp2);
  std_vector_Sl_CLSMFrame_Sm__Sg__append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMFrame__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< CLSMFrame * > *)new std::vector< CLSMFrame * >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMFrame__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< CLSMFrame * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< CLSMFrame*,std::allocator< CLSMFrame * > > *ptr = (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_CLSMFrame" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_CLSMFrame" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< CLSMFrame * > *)new std::vector< CLSMFrame * >((std::vector< CLSMFrame * > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_empty" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (bool)((std::vector< CLSMFrame * > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_size" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = ((std::vector< CLSMFrame * > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMFrame_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_swap" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_CLSMFrame_p_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMFrame_swap" "', argument " "2"" of type '" "std::vector< CLSMFrame * > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMFrame_swap" "', argument " "2"" of type '" "std::vector< CLSMFrame * > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_begin" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMFrame * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_end" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMFrame * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_rbegin" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMFrame * >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_rend" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMFrame * >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_clear" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< CLSMFrame * > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_get_allocator" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = ((std::vector< CLSMFrame * > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< CLSMFrame * >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_CLSMFrame_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMFrame__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< CLSMFrame * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CLSMFrame" "', argument " "1"" of type '" "std::vector< CLSMFrame * >::size_type""'");
  } 
  arg1 = static_cast< std::vector< CLSMFrame * >::size_type >(val1);
  result = (std::vector< CLSMFrame * > *)new std::vector< CLSMFrame * >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_pop_back" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_resize" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame_resize" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< CLSMFrame * >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_erase" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_erase" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_erase" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::iterator""'");
    }
  }
  result = std_vector_Sl_CLSMFrame_Sm__Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMFrame * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::iterator arg2 ;
  std::vector< CLSMFrame * >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< CLSMFrame * >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_erase" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_erase" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_erase" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_erase" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_erase" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::iterator""'");
    }
  }
  result = std_vector_Sl_CLSMFrame_Sm__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMFrame * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMFrame_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_vector_CLSMFrame_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_vector_CLSMFrame_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMFrame_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMFrame * >::erase(std::vector< CLSMFrame * >::iterator)\n"
    "    std::vector< CLSMFrame * >::erase(std::vector< CLSMFrame * >::iterator,std::vector< CLSMFrame * >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMFrame__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * >::size_type arg1 ;
  std::vector< CLSMFrame * >::value_type arg2 = (std::vector< CLSMFrame * >::value_type) 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::vector< CLSMFrame * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CLSMFrame" "', argument " "1"" of type '" "std::vector< CLSMFrame * >::size_type""'");
  } 
  arg1 = static_cast< std::vector< CLSMFrame * >::size_type >(val1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_CLSMFrame" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMFrame * >::value_type >(argp2);
  result = (std::vector< CLSMFrame * > *)new std::vector< CLSMFrame * >(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMFrame(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_vector_CLSMFrame", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_vector_CLSMFrame__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_vector_CLSMFrame__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_vector_CLSMFrame__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CLSMFrame, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_vector_CLSMFrame__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_vector_CLSMFrame'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMFrame * >::vector()\n"
    "    std::vector< CLSMFrame * >::vector(std::vector< CLSMFrame * > const &)\n"
    "    std::vector< CLSMFrame * >::vector(std::vector< CLSMFrame * >::size_type)\n"
    "    std::vector< CLSMFrame * >::vector(std::vector< CLSMFrame * >::size_type,std::vector< CLSMFrame * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::value_type arg2 = (std::vector< CLSMFrame * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMFrame_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_push_back" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMFrame_push_back" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMFrame * >::value_type >(argp2);
  (arg1)->push_back(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_front" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (std::vector< CLSMFrame * >::value_type)((std::vector< CLSMFrame * > const *)arg1)->front();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_back" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = (std::vector< CLSMFrame * >::value_type)((std::vector< CLSMFrame * > const *)arg1)->back();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::size_type arg2 ;
  std::vector< CLSMFrame * >::value_type arg3 = (std::vector< CLSMFrame * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMFrame_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_assign" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame_assign" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::size_type >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMFrame_assign" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMFrame * >::value_type >(argp3);
  (arg1)->assign(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::size_type arg2 ;
  std::vector< CLSMFrame * >::value_type arg3 = (std::vector< CLSMFrame * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_resize" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame_resize" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::size_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMFrame_resize" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMFrame * >::value_type >(argp3);
  (arg1)->resize(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMFrame_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMFrame_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMFrame, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMFrame_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMFrame_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMFrame * >::resize(std::vector< CLSMFrame * >::size_type)\n"
    "    std::vector< CLSMFrame * >::resize(std::vector< CLSMFrame * >::size_type,std::vector< CLSMFrame * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::iterator arg2 ;
  std::vector< CLSMFrame * >::value_type arg3 = (std::vector< CLSMFrame * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::vector< CLSMFrame * >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_insert" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_insert" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_insert" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMFrame_insert" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMFrame * >::value_type >(argp3);
  result = std_vector_Sl_CLSMFrame_Sm__Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMFrame * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::iterator arg2 ;
  std::vector< CLSMFrame * >::size_type arg3 ;
  std::vector< CLSMFrame * >::value_type arg4 = (std::vector< CLSMFrame * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_insert" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_insert" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMFrame_insert" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMFrame_insert" "', argument " "3"" of type '" "std::vector< CLSMFrame * >::size_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMFrame * >::size_type >(val3);
  res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CLSMFrame_insert" "', argument " "4"" of type '" "std::vector< CLSMFrame * >::value_type""'"); 
  }
  arg4 = reinterpret_cast< std::vector< CLSMFrame * >::value_type >(argp4);
  std_vector_Sl_CLSMFrame_Sm__Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMFrame_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter) != 0));
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMFrame, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMFrame_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMFrame*,std::allocator< CLSMFrame * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMFrame * >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CLSMFrame, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_vector_CLSMFrame_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMFrame_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMFrame * >::insert(std::vector< CLSMFrame * >::iterator,std::vector< CLSMFrame * >::value_type)\n"
    "    std::vector< CLSMFrame * >::insert(std::vector< CLSMFrame * >::iterator,std::vector< CLSMFrame * >::size_type,std::vector< CLSMFrame * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  std::vector< CLSMFrame * >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMFrame_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_reserve" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMFrame_reserve" "', argument " "2"" of type '" "std::vector< CLSMFrame * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMFrame * >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMFrame_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMFrame_capacity" "', argument " "1"" of type '" "std::vector< CLSMFrame * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  result = ((std::vector< CLSMFrame * > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_vector_CLSMFrame(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMFrame * > *arg1 = (std::vector< CLSMFrame * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_CLSMFrame" "', argument " "1"" of type '" "std::vector< CLSMFrame * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMFrame * > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *vector_CLSMFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_CLSMFrame_p_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *vector_CLSMFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_vector_CLSMLine_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_iterator" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_CLSMLine_Sm__Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___nonzero__" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (bool)std_vector_Sl_CLSMLine_Sm__Sg____nonzero__((std::vector< CLSMLine * > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___bool__" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (bool)std_vector_Sl_CLSMLine_Sm__Sg____bool__((std::vector< CLSMLine * > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___len__" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = std_vector_Sl_CLSMLine_Sm__Sg____len__((std::vector< CLSMLine * > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::difference_type arg2 ;
  std::vector< CLSMLine * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< CLSMLine *,std::allocator< CLSMLine * > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMLine___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___getslice__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine___getslice__" "', argument " "2"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMLine___getslice__" "', argument " "3"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMLine * >::difference_type >(val3);
  try {
    result = (std::vector< CLSMLine *,std::allocator< CLSMLine * > > *)std_vector_Sl_CLSMLine_Sm__Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMLine_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::difference_type arg2 ;
  std::vector< CLSMLine * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___setslice__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine___setslice__" "', argument " "2"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMLine___setslice__" "', argument " "3"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMLine * >::difference_type >(val3);
  try {
    std_vector_Sl_CLSMLine_Sm__Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::difference_type arg2 ;
  std::vector< CLSMLine * >::difference_type arg3 ;
  std::vector< CLSMLine *,std::allocator< CLSMLine * > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___setslice__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine___setslice__" "', argument " "2"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMLine___setslice__" "', argument " "3"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMLine * >::difference_type >(val3);
  {
    std::vector< CLSMLine*,std::allocator< CLSMLine * > > *ptr = (std::vector< CLSMLine*,std::allocator< CLSMLine * > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CLSMLine___setslice__" "', argument " "4"" of type '" "std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMLine___setslice__" "', argument " "4"" of type '" "std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_CLSMLine_Sm__Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMLine___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_vector_CLSMLine___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_vector_CLSMLine___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMLine___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMLine * >::__setslice__(std::vector< CLSMLine * >::difference_type,std::vector< CLSMLine * >::difference_type)\n"
    "    std::vector< CLSMLine * >::__setslice__(std::vector< CLSMLine * >::difference_type,std::vector< CLSMLine * >::difference_type,std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::difference_type arg2 ;
  std::vector< CLSMLine * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMLine___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___delslice__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine___delslice__" "', argument " "2"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMLine___delslice__" "', argument " "3"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMLine * >::difference_type >(val3);
  try {
    std_vector_Sl_CLSMLine_Sm__Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___delitem__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine___delitem__" "', argument " "2"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::difference_type >(val2);
  try {
    std_vector_Sl_CLSMLine_Sm__Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< CLSMLine *,std::allocator< CLSMLine * > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___getitem__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< CLSMLine *,std::allocator< CLSMLine * > > *)std_vector_Sl_CLSMLine_Sm__Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMLine_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< CLSMLine *,std::allocator< CLSMLine * > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___setitem__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< CLSMLine*,std::allocator< CLSMLine * > > *ptr = (std::vector< CLSMLine*,std::allocator< CLSMLine * > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMLine___setitem__" "', argument " "3"" of type '" "std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMLine___setitem__" "', argument " "3"" of type '" "std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_CLSMLine_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___setitem__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_CLSMLine_Sm__Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___delitem__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_CLSMLine_Sm__Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMLine___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMLine___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMLine___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMLine___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMLine * >::__delitem__(std::vector< CLSMLine * >::difference_type)\n"
    "    std::vector< CLSMLine * >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< CLSMLine * >::value_type result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___getitem__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine___getitem__" "', argument " "2"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::difference_type >(val2);
  try {
    result = (std::vector< CLSMLine * >::value_type)std_vector_Sl_CLSMLine_Sm__Sg____getitem____SWIG_1(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMLine___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMLine___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMLine___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMLine___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMLine * >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< CLSMLine * >::__getitem__(std::vector< CLSMLine * >::difference_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::difference_type arg2 ;
  std::vector< CLSMLine * >::value_type arg3 = (std::vector< CLSMLine * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine___setitem__" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine___setitem__" "', argument " "2"" of type '" "std::vector< CLSMLine * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::difference_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMLine___setitem__" "', argument " "3"" of type '" "std::vector< CLSMLine * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMLine * >::value_type >(argp3);
  try {
    std_vector_Sl_CLSMLine_Sm__Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMLine___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMLine___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMLine___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMLine, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMLine___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMLine___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMLine * >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &)\n"
    "    std::vector< CLSMLine * >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< CLSMLine * >::__setitem__(std::vector< CLSMLine * >::difference_type,std::vector< CLSMLine * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_pop" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  try {
    result = (std::vector< CLSMLine * >::value_type)std_vector_Sl_CLSMLine_Sm__Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::value_type arg2 = (std::vector< CLSMLine * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMLine_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_append" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMLine_append" "', argument " "2"" of type '" "std::vector< CLSMLine * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMLine * >::value_type >(argp2);
  std_vector_Sl_CLSMLine_Sm__Sg__append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMLine__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< CLSMLine * > *)new std::vector< CLSMLine * >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMLine_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMLine__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< CLSMLine * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< CLSMLine*,std::allocator< CLSMLine * > > *ptr = (std::vector< CLSMLine*,std::allocator< CLSMLine * > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_CLSMLine" "', argument " "1"" of type '" "std::vector< CLSMLine * > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_CLSMLine" "', argument " "1"" of type '" "std::vector< CLSMLine * > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< CLSMLine * > *)new std::vector< CLSMLine * >((std::vector< CLSMLine * > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMLine_p_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_empty" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (bool)((std::vector< CLSMLine * > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_size" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = ((std::vector< CLSMLine * > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMLine_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_swap" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_CLSMLine_p_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMLine_swap" "', argument " "2"" of type '" "std::vector< CLSMLine * > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMLine_swap" "', argument " "2"" of type '" "std::vector< CLSMLine * > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMLine * > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_begin" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMLine * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_end" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMLine * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_rbegin" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMLine * >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_rend" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMLine * >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_clear" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< CLSMLine * > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_get_allocator" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = ((std::vector< CLSMLine * > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< CLSMLine * >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_CLSMLine_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMLine__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< CLSMLine * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CLSMLine" "', argument " "1"" of type '" "std::vector< CLSMLine * >::size_type""'");
  } 
  arg1 = static_cast< std::vector< CLSMLine * >::size_type >(val1);
  result = (std::vector< CLSMLine * > *)new std::vector< CLSMLine * >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMLine_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_pop_back" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_resize" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine_resize" "', argument " "2"" of type '" "std::vector< CLSMLine * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< CLSMLine * >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_erase" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_erase" "', argument " "2"" of type '" "std::vector< CLSMLine * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_erase" "', argument " "2"" of type '" "std::vector< CLSMLine * >::iterator""'");
    }
  }
  result = std_vector_Sl_CLSMLine_Sm__Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMLine * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::iterator arg2 ;
  std::vector< CLSMLine * >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< CLSMLine * >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_erase" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_erase" "', argument " "2"" of type '" "std::vector< CLSMLine * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_erase" "', argument " "2"" of type '" "std::vector< CLSMLine * >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_erase" "', argument " "3"" of type '" "std::vector< CLSMLine * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_erase" "', argument " "3"" of type '" "std::vector< CLSMLine * >::iterator""'");
    }
  }
  result = std_vector_Sl_CLSMLine_Sm__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMLine * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMLine_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_vector_CLSMLine_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_vector_CLSMLine_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMLine_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMLine * >::erase(std::vector< CLSMLine * >::iterator)\n"
    "    std::vector< CLSMLine * >::erase(std::vector< CLSMLine * >::iterator,std::vector< CLSMLine * >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMLine__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * >::size_type arg1 ;
  std::vector< CLSMLine * >::value_type arg2 = (std::vector< CLSMLine * >::value_type) 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::vector< CLSMLine * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CLSMLine" "', argument " "1"" of type '" "std::vector< CLSMLine * >::size_type""'");
  } 
  arg1 = static_cast< std::vector< CLSMLine * >::size_type >(val1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_CLSMLine" "', argument " "2"" of type '" "std::vector< CLSMLine * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMLine * >::value_type >(argp2);
  result = (std::vector< CLSMLine * > *)new std::vector< CLSMLine * >(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMLine_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMLine(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_vector_CLSMLine", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_vector_CLSMLine__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_vector_CLSMLine__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_vector_CLSMLine__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CLSMLine, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_vector_CLSMLine__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_vector_CLSMLine'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMLine * >::vector()\n"
    "    std::vector< CLSMLine * >::vector(std::vector< CLSMLine * > const &)\n"
    "    std::vector< CLSMLine * >::vector(std::vector< CLSMLine * >::size_type)\n"
    "    std::vector< CLSMLine * >::vector(std::vector< CLSMLine * >::size_type,std::vector< CLSMLine * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::value_type arg2 = (std::vector< CLSMLine * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMLine_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_push_back" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMLine_push_back" "', argument " "2"" of type '" "std::vector< CLSMLine * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMLine * >::value_type >(argp2);
  (arg1)->push_back(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_front" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (std::vector< CLSMLine * >::value_type)((std::vector< CLSMLine * > const *)arg1)->front();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_back" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = (std::vector< CLSMLine * >::value_type)((std::vector< CLSMLine * > const *)arg1)->back();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::size_type arg2 ;
  std::vector< CLSMLine * >::value_type arg3 = (std::vector< CLSMLine * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMLine_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_assign" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine_assign" "', argument " "2"" of type '" "std::vector< CLSMLine * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::size_type >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMLine_assign" "', argument " "3"" of type '" "std::vector< CLSMLine * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMLine * >::value_type >(argp3);
  (arg1)->assign(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::size_type arg2 ;
  std::vector< CLSMLine * >::value_type arg3 = (std::vector< CLSMLine * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_resize" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine_resize" "', argument " "2"" of type '" "std::vector< CLSMLine * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::size_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMLine_resize" "', argument " "3"" of type '" "std::vector< CLSMLine * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMLine * >::value_type >(argp3);
  (arg1)->resize(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMLine_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMLine_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMLine, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMLine_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMLine_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMLine * >::resize(std::vector< CLSMLine * >::size_type)\n"
    "    std::vector< CLSMLine * >::resize(std::vector< CLSMLine * >::size_type,std::vector< CLSMLine * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::iterator arg2 ;
  std::vector< CLSMLine * >::value_type arg3 = (std::vector< CLSMLine * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::vector< CLSMLine * >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_insert" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_insert" "', argument " "2"" of type '" "std::vector< CLSMLine * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_insert" "', argument " "2"" of type '" "std::vector< CLSMLine * >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMLine_insert" "', argument " "3"" of type '" "std::vector< CLSMLine * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMLine * >::value_type >(argp3);
  result = std_vector_Sl_CLSMLine_Sm__Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMLine * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::iterator arg2 ;
  std::vector< CLSMLine * >::size_type arg3 ;
  std::vector< CLSMLine * >::value_type arg4 = (std::vector< CLSMLine * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_insert" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_insert" "', argument " "2"" of type '" "std::vector< CLSMLine * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMLine_insert" "', argument " "2"" of type '" "std::vector< CLSMLine * >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMLine_insert" "', argument " "3"" of type '" "std::vector< CLSMLine * >::size_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMLine * >::size_type >(val3);
  res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CLSMLine_insert" "', argument " "4"" of type '" "std::vector< CLSMLine * >::value_type""'"); 
  }
  arg4 = reinterpret_cast< std::vector< CLSMLine * >::value_type >(argp4);
  std_vector_Sl_CLSMLine_Sm__Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMLine_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter) != 0));
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMLine, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMLine_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMLine*,std::allocator< CLSMLine * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMLine * >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CLSMLine, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_vector_CLSMLine_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMLine_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMLine * >::insert(std::vector< CLSMLine * >::iterator,std::vector< CLSMLine * >::value_type)\n"
    "    std::vector< CLSMLine * >::insert(std::vector< CLSMLine * >::iterator,std::vector< CLSMLine * >::size_type,std::vector< CLSMLine * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  std::vector< CLSMLine * >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMLine_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_reserve" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMLine_reserve" "', argument " "2"" of type '" "std::vector< CLSMLine * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMLine * >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMLine_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMLine_capacity" "', argument " "1"" of type '" "std::vector< CLSMLine * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  result = ((std::vector< CLSMLine * > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_vector_CLSMLine(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMLine * > *arg1 = (std::vector< CLSMLine * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMLine_p_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_CLSMLine" "', argument " "1"" of type '" "std::vector< CLSMLine * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMLine * > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *vector_CLSMLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_CLSMLine_p_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *vector_CLSMLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_vector_CLSMPixel_iterator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  PyObject **arg2 = (PyObject **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  swig::SwigPyIterator *result = 0 ;
  
  arg2 = &swig_obj[0];
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_iterator" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (swig::SwigPyIterator *)std_vector_Sl_CLSMPixel_Sm__Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___nonzero__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___nonzero__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (bool)std_vector_Sl_CLSMPixel_Sm__Sg____nonzero__((std::vector< CLSMPixel * > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___bool__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___bool__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (bool)std_vector_Sl_CLSMPixel_Sm__Sg____bool__((std::vector< CLSMPixel * > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___len__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = std_vector_Sl_CLSMPixel_Sm__Sg____len__((std::vector< CLSMPixel * > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___getslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::difference_type arg2 ;
  std::vector< CLSMPixel * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMPixel___getslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___getslice__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel___getslice__" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMPixel___getslice__" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMPixel * >::difference_type >(val3);
  try {
    result = (std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *)std_vector_Sl_CLSMPixel_Sm__Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::difference_type arg2 ;
  std::vector< CLSMPixel * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___setslice__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel___setslice__" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMPixel___setslice__" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMPixel * >::difference_type >(val3);
  try {
    std_vector_Sl_CLSMPixel_Sm__Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::difference_type arg2 ;
  std::vector< CLSMPixel * >::difference_type arg3 ;
  std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  int res4 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___setslice__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel___setslice__" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMPixel___setslice__" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMPixel * >::difference_type >(val3);
  {
    std::vector< CLSMPixel*,std::allocator< CLSMPixel * > > *ptr = (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > > *)0;
    res4 = swig::asptr(swig_obj[3], &ptr);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CLSMPixel___setslice__" "', argument " "4"" of type '" "std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMPixel___setslice__" "', argument " "4"" of type '" "std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &""'"); 
    }
    arg4 = ptr;
  }
  try {
    std_vector_Sl_CLSMPixel_Sm__Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &)*arg4);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___setslice__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMPixel___setslice__", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_vector_CLSMPixel___setslice____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = swig::asptr(argv[3], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_vector_CLSMPixel___setslice____SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMPixel___setslice__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMPixel * >::__setslice__(std::vector< CLSMPixel * >::difference_type,std::vector< CLSMPixel * >::difference_type)\n"
    "    std::vector< CLSMPixel * >::__setslice__(std::vector< CLSMPixel * >::difference_type,std::vector< CLSMPixel * >::difference_type,std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___delslice__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::difference_type arg2 ;
  std::vector< CLSMPixel * >::difference_type arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  ptrdiff_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"j",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMPixel___delslice__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___delslice__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel___delslice__" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::difference_type >(val2);
  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMPixel___delslice__" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMPixel * >::difference_type >(val3);
  try {
    std_vector_Sl_CLSMPixel_Sm__Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___delitem__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel___delitem__" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::difference_type >(val2);
  try {
    std_vector_Sl_CLSMPixel_Sm__Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___getitem__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    result = (std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *)std_vector_Sl_CLSMPixel_Sm__Sg____getitem____SWIG_0(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 = SWIG_OLDOBJ ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___setitem__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  {
    std::vector< CLSMPixel*,std::allocator< CLSMPixel * > > *ptr = (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > > *)0;
    res3 = swig::asptr(swig_obj[2], &ptr);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMPixel___setitem__" "', argument " "3"" of type '" "std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMPixel___setitem__" "', argument " "3"" of type '" "std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &""'"); 
    }
    arg3 = ptr;
  }
  try {
    std_vector_Sl_CLSMPixel_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &)*arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res3)) delete arg3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___setitem__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_CLSMPixel_Sm__Sg____setitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___delitem__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  {
    if (!PySlice_Check(swig_obj[1])) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'");
    }
    arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1];
  }
  try {
    std_vector_Sl_CLSMPixel_Sm__Sg____delitem____SWIG_1(arg1,arg2);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  } catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___delitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMPixel___delitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMPixel___delitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMPixel___delitem____SWIG_0(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMPixel___delitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMPixel * >::__delitem__(std::vector< CLSMPixel * >::difference_type)\n"
    "    std::vector< CLSMPixel * >::__delitem__(SWIGPY_SLICEOBJECT *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::difference_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  std::vector< CLSMPixel * >::value_type result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___getitem__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel___getitem__" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::difference_type >(val2);
  try {
    result = (std::vector< CLSMPixel * >::value_type)std_vector_Sl_CLSMPixel_Sm__Sg____getitem____SWIG_1(arg1,SWIG_STD_MOVE(arg2));
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMPixel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___getitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMPixel___getitem__", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMPixel___getitem____SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMPixel___getitem____SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMPixel___getitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMPixel * >::__getitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< CLSMPixel * >::__getitem__(std::vector< CLSMPixel * >::difference_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::difference_type arg2 ;
  std::vector< CLSMPixel * >::value_type arg3 = (std::vector< CLSMPixel * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  ptrdiff_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel___setitem__" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel___setitem__" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::difference_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::difference_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMPixel, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMPixel___setitem__" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMPixel * >::value_type >(argp3);
  try {
    std_vector_Sl_CLSMPixel_Sm__Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel___setitem__(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMPixel___setitem__", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        return _wrap_vector_CLSMPixel___setitem____SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PySlice_Check(argv[1]);
      }
      if (_v) {
        int res = swig::asptr(argv[2], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMPixel___setitem____SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMPixel, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMPixel___setitem____SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMPixel___setitem__'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMPixel * >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &)\n"
    "    std::vector< CLSMPixel * >::__setitem__(SWIGPY_SLICEOBJECT *)\n"
    "    std::vector< CLSMPixel * >::__setitem__(std::vector< CLSMPixel * >::difference_type,std::vector< CLSMPixel * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_pop(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_pop" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  try {
    result = (std::vector< CLSMPixel * >::value_type)std_vector_Sl_CLSMPixel_Sm__Sg__pop(arg1);
  } catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMPixel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::value_type arg2 = (std::vector< CLSMPixel * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMPixel_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_append" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CLSMPixel, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMPixel_append" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMPixel * >::value_type >(argp2);
  std_vector_Sl_CLSMPixel_Sm__Sg__append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMPixel__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (std::vector< CLSMPixel * > *)new std::vector< CLSMPixel * >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMPixel__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = 0 ;
  int res1 = SWIG_OLDOBJ ;
  std::vector< CLSMPixel * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  {
    std::vector< CLSMPixel*,std::allocator< CLSMPixel * > > *ptr = (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > > *)0;
    res1 = swig::asptr(swig_obj[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_CLSMPixel" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_CLSMPixel" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const &""'"); 
    }
    arg1 = ptr;
  }
  result = (std::vector< CLSMPixel * > *)new std::vector< CLSMPixel * >((std::vector< CLSMPixel * > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_empty(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_empty" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (bool)((std::vector< CLSMPixel * > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_size" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = ((std::vector< CLSMPixel * > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_swap(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMPixel_swap", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_swap" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_CLSMPixel_p_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMPixel_swap" "', argument " "2"" of type '" "std::vector< CLSMPixel * > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CLSMPixel_swap" "', argument " "2"" of type '" "std::vector< CLSMPixel * > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp2);
  (arg1)->swap(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_begin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_begin" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMPixel * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_end(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_end" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMPixel * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_rbegin(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_rbegin" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMPixel * >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_rend(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::reverse_iterator result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_rend" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMPixel * >::reverse_iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_clear" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_get_allocator(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  SwigValueWrapper< std::allocator< CLSMPixel * > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_get_allocator" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = ((std::vector< CLSMPixel * > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::vector< CLSMPixel * >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_CLSMPixel_p_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMPixel__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * >::size_type arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  std::vector< CLSMPixel * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CLSMPixel" "', argument " "1"" of type '" "std::vector< CLSMPixel * >::size_type""'");
  } 
  arg1 = static_cast< std::vector< CLSMPixel * >::size_type >(val1);
  result = (std::vector< CLSMPixel * > *)new std::vector< CLSMPixel * >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_pop_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_pop_back" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  (arg1)->pop_back();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_resize" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel_resize" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::size_type >(val2);
  (arg1)->resize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::iterator arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  std::vector< CLSMPixel * >::iterator result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_erase" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_erase" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_erase" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::iterator""'");
    }
  }
  result = std_vector_Sl_CLSMPixel_Sm__Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMPixel * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::iterator arg2 ;
  std::vector< CLSMPixel * >::iterator arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  swig::SwigPyIterator *iter3 = 0 ;
  int res3 ;
  std::vector< CLSMPixel * >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_erase" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_erase" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_erase" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_erase" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter3);
    if (iter_t) {
      arg3 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_erase" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::iterator""'");
    }
  }
  result = std_vector_Sl_CLSMPixel_Sm__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3));
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMPixel * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_erase(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMPixel_erase", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter) != 0));
      if (_v) {
        return _wrap_vector_CLSMPixel_erase__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter) != 0));
      if (_v) {
        swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter) != 0));
        if (_v) {
          return _wrap_vector_CLSMPixel_erase__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMPixel_erase'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMPixel * >::erase(std::vector< CLSMPixel * >::iterator)\n"
    "    std::vector< CLSMPixel * >::erase(std::vector< CLSMPixel * >::iterator,std::vector< CLSMPixel * >::iterator)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMPixel__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * >::size_type arg1 ;
  std::vector< CLSMPixel * >::value_type arg2 = (std::vector< CLSMPixel * >::value_type) 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::vector< CLSMPixel * > *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CLSMPixel" "', argument " "1"" of type '" "std::vector< CLSMPixel * >::size_type""'");
  } 
  arg1 = static_cast< std::vector< CLSMPixel * >::size_type >(val1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_CLSMPixel, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_CLSMPixel" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMPixel * >::value_type >(argp2);
  result = (std::vector< CLSMPixel * > *)new std::vector< CLSMPixel * >(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_vector_CLSMPixel(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_vector_CLSMPixel", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_vector_CLSMPixel__SWIG_0(self, argc, argv);
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_vector_CLSMPixel__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_vector_CLSMPixel__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CLSMPixel, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_vector_CLSMPixel__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_vector_CLSMPixel'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMPixel * >::vector()\n"
    "    std::vector< CLSMPixel * >::vector(std::vector< CLSMPixel * > const &)\n"
    "    std::vector< CLSMPixel * >::vector(std::vector< CLSMPixel * >::size_type)\n"
    "    std::vector< CLSMPixel * >::vector(std::vector< CLSMPixel * >::size_type,std::vector< CLSMPixel * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_push_back(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::value_type arg2 = (std::vector< CLSMPixel * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMPixel_push_back", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_push_back" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CLSMPixel, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CLSMPixel_push_back" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::value_type""'"); 
  }
  arg2 = reinterpret_cast< std::vector< CLSMPixel * >::value_type >(argp2);
  (arg1)->push_back(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_front(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_front" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (std::vector< CLSMPixel * >::value_type)((std::vector< CLSMPixel * > const *)arg1)->front();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMPixel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_back(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::value_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_back" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = (std::vector< CLSMPixel * >::value_type)((std::vector< CLSMPixel * > const *)arg1)->back();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMPixel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_assign(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::size_type arg2 ;
  std::vector< CLSMPixel * >::value_type arg3 = (std::vector< CLSMPixel * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  (char *)"x",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:vector_CLSMPixel_assign", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_assign" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel_assign" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::size_type >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CLSMPixel, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMPixel_assign" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMPixel * >::value_type >(argp3);
  (arg1)->assign(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::size_type arg2 ;
  std::vector< CLSMPixel * >::value_type arg3 = (std::vector< CLSMPixel * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_resize" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel_resize" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::size_type >(val2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMPixel, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMPixel_resize" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMPixel * >::value_type >(argp3);
  (arg1)->resize(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_resize(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMPixel_resize", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_vector_CLSMPixel_resize__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMPixel, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMPixel_resize__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMPixel_resize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMPixel * >::resize(std::vector< CLSMPixel * >::size_type)\n"
    "    std::vector< CLSMPixel * >::resize(std::vector< CLSMPixel * >::size_type,std::vector< CLSMPixel * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::iterator arg2 ;
  std::vector< CLSMPixel * >::value_type arg3 = (std::vector< CLSMPixel * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::vector< CLSMPixel * >::iterator result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_insert" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_insert" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_insert" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::iterator""'");
    }
  }
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_CLSMPixel, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CLSMPixel_insert" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::value_type""'"); 
  }
  arg3 = reinterpret_cast< std::vector< CLSMPixel * >::value_type >(argp3);
  result = std_vector_Sl_CLSMPixel_Sm__Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CLSMPixel * >::iterator & >(result)),
    swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::iterator arg2 ;
  std::vector< CLSMPixel * >::size_type arg3 ;
  std::vector< CLSMPixel * >::value_type arg4 = (std::vector< CLSMPixel * >::value_type) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_insert" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_insert" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::iterator""'");
  } else {
    swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter2);
    if (iter_t) {
      arg2 = iter_t->get_current();
    } else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CLSMPixel_insert" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::iterator""'");
    }
  }
  ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CLSMPixel_insert" "', argument " "3"" of type '" "std::vector< CLSMPixel * >::size_type""'");
  } 
  arg3 = static_cast< std::vector< CLSMPixel * >::size_type >(val3);
  res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_CLSMPixel, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CLSMPixel_insert" "', argument " "4"" of type '" "std::vector< CLSMPixel * >::value_type""'"); 
  }
  arg4 = reinterpret_cast< std::vector< CLSMPixel * >::value_type >(argp4);
  std_vector_Sl_CLSMPixel_Sm__Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_insert(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "vector_CLSMPixel_insert", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter) != 0));
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CLSMPixel, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_vector_CLSMPixel_insert__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    int res = swig::asptr(argv[0], (std::vector< CLSMPixel*,std::allocator< CLSMPixel * > >**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CLSMPixel * >::iterator > *>(iter) != 0));
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CLSMPixel, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_vector_CLSMPixel_insert__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'vector_CLSMPixel_insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    std::vector< CLSMPixel * >::insert(std::vector< CLSMPixel * >::iterator,std::vector< CLSMPixel * >::value_type)\n"
    "    std::vector< CLSMPixel * >::insert(std::vector< CLSMPixel * >::iterator,std::vector< CLSMPixel * >::size_type,std::vector< CLSMPixel * >::value_type)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_reserve(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  std::vector< CLSMPixel * >::size_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"n",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:vector_CLSMPixel_reserve", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_reserve" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CLSMPixel_reserve" "', argument " "2"" of type '" "std::vector< CLSMPixel * >::size_type""'");
  } 
  arg2 = static_cast< std::vector< CLSMPixel * >::size_type >(val2);
  (arg1)->reserve(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_vector_CLSMPixel_capacity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel * >::size_type result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CLSMPixel_capacity" "', argument " "1"" of type '" "std::vector< CLSMPixel * > const *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  result = ((std::vector< CLSMPixel * > const *)arg1)->capacity();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_vector_CLSMPixel(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  std::vector< CLSMPixel * > *arg1 = (std::vector< CLSMPixel * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_CLSMPixel" "', argument " "1"" of type '" "std::vector< CLSMPixel * > *""'"); 
  }
  arg1 = reinterpret_cast< std::vector< CLSMPixel * > * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *vector_CLSMPixel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_CLSMPixel_p_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *vector_CLSMPixel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_delete_CLSMPixel(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMPixel *arg1 = (CLSMPixel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMPixel, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CLSMPixel" "', argument " "1"" of type '" "CLSMPixel *""'"); 
  }
  arg1 = reinterpret_cast< CLSMPixel * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMPixel__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  CLSMPixel *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  CLSMPixel *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_CLSMPixel,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CLSMPixel" "', argument " "1"" of type '" "CLSMPixel const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CLSMPixel" "', argument " "1"" of type '" "CLSMPixel const &""'"); 
  }
  arg1 = reinterpret_cast< CLSMPixel * >(argp1);
  result = (CLSMPixel *)new CLSMPixel((CLSMPixel const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMPixel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMPixel__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  CLSMPixel *arg1 = (CLSMPixel *) nullptr ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  CLSMPixel *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 1)) SWIG_fail;
  if (swig_obj[0]) {
    res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMPixel, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CLSMPixel" "', argument " "1"" of type '" "CLSMPixel *""'"); 
    }
    arg1 = reinterpret_cast< CLSMPixel * >(argp1);
  }
  result = (CLSMPixel *)new CLSMPixel(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMPixel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMPixel(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[2] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_CLSMPixel", 0, 1, argv))) SWIG_fail;
  --argc;
  if ((argc >= 0) && (argc <= 1)) {
    int _v = 0;
    if (argc <= 0) {
      return _wrap_new_CLSMPixel__SWIG_1(self, argc, argv);
    }
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CLSMPixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_CLSMPixel__SWIG_1(self, argc, argv);
    }
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_CLSMPixel, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_CLSMPixel__SWIG_0(self, argc, argv);
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CLSMPixel'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    CLSMPixel::CLSMPixel(CLSMPixel const &)\n"
    "    CLSMPixel::CLSMPixel(CLSMPixel *)\n");
  return 0;
}


SWIGINTERN PyObject *CLSMPixel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_CLSMPixel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *CLSMPixel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_CLSMLine_get_pixels(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMPixel,std::allocator< CLSMPixel > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine_get_pixels" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  result = (std::vector< CLSMPixel,std::allocator< CLSMPixel > > *) &(arg1)->get_pixels();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CLSMPixel_std__allocatorT_CLSMPixel_t_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMLine_set_pixel_duration(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMLine_set_pixel_duration", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine_set_pixel_duration" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMLine_set_pixel_duration" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->set_pixel_duration(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMLine__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  CLSMLine *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (CLSMLine *)new CLSMLine();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMLine__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = 0 ;
  bool arg2 = (bool) true ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  CLSMLine *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_CLSMLine,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CLSMLine" "', argument " "1"" of type '" "CLSMLine const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CLSMLine" "', argument " "1"" of type '" "CLSMLine const &""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  if (swig_obj[1]) {
    ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CLSMLine" "', argument " "2"" of type '" "bool""'");
    } 
    arg2 = static_cast< bool >(val2);
  }
  result = (CLSMLine *)new CLSMLine((CLSMLine const &)*arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMLine__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  unsigned int arg1 ;
  unsigned int val1 ;
  int ecode1 = 0 ;
  CLSMLine *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CLSMLine" "', argument " "1"" of type '" "unsigned int""'");
  } 
  arg1 = static_cast< unsigned int >(val1);
  result = (CLSMLine *)new CLSMLine(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMLine__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  int arg1 ;
  unsigned int arg2 ;
  int val1 ;
  int ecode1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  CLSMLine *result = 0 ;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CLSMLine" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CLSMLine" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (CLSMLine *)new CLSMLine(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMLine(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_CLSMLine", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_CLSMLine__SWIG_0(self, argc, argv);
  }
  if ((argc >= 1) && (argc <= 2)) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_CLSMLine, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      if (argc <= 1) {
        return _wrap_new_CLSMLine__SWIG_1(self, argc, argv);
      }
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_CLSMLine__SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 1) {
    int _v = 0;
    {
      int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_CLSMLine__SWIG_2(self, argc, argv);
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_CLSMLine__SWIG_3(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CLSMLine'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    CLSMLine::CLSMLine()\n"
    "    CLSMLine::CLSMLine(CLSMLine const &,bool)\n"
    "    CLSMLine::CLSMLine(unsigned int)\n"
    "    CLSMLine::CLSMLine(int,unsigned int)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_delete_CLSMLine(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMLine, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CLSMLine" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMLine_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  CLSMPixel *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"pixel",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMLine_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine_append" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CLSMPixel,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMLine_append" "', argument " "2"" of type '" "CLSMPixel &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMLine_append" "', argument " "2"" of type '" "CLSMPixel &""'"); 
  }
  arg2 = reinterpret_cast< CLSMPixel * >(argp2);
  (arg1)->append(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMLine_crop(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"pixel_start",  (char *)"pixel_stop",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:CLSMLine_crop", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine_crop" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMLine_crop" "', 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 '" "CLSMLine_crop" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->crop(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMLine___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  CLSMLine *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"rhs",  NULL 
  };
  CLSMLine *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMLine___iadd__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMLine, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine___iadd__" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CLSMLine,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMLine___iadd__" "', argument " "2"" of type '" "CLSMLine const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMLine___iadd__" "', argument " "2"" of type '" "CLSMLine const &""'"); 
  }
  arg2 = reinterpret_cast< CLSMLine * >(argp2);
  result = (CLSMLine *) &(arg1)->operator +=((CLSMLine const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMLine_n_pixel_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine_n_pixel_get" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  result = CLSMLine_n_pixel_get(arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMLine_pixel_duration_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned long long result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine_pixel_duration_get" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  result = (unsigned long long)CLSMLine_pixel_duration_get(arg1);
  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMLine___getitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  NULL 
  };
  CLSMPixel *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMLine___getitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine___getitem__" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMLine___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    assert(!myErr);
    result = (CLSMPixel *)CLSMLine___getitem__(arg1,arg2);
    if (myErr) {
      myErr = 0; // clear flag for next time
      // You could also check the value in resultobj, but it's a PyObject here
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMPixel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMLine___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMLine *arg1 = (CLSMLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMLine___len__" "', argument " "1"" of type '" "CLSMLine *""'"); 
  }
  arg1 = reinterpret_cast< CLSMLine * >(argp1);
  result = CLSMLine___len__(arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *CLSMLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_CLSMLine, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *CLSMLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_CLSMFrame_get_lines(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = (CLSMFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMLine *,std::allocator< CLSMLine * > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMFrame_get_lines" "', argument " "1"" of type '" "CLSMFrame *""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  result = (arg1)->get_lines();
  resultobj = swig::from(static_cast< std::vector< CLSMLine*,std::allocator< CLSMLine * > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMFrame__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
  PyObject *resultobj = 0;
  CLSMFrame *result = 0 ;
  
  (void)self;
  if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
  result = (CLSMFrame *)new CLSMFrame();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMFrame__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = 0 ;
  bool arg2 = (bool) true ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  CLSMFrame *result = 0 ;
  
  (void)self;
  if ((nobjs < 1) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_CLSMFrame,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CLSMFrame" "', argument " "1"" of type '" "CLSMFrame const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CLSMFrame" "', argument " "1"" of type '" "CLSMFrame const &""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  if (swig_obj[1]) {
    ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CLSMFrame" "', argument " "2"" of type '" "bool""'");
    } 
    arg2 = static_cast< bool >(val2);
  }
  result = (CLSMFrame *)new CLSMFrame((CLSMFrame const &)*arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_CLSMFrame(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = (CLSMFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMFrame, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CLSMFrame" "', argument " "1"" of type '" "CLSMFrame *""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMFrame__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t arg2 ;
  std::shared_ptr< TTTR > arg3 ;
  size_t val1 ;
  int ecode1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  CLSMFrame *result = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CLSMFrame" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CLSMFrame" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    int newmem = 0;
    res3 = SWIG_ConvertPtrAndOwn(swig_obj[2], &argp3, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CLSMFrame" "', argument " "3"" of type '" "std::shared_ptr< TTTR >""'");
    }
    if (argp3) arg3 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp3));
    if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp3);
  }
  result = (CLSMFrame *)new CLSMFrame(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMFrame(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "new_CLSMFrame", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 0) {
    return _wrap_new_CLSMFrame__SWIG_0(self, argc, argv);
  }
  if ((argc >= 1) && (argc <= 2)) {
    int _v = 0;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_CLSMFrame, SWIG_POINTER_NO_NULL | 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      if (argc <= 1) {
        return _wrap_new_CLSMFrame__SWIG_1(self, argc, argv);
      }
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_CLSMFrame__SWIG_1(self, argc, argv);
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_CLSMFrame__SWIG_2(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CLSMFrame'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    CLSMFrame::CLSMFrame()\n"
    "    CLSMFrame::CLSMFrame(CLSMFrame const &,bool)\n"
    "    CLSMFrame::CLSMFrame(size_t,size_t,std::shared_ptr< TTTR >)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_CLSMFrame_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = (CLSMFrame *) 0 ;
  CLSMLine *arg2 = (CLSMLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"line",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMFrame_append", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMFrame_append" "', argument " "1"" of type '" "CLSMFrame *""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CLSMLine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMFrame_append" "', argument " "2"" of type '" "CLSMLine *""'"); 
  }
  arg2 = reinterpret_cast< CLSMLine * >(argp2);
  (arg1)->append(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMFrame___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = (CLSMFrame *) 0 ;
  CLSMFrame *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"rhs",  NULL 
  };
  CLSMFrame *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMFrame___iadd__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMFrame, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMFrame___iadd__" "', argument " "1"" of type '" "CLSMFrame *""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CLSMFrame,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMFrame___iadd__" "', argument " "2"" of type '" "CLSMFrame const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMFrame___iadd__" "', argument " "2"" of type '" "CLSMFrame const &""'"); 
  }
  arg2 = reinterpret_cast< CLSMFrame * >(argp2);
  result = (CLSMFrame *) &(arg1)->operator +=((CLSMFrame const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMFrame_crop(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = (CLSMFrame *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  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 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"line_start",  (char *)"line_stop",  (char *)"pixel_start",  (char *)"pixel_stop",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO:CLSMFrame_crop", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMFrame_crop" "', argument " "1"" of type '" "CLSMFrame *""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMFrame_crop" "', 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 '" "CLSMFrame_crop" "', 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 '" "CLSMFrame_crop" "', 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 '" "CLSMFrame_crop" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->crop(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMFrame_n_lines_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = (CLSMFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMFrame_n_lines_get" "', argument " "1"" of type '" "CLSMFrame *""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  result = CLSMFrame_n_lines_get(arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMFrame___getitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = (CLSMFrame *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  NULL 
  };
  CLSMLine *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMFrame___getitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMFrame___getitem__" "', argument " "1"" of type '" "CLSMFrame *""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMFrame___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    assert(!myErr);
    result = (CLSMLine *)CLSMFrame___getitem__(arg1,arg2);
    if (myErr) {
      myErr = 0; // clear flag for next time
      // You could also check the value in resultobj, but it's a PyObject here
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMLine, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMFrame___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMFrame *arg1 = (CLSMFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMFrame___len__" "', argument " "1"" of type '" "CLSMFrame *""'"); 
  }
  arg1 = reinterpret_cast< CLSMFrame * >(argp1);
  result = CLSMFrame___len__(arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *CLSMFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_CLSMFrame, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *CLSMFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_CLSMSettings(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  bool arg1 = (bool) false ;
  bool arg2 = (bool) false ;
  int arg3 = (int) CLSM_DEFAULT ;
  int arg4 = (int) 3 ;
  int arg5 = (int) 2 ;
  std::vector< int,std::allocator< int > > arg6 = (std::vector< int,std::allocator< int > >) std::vector< int >({
    1
  }) ;
  int arg7 = (int) 1 ;
  int arg8 = (int) 1 ;
  int arg9 = (int) -1 ;
  bool arg10 = (bool) false ;
  bool val1 ;
  int ecode1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  bool val10 ;
  int ecode10 = 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 ;
  char * kwnames[] = {
    (char *)"skip_before_first_frame_marker",  (char *)"skip_after_last_frame_marker",  (char *)"reading_routine",  (char *)"marker_line_start",  (char *)"marker_line_stop",  (char *)"marker_frame_start",  (char *)"marker_event_type",  (char *)"n_pixel_per_line",  (char *)"n_lines",  (char *)"bidirectional_scan",  NULL 
  };
  CLSMSettings *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOOOOOOO:new_CLSMSettings", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7, &obj8, &obj9)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_bool(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CLSMSettings" "', argument " "1"" of type '" "bool""'");
    } 
    arg1 = static_cast< bool >(val1);
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_bool(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CLSMSettings" "', argument " "2"" of type '" "bool""'");
    } 
    arg2 = static_cast< bool >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CLSMSettings" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CLSMSettings" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CLSMSettings" "', argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj5, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CLSMSettings" "', argument " "6"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg6 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_CLSMSettings" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj7) {
    ecode8 = SWIG_AsVal_int(obj7, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_CLSMSettings" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj8) {
    ecode9 = SWIG_AsVal_int(obj8, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_CLSMSettings" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  if (obj9) {
    ecode10 = SWIG_AsVal_bool(obj9, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_CLSMSettings" "', argument " "10"" of type '" "bool""'");
    } 
    arg10 = static_cast< bool >(val10);
  }
  result = (CLSMSettings *)new CLSMSettings(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMSettings, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_CLSMSettings(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMSettings *arg1 = (CLSMSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_CLSMSettings, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CLSMSettings" "', argument " "1"" of type '" "CLSMSettings *""'"); 
  }
  arg1 = reinterpret_cast< CLSMSettings * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *CLSMSettings_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_CLSMSettings, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *CLSMSettings_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_CLSMImage_get_tttr(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  std::shared_ptr< TTTR > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_tttr" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->get_tttr();
  {
    std::shared_ptr<  TTTR > *smartresult = result ? new std::shared_ptr<  TTTR >(result) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_TTTR_t, SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_set_tttr(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMImage_set_tttr", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_set_tttr" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_set_tttr" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    }
    if (argp2) arg2 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp2));
    if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
  }
  (arg1)->set_tttr(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_settings(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  CLSMSettings *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_settings" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (CLSMSettings *)(arg1)->get_settings();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMSettings, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_size(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_size" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_marker_frame_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  std::vector< int,std::allocator< int > > *arg2 = (std::vector< int,std::allocator< int > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CLSMImage_marker_frame_set", 2, 2, swig_obj)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_marker_frame_set" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_marker_frame_set" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
  }
  arg2 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp2);
  if (arg1) (arg1)->marker_frame = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_marker_frame_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< int,std::allocator< int > > *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_marker_frame_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (std::vector< int,std::allocator< int > > *)& ((arg1)->marker_frame);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_marker_line_start_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CLSMImage_marker_line_start_set", 2, 2, swig_obj)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_marker_line_start_set" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_marker_line_start_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->marker_line_start = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_marker_line_start_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_marker_line_start_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (int) ((arg1)->marker_line_start);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_marker_line_stop_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CLSMImage_marker_line_stop_set", 2, 2, swig_obj)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_marker_line_stop_set" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_marker_line_stop_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->marker_line_stop = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_marker_line_stop_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_marker_line_stop_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (int) ((arg1)->marker_line_stop);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_marker_event_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CLSMImage_marker_event_set", 2, 2, swig_obj)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_marker_event_set" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_marker_event_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->marker_event = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_marker_event_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_marker_event_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (int) ((arg1)->marker_event);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_reading_routine_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  std::string *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CLSMImage_reading_routine_set", 2, 2, swig_obj)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_reading_routine_set" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_reading_routine_set" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMImage_reading_routine_set" "', argument " "2"" of type '" "std::string const &""'"); 
    }
    arg2 = ptr;
  }
  if (arg1) (arg1)->reading_routine = *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_CLSMImage_reading_routine_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_reading_routine_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (std::string *) & ((arg1)->reading_routine);
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_skip_before_first_frame_marker_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CLSMImage_skip_before_first_frame_marker_set", 2, 2, swig_obj)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_skip_before_first_frame_marker_set" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_skip_before_first_frame_marker_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->skip_before_first_frame_marker = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_skip_before_first_frame_marker_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_skip_before_first_frame_marker_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (bool) ((arg1)->skip_before_first_frame_marker);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_skip_after_last_frame_marker_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "CLSMImage_skip_after_last_frame_marker_set", 2, 2, swig_obj)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_skip_after_last_frame_marker_set" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_skip_after_last_frame_marker_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->skip_after_last_frame_marker = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_skip_after_last_frame_marker_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_skip_after_last_frame_marker_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (bool) ((arg1)->skip_after_last_frame_marker);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_fill(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  std::shared_ptr< TTTR > arg2 = (std::shared_ptr< TTTR >) nullptr ;
  std::vector< int,std::allocator< int > > arg3 = (std::vector< int,std::allocator< int > >) std::vector< int >() ;
  bool arg4 = (bool) true ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &arg5_defvalue = std::vector< std::pair< int,int > >() ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *arg5 = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *) &arg5_defvalue ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  int res5 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"channels",  (char *)"clear",  (char *)"micro_time_ranges",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOOO:CLSMImage_fill", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_fill" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    {
      int newmem = 0;
      res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_fill" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
      }
      if (argp2) arg2 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp2));
      if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
    }
  }
  if (obj2) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_fill" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg3 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CLSMImage_fill" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  if (obj4) {
    {
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *ptr = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)0;
      res5 = swig::asptr(obj4, &ptr);
      if (!SWIG_IsOK(res5)) {
        SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CLSMImage_fill" "', argument " "5"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &""'"); 
      }
      if (!ptr) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMImage_fill" "', argument " "5"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &""'"); 
      }
      arg5 = ptr;
    }
  }
  (arg1)->fill(arg2,arg3,arg4,(std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &)*arg5);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res5)) delete arg5;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res5)) delete arg5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_fill_pixels(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  std::shared_ptr< TTTR > arg2 ;
  std::vector< int,std::allocator< int > > arg3 ;
  bool arg4 = (bool) true ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > arg5 = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >) std::vector< std::pair< int,int > >() ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"channels",  (char *)"clear_pixel",  (char *)"micro_time_ranges",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OO:CLSMImage_fill_pixels", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_fill_pixels" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_fill_pixels" "', argument " "2"" of type '" "std::shared_ptr< TTTR >""'");
    }
    if (argp2) arg2 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp2));
    if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp2);
  }
  {
    std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
    int res = swig::asptr(obj2, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_fill_pixels" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > >""'"); 
    }
    arg3 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CLSMImage_fill_pixels" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  if (obj4) {
    {
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *ptr = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)0;
      int res = swig::asptr(obj4, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_fill_pixels" "', argument " "5"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >""'"); 
      }
      arg5 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  (arg1)->fill_pixels(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_clear(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_clear" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_clear_pixels(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_clear_pixels" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->clear_pixels();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_strip(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  std::vector< int,std::allocator< int > > *arg2 = 0 ;
  int arg3 = (int) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_indices",  (char *)"offset",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:CLSMImage_strip", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_strip" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
    res2 = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_strip" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMImage_strip" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'"); 
    }
    arg2 = ptr;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CLSMImage_strip" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  (arg1)->strip((std::vector< int,std::allocator< int > > const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_fcs_image(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  float **arg2 = (float **) 0 ;
  int *arg3 = (int *) 0 ;
  int *arg4 = (int *) 0 ;
  int *arg5 = (int *) 0 ;
  int *arg6 = (int *) 0 ;
  std::shared_ptr< TTTR > arg7 ;
  CLSMImage *arg8 = (CLSMImage *) nullptr ;
  std::string arg9 = (std::string) "default" ;
  int arg10 = (int) 50 ;
  int arg11 = (int) 1 ;
  bool arg12 = (bool) false ;
  bool arg13 = (bool) false ;
  int arg14 = (int) 2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  float *data_temp2 = NULL ;
  int dim1_temp2 ;
  int dim2_temp2 ;
  int dim3_temp2 ;
  int dim4_temp2 ;
  void *argp7 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  std::shared_ptr< CLSMImage > tempshared8 ;
  std::shared_ptr< CLSMImage > *smartarg8 = 0 ;
  int val10 ;
  int ecode10 = 0 ;
  int val11 ;
  int ecode11 = 0 ;
  bool val12 ;
  int ecode12 = 0 ;
  bool val13 ;
  int ecode13 = 0 ;
  int val14 ;
  int ecode14 = 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr",  (char *)"clsm_other",  (char *)"correlation_method",  (char *)"n_bins",  (char *)"n_casc",  (char *)"stack_frames",  (char *)"normalized_correlation",  (char *)"min_photons",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim1_temp2;
    arg4 = &dim2_temp2;
    arg5 = &dim3_temp2;
    arg6 = &dim4_temp2;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOOOOOO:CLSMImage_get_fcs_image", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7, &obj8)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_fcs_image" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res7 = SWIG_ConvertPtrAndOwn(obj1, &argp7, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CLSMImage_get_fcs_image" "', argument " "7"" of type '" "std::shared_ptr< TTTR >""'");
    }
    if (argp7) arg7 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp7));
    if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp7);
  }
  if (obj2) {
    {
      int newmem = 0;
      res8 = SWIG_ConvertPtrAndOwn(obj2, &argp8, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res8)) {
        SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CLSMImage_get_fcs_image" "', argument " "8"" of type '" "CLSMImage *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared8 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp8);
        delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp8);
        arg8 = const_cast< CLSMImage * >(tempshared8.get());
      } else {
        smartarg8 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp8);
        arg8 = const_cast< CLSMImage * >((smartarg8 ? smartarg8->get() : 0));
      }
    }
  }
  if (obj3) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj3, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_get_fcs_image" "', argument " "9"" of type '" "std::string""'"); 
      }
      arg9 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj4) {
    ecode10 = SWIG_AsVal_int(obj4, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CLSMImage_get_fcs_image" "', argument " "10"" of type '" "int""'");
    } 
    arg10 = static_cast< int >(val10);
  }
  if (obj5) {
    ecode11 = SWIG_AsVal_int(obj5, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CLSMImage_get_fcs_image" "', argument " "11"" of type '" "int""'");
    } 
    arg11 = static_cast< int >(val11);
  }
  if (obj6) {
    ecode12 = SWIG_AsVal_bool(obj6, &val12);
    if (!SWIG_IsOK(ecode12)) {
      SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "CLSMImage_get_fcs_image" "', argument " "12"" of type '" "bool""'");
    } 
    arg12 = static_cast< bool >(val12);
  }
  if (obj7) {
    ecode13 = SWIG_AsVal_bool(obj7, &val13);
    if (!SWIG_IsOK(ecode13)) {
      SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "CLSMImage_get_fcs_image" "', argument " "13"" of type '" "bool""'");
    } 
    arg13 = static_cast< bool >(val13);
  }
  if (obj8) {
    ecode14 = SWIG_AsVal_int(obj8, &val14);
    if (!SWIG_IsOK(ecode14)) {
      SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "CLSMImage_get_fcs_image" "', argument " "14"" of type '" "int""'");
    } 
    arg14 = static_cast< int >(val14);
  }
  (arg1)->get_fcs_image(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[4] = {
      *arg3, *arg4, *arg5 , *arg6 
    };
    PyObject* obj = PyArray_SimpleNewFromData(4, dims, NPY_FLOAT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_frames(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_frames" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (arg1)->get_frames();
  resultobj = swig::from(static_cast< std::vector< CLSMFrame*,std::allocator< CLSMFrame * > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_intensity(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  unsigned short **arg2 = (unsigned short **) 0 ;
  int *arg3 = (int *) 0 ;
  int *arg4 = (int *) 0 ;
  int *arg5 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  unsigned short *data_temp2 = NULL ;
  int dim1_temp2 ;
  int dim2_temp2 ;
  int dim3_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim1_temp2;
    arg4 = &dim2_temp2;
    arg5 = &dim3_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_intensity" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->get_intensity(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[3] = {
      *arg3, *arg4, *arg5 
    };
    PyObject* obj = PyArray_SimpleNewFromData(3, dims, NPY_USHORT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_fluorescence_decay(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  unsigned char **arg3 = (unsigned char **) 0 ;
  int *arg4 = (int *) 0 ;
  int *arg5 = (int *) 0 ;
  int *arg6 = (int *) 0 ;
  int *arg7 = (int *) 0 ;
  int arg8 = (int) 1 ;
  bool arg9 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  unsigned char *data_temp3 = NULL ;
  int dim1_temp3 ;
  int dim2_temp3 ;
  int dim3_temp3 ;
  int dim4_temp3 ;
  int val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"micro_time_coarsening",  (char *)"stack_frames",  NULL 
  };
  
  {
    arg3 = &data_temp3;
    arg4 = &dim1_temp3;
    arg5 = &dim2_temp3;
    arg6 = &dim3_temp3;
    arg7 = &dim4_temp3;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OO:CLSMImage_get_fluorescence_decay", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_fluorescence_decay" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_get_fluorescence_decay" "', argument " "2"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  if (obj2) {
    ecode8 = SWIG_AsVal_int(obj2, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "CLSMImage_get_fluorescence_decay" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj3) {
    ecode9 = SWIG_AsVal_bool(obj3, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "CLSMImage_get_fluorescence_decay" "', argument " "9"" of type '" "bool""'");
    } 
    arg9 = static_cast< bool >(val9);
  }
  (arg1)->get_fluorescence_decay(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[4] = {
      *arg4, *arg5, *arg6 , *arg7 
    };
    PyObject* obj = PyArray_SimpleNewFromData(4, dims, NPY_UBYTE, (void*)(*arg3));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg3), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg3), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_decay_of_pixels(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  uint8_t *arg3 = (uint8_t *) 0 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  unsigned int **arg7 = (unsigned int **) 0 ;
  int *arg8 = (int *) 0 ;
  int *arg9 = (int *) 0 ;
  int arg10 ;
  bool arg11 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  PyArrayObject *array3 = NULL ;
  unsigned int *data_temp7 = NULL ;
  int dim1_temp7 ;
  int dim2_temp7 ;
  int val10 ;
  int ecode10 = 0 ;
  bool val11 ;
  int ecode11 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"mask",  (char *)"tac_coarsening",  (char *)"stack_frames",  NULL 
  };
  
  {
    arg7 = &data_temp7;
    arg8 = &dim1_temp7;
    arg9 = &dim2_temp7;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO:CLSMImage_get_decay_of_pixels", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_decay_of_pixels" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_get_decay_of_pixels" "', argument " "2"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  {
    array3 = obj_to_array_no_conversion(obj2, NPY_UBYTE);
    if (!array3 || !require_dimensions(array3,3) || !require_contiguous(array3) ||
      !require_native(array3)) SWIG_fail;
    arg3 = (unsigned char*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
    arg5 = (int) pyarray_size(array3,1);
    arg6 = (int) pyarray_size(array3,2);
  }
  ecode10 = SWIG_AsVal_int(obj3, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CLSMImage_get_decay_of_pixels" "', argument " "10"" of type '" "int""'");
  } 
  arg10 = static_cast< int >(val10);
  ecode11 = SWIG_AsVal_bool(obj4, &val11);
  if (!SWIG_IsOK(ecode11)) {
    SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CLSMImage_get_decay_of_pixels" "', argument " "11"" of type '" "bool""'");
  } 
  arg11 = static_cast< bool >(val11);
  (arg1)->get_decay_of_pixels(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[2] = {
      *arg8, *arg9 
    };
    PyObject* obj = PyArray_SimpleNewFromData(2, dims, NPY_UINT, (void*)(*arg7));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg7), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg7), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_mean_micro_time(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  double **arg3 = (double **) 0 ;
  int *arg4 = (int *) 0 ;
  int *arg5 = (int *) 0 ;
  int *arg6 = (int *) 0 ;
  double arg7 = (double) -1.0 ;
  int arg8 = (int) 2 ;
  bool arg9 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  double *data_temp3 = NULL ;
  int dim1_temp3 ;
  int dim2_temp3 ;
  int dim3_temp3 ;
  double val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"microtime_resolution",  (char *)"minimum_number_of_photons",  (char *)"stack_frames",  NULL 
  };
  
  {
    arg3 = &data_temp3;
    arg4 = &dim1_temp3;
    arg5 = &dim2_temp3;
    arg6 = &dim3_temp3;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOO:CLSMImage_get_mean_micro_time", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_mean_micro_time" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_get_mean_micro_time" "', argument " "2"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  if (obj2) {
    ecode7 = SWIG_AsVal_double(obj2, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CLSMImage_get_mean_micro_time" "', argument " "7"" of type '" "double""'");
    } 
    arg7 = static_cast< double >(val7);
  }
  if (obj3) {
    ecode8 = SWIG_AsVal_int(obj3, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "CLSMImage_get_mean_micro_time" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj4) {
    ecode9 = SWIG_AsVal_bool(obj4, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "CLSMImage_get_mean_micro_time" "', argument " "9"" of type '" "bool""'");
    } 
    arg9 = static_cast< bool >(val9);
  }
  (arg1)->get_mean_micro_time(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[3] = {
      *arg4, *arg5, *arg6 
    };
    PyObject* obj = PyArray_SimpleNewFromData(3, dims, NPY_DOUBLE, (void*)(*arg3));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg3), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg3), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_phasor(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  float **arg2 = (float **) 0 ;
  int *arg3 = (int *) 0 ;
  int *arg4 = (int *) 0 ;
  int *arg5 = (int *) 0 ;
  int *arg6 = (int *) 0 ;
  TTTR *arg7 = (TTTR *) 0 ;
  TTTR *arg8 = (TTTR *) nullptr ;
  double arg9 = (double) -1 ;
  int arg10 = (int) 2 ;
  bool arg11 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  float *data_temp2 = NULL ;
  int dim1_temp2 ;
  int dim2_temp2 ;
  int dim3_temp2 ;
  int dim4_temp2 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  std::shared_ptr< TTTR > tempshared7 ;
  std::shared_ptr< TTTR > *smartarg7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  std::shared_ptr< TTTR > tempshared8 ;
  std::shared_ptr< TTTR > *smartarg8 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  int val10 ;
  int ecode10 = 0 ;
  bool val11 ;
  int ecode11 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"tttr_irf",  (char *)"frequency",  (char *)"minimum_number_of_photons",  (char *)"stack_frames",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim1_temp2;
    arg4 = &dim2_temp2;
    arg5 = &dim3_temp2;
    arg6 = &dim4_temp2;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOOO:CLSMImage_get_phasor", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_phasor" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res7 = SWIG_ConvertPtrAndOwn(obj1, &argp7, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CLSMImage_get_phasor" "', argument " "7"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared7 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp7);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp7);
      arg7 = const_cast< TTTR * >(tempshared7.get());
    } else {
      smartarg7 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp7);
      arg7 = const_cast< TTTR * >((smartarg7 ? smartarg7->get() : 0));
    }
  }
  if (obj2) {
    {
      int newmem = 0;
      res8 = SWIG_ConvertPtrAndOwn(obj2, &argp8, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res8)) {
        SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CLSMImage_get_phasor" "', argument " "8"" of type '" "TTTR *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared8 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp8);
        delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp8);
        arg8 = const_cast< TTTR * >(tempshared8.get());
      } else {
        smartarg8 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp8);
        arg8 = const_cast< TTTR * >((smartarg8 ? smartarg8->get() : 0));
      }
    }
  }
  if (obj3) {
    ecode9 = SWIG_AsVal_double(obj3, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "CLSMImage_get_phasor" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  if (obj4) {
    ecode10 = SWIG_AsVal_int(obj4, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CLSMImage_get_phasor" "', argument " "10"" of type '" "int""'");
    } 
    arg10 = static_cast< int >(val10);
  }
  if (obj5) {
    ecode11 = SWIG_AsVal_bool(obj5, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CLSMImage_get_phasor" "', argument " "11"" of type '" "bool""'");
    } 
    arg11 = static_cast< bool >(val11);
  }
  (arg1)->get_phasor(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[4] = {
      *arg3, *arg4, *arg5 , *arg6 
    };
    PyObject* obj = PyArray_SimpleNewFromData(4, dims, NPY_FLOAT, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_mean_lifetime(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  TTTR *arg2 = (TTTR *) 0 ;
  double **arg3 = (double **) 0 ;
  int *arg4 = (int *) 0 ;
  int *arg5 = (int *) 0 ;
  int *arg6 = (int *) 0 ;
  int arg7 = (int) 3 ;
  TTTR *arg8 = (TTTR *) nullptr ;
  double arg9 = (double) 1.0 ;
  double arg10 = (double) 1.0 ;
  bool arg11 = (bool) false ;
  std::vector< double,std::allocator< double > > arg12 = (std::vector< double,std::allocator< double > >) std::vector< double >() ;
  double arg13 = (double) 0.0 ;
  double arg14 = (double) 0.0 ;
  double arg15 = (double) -1.0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< TTTR > tempshared2 ;
  std::shared_ptr< TTTR > *smartarg2 = 0 ;
  double *data_temp3 = NULL ;
  int dim1_temp3 ;
  int dim2_temp3 ;
  int dim3_temp3 ;
  int val7 ;
  int ecode7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  std::shared_ptr< TTTR > tempshared8 ;
  std::shared_ptr< TTTR > *smartarg8 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  double val10 ;
  int ecode10 = 0 ;
  bool val11 ;
  int ecode11 = 0 ;
  double val13 ;
  int ecode13 = 0 ;
  double val14 ;
  int ecode14 = 0 ;
  double val15 ;
  int ecode15 = 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tttr_data",  (char *)"minimum_number_of_photons",  (char *)"tttr_irf",  (char *)"m0_irf",  (char *)"m1_irf",  (char *)"stack_frames",  (char *)"background",  (char *)"m0_bg",  (char *)"m1_bg",  (char *)"background_fraction",  NULL 
  };
  
  {
    arg3 = &data_temp3;
    arg4 = &dim1_temp3;
    arg5 = &dim2_temp3;
    arg6 = &dim3_temp3;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOOOOOOOO:CLSMImage_get_mean_lifetime", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7, &obj8, &obj9, &obj10)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "2"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >(tempshared2.get());
    } else {
      smartarg2 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp2);
      arg2 = const_cast< TTTR * >((smartarg2 ? smartarg2->get() : 0));
    }
  }
  if (obj2) {
    ecode7 = SWIG_AsVal_int(obj2, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj3) {
    {
      int newmem = 0;
      res8 = SWIG_ConvertPtrAndOwn(obj3, &argp8, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res8)) {
        SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "8"" of type '" "TTTR *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared8 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp8);
        delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp8);
        arg8 = const_cast< TTTR * >(tempshared8.get());
      } else {
        smartarg8 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp8);
        arg8 = const_cast< TTTR * >((smartarg8 ? smartarg8->get() : 0));
      }
    }
  }
  if (obj4) {
    ecode9 = SWIG_AsVal_double(obj4, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  if (obj5) {
    ecode10 = SWIG_AsVal_double(obj5, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "10"" of type '" "double""'");
    } 
    arg10 = static_cast< double >(val10);
  }
  if (obj6) {
    ecode11 = SWIG_AsVal_bool(obj6, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "11"" of type '" "bool""'");
    } 
    arg11 = static_cast< bool >(val11);
  }
  if (obj7) {
    {
      std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
      int res = swig::asptr(obj7, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > >""'"); 
      }
      arg12 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj8) {
    ecode13 = SWIG_AsVal_double(obj8, &val13);
    if (!SWIG_IsOK(ecode13)) {
      SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "13"" of type '" "double""'");
    } 
    arg13 = static_cast< double >(val13);
  }
  if (obj9) {
    ecode14 = SWIG_AsVal_double(obj9, &val14);
    if (!SWIG_IsOK(ecode14)) {
      SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "14"" of type '" "double""'");
    } 
    arg14 = static_cast< double >(val14);
  }
  if (obj10) {
    ecode15 = SWIG_AsVal_double(obj10, &val15);
    if (!SWIG_IsOK(ecode15)) {
      SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "CLSMImage_get_mean_lifetime" "', argument " "15"" of type '" "double""'");
    } 
    arg15 = static_cast< double >(val15);
  }
  (arg1)->get_mean_lifetime(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[3] = {
      *arg4, *arg5, *arg6 
    };
    PyObject* obj = PyArray_SimpleNewFromData(3, dims, NPY_DOUBLE, (void*)(*arg3));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg3), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg3), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_to1D(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"frame",  (char *)"line",  (char *)"pixel",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:CLSMImage_to1D", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_to1D" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_to1D" "', 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 '" "CLSMImage_to1D" "', 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 '" "CLSMImage_to1D" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (int)(arg1)->to1D(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_to3D(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"idx",  NULL 
  };
  std::vector< int,std::allocator< int > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMImage_to3D", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_to3D" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_to3D" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->to3D(arg2);
  resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_getPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"idx",  NULL 
  };
  CLSMPixel *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMImage_getPixel", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_getPixel" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_getPixel" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (CLSMPixel *)(arg1)->getPixel(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMPixel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_copy(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  CLSMImage *arg2 = 0 ;
  bool arg3 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  std::shared_ptr< CLSMImage const > tempshared2 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"p2",  (char *)"fill",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O:CLSMImage_copy", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_copy" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    int newmem = 0;
    res2 = SWIG_ConvertPtrAndOwn(obj1, &argp2, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t,  0 , &newmem);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_copy" "', argument " "2"" of type '" "CLSMImage const &""'");
    }
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMImage_copy" "', argument " "2"" of type '" "CLSMImage const &""'"); 
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared2 = *reinterpret_cast< std::shared_ptr< const CLSMImage > * >(argp2);
      delete reinterpret_cast< std::shared_ptr< const CLSMImage > * >(argp2);
      arg2 = const_cast< CLSMImage * >(tempshared2.get());
    } else {
      arg2 = const_cast< CLSMImage * >(reinterpret_cast< std::shared_ptr< const CLSMImage > * >(argp2)->get());
    }
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CLSMImage_copy" "', argument " "3"" of type '" "bool""'");
    } 
    arg3 = static_cast< bool >(val3);
  }
  (arg1)->copy((CLSMImage const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  CLSMFrame *arg2 = (CLSMFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"frame",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMImage_append", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_append" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CLSMFrame, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CLSMImage_append" "', argument " "2"" of type '" "CLSMFrame *""'"); 
  }
  arg2 = reinterpret_cast< CLSMFrame * >(argp2);
  (arg1)->append(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_transform(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  unsigned int *arg2 = (unsigned int *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMImage_transform", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_transform" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_UINT,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (unsigned int*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  (arg1)->transform(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_rebin(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"bin_line",  (char *)"bin_pixel",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:CLSMImage_rebin", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_rebin" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_rebin" "', 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 '" "CLSMImage_rebin" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->rebin(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_distribute(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  unsigned int arg2 ;
  CLSMImage *arg3 = (CLSMImage *) 0 ;
  std::vector< int,std::allocator< int > > *arg4 = 0 ;
  std::vector< int,std::allocator< int > > *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::shared_ptr< CLSMImage > tempshared3 ;
  std::shared_ptr< CLSMImage > *smartarg3 = 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"pixel_id",  (char *)"target",  (char *)"target_pixel_ids",  (char *)"target_probabilities",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO:CLSMImage_distribute", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_distribute" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_distribute" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    int newmem = 0;
    res3 = SWIG_ConvertPtrAndOwn(obj2, &argp3, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CLSMImage_distribute" "', argument " "3"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared3 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp3);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp3);
      arg3 = const_cast< CLSMImage * >(tempshared3.get());
    } else {
      smartarg3 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp3);
      arg3 = const_cast< CLSMImage * >((smartarg3 ? smartarg3->get() : 0));
    }
  }
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_std__vectorT_int_t,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CLSMImage_distribute" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMImage_distribute" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > &""'"); 
  }
  arg4 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_std__vectorT_int_t,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CLSMImage_distribute" "', argument " "5"" of type '" "std::vector< int,std::allocator< int > > &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CLSMImage_distribute" "', argument " "5"" of type '" "std::vector< int,std::allocator< int > > &""'"); 
  }
  arg5 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp5);
  (arg1)->distribute(arg2,arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_crop(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  int arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"frame_start",  (char *)"frame_stop",  (char *)"line_start",  (char *)"line_stop",  (char *)"pixel_start",  (char *)"pixel_stop",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOOOO:CLSMImage_crop", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_crop" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_crop" "', 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 '" "CLSMImage_crop" "', 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 '" "CLSMImage_crop" "', 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 '" "CLSMImage_crop" "', 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 '" "CLSMImage_crop" "', 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 '" "CLSMImage_crop" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  (arg1)->crop(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_reshape(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"new_n_frames",  (char *)"new_n_lines",  (char *)"new_n_pixel",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:CLSMImage_reshape", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_reshape" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_reshape" "', 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 '" "CLSMImage_reshape" "', 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 '" "CLSMImage_reshape" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->reshape(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_stack_frames(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_stack_frames" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (arg1)->stack_frames();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_CLSMImage(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::shared_ptr< TTTR > arg1 = (std::shared_ptr< TTTR >) nullptr ;
  CLSMSettings arg2 = (CLSMSettings) CLSMSettings() ;
  CLSMImage *arg3 = (CLSMImage *) nullptr ;
  bool arg4 = (bool) true ;
  std::vector< int,std::allocator< int > > arg5 = (std::vector< int,std::allocator< int > >) std::vector< int >() ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > arg6 = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >) std::vector< std::pair< int,int > >() ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  std::shared_ptr< CLSMImage > tempshared3 ;
  std::shared_ptr< CLSMImage > *smartarg3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"tttr_data",  (char *)"settings",  (char *)"source",  (char *)"fill",  (char *)"channels",  (char *)"micro_time_ranges",  NULL 
  };
  CLSMImage *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOOO:new_CLSMImage", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  if (obj0) {
    {
      int newmem = 0;
      res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
      if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CLSMImage" "', argument " "1"" of type '" "std::shared_ptr< TTTR >""'");
      }
      if (argp1) arg1 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp1));
      if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp1);
    }
  }
  if (obj1) {
    {
      res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CLSMSettings,  0  | 0);
      if (!SWIG_IsOK(res2)) {
        SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CLSMImage" "', argument " "2"" of type '" "CLSMSettings""'"); 
      }  
      if (!argp2) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CLSMImage" "', argument " "2"" of type '" "CLSMSettings""'");
      } else {
        CLSMSettings * temp = reinterpret_cast< CLSMSettings * >(argp2);
        arg2 = *temp;
        if (SWIG_IsNewObj(res2)) delete temp;
      }
    }
  }
  if (obj2) {
    {
      int newmem = 0;
      res3 = SWIG_ConvertPtrAndOwn(obj2, &argp3, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res3)) {
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CLSMImage" "', argument " "3"" of type '" "CLSMImage *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared3 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp3);
        delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp3);
        arg3 = const_cast< CLSMImage * >(tempshared3.get());
      } else {
        smartarg3 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp3);
        arg3 = const_cast< CLSMImage * >((smartarg3 ? smartarg3->get() : 0));
      }
    }
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CLSMImage" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  if (obj4) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj4, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CLSMImage" "', argument " "5"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg5 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj5) {
    {
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *ptr = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)0;
      int res = swig::asptr(obj5, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CLSMImage" "', argument " "6"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >""'"); 
      }
      arg6 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  result = (CLSMImage *)new CLSMImage(arg1,arg2,arg3,arg4,arg5,arg6);
  {
    std::shared_ptr<  CLSMImage > *smartresult = result ? new std::shared_ptr<  CLSMImage >(result SWIG_NO_NULL_DELETER_SWIG_POINTER_NEW) : 0;
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(smartresult), SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, SWIG_POINTER_NEW | SWIG_POINTER_OWN);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_CLSMImage(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CLSMImage" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  (void)arg1; delete smartarg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_compute_ics(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double **arg1 = (double **) 0 ;
  int *arg2 = (int *) 0 ;
  int *arg3 = (int *) 0 ;
  int *arg4 = (int *) 0 ;
  std::shared_ptr< TTTR > arg5 = (std::shared_ptr< TTTR >) nullptr ;
  CLSMImage *arg6 = (CLSMImage *) nullptr ;
  double *arg7 = (double *) nullptr ;
  int arg8 = (int) -1 ;
  int arg9 = (int) -1 ;
  int arg10 = (int) 1 ;
  std::vector< int,std::allocator< int > > arg11 = (std::vector< int,std::allocator< int > >) std::vector< int >({
    0, -1
  }) ;
  std::vector< int,std::allocator< int > > arg12 = (std::vector< int,std::allocator< int > >) std::vector< int >({
    0, -1
  }) ;
  std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > arg13 = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >) std::vector< std::pair< int,int > >() ;
  std::string arg14 = (std::string) "" ;
  uint8_t *arg15 = (uint8_t *) nullptr ;
  int arg16 = (int) -1 ;
  int arg17 = (int) -1 ;
  int arg18 = (int) -1 ;
  double *data_temp1 = NULL ;
  int dim1_temp1 ;
  int dim2_temp1 ;
  int dim3_temp1 ;
  void *argp5 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  std::shared_ptr< CLSMImage > tempshared6 ;
  std::shared_ptr< CLSMImage > *smartarg6 = 0 ;
  PyArrayObject *array7 = NULL ;
  int is_new_object7 = 0 ;
  PyArrayObject *array15 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  char * kwnames[] = {
    (char *)"tttr_data",  (char *)"clsm",  (char *)"images",  (char *)"x_range",  (char *)"y_range",  (char *)"frames_index_pairs",  (char *)"subtract_average",  (char *)"mask",  NULL 
  };
  
  {
    arg1 = &data_temp1;
    arg2 = &dim1_temp1;
    arg3 = &dim2_temp1;
    arg4 = &dim3_temp1;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOOOOO:CLSMImage_compute_ics", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7)) SWIG_fail;
  if (obj0) {
    {
      int newmem = 0;
      res5 = SWIG_ConvertPtrAndOwn(obj0, &argp5, SWIGTYPE_p_std__shared_ptrT_TTTR_t,  0 , &newmem);
      if (!SWIG_IsOK(res5)) {
        SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CLSMImage_compute_ics" "', argument " "5"" of type '" "std::shared_ptr< TTTR >""'");
      }
      if (argp5) arg5 = *(reinterpret_cast< std::shared_ptr< TTTR > * >(argp5));
      if (newmem & SWIG_CAST_NEW_MEMORY) delete reinterpret_cast< std::shared_ptr< TTTR > * >(argp5);
    }
  }
  if (obj1) {
    {
      int newmem = 0;
      res6 = SWIG_ConvertPtrAndOwn(obj1, &argp6, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res6)) {
        SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CLSMImage_compute_ics" "', argument " "6"" of type '" "CLSMImage *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared6 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp6);
        delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp6);
        arg6 = const_cast< CLSMImage * >(tempshared6.get());
      } else {
        smartarg6 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp6);
        arg6 = const_cast< CLSMImage * >((smartarg6 ? smartarg6->get() : 0));
      }
    }
  }
  if (obj2) {
    {
      npy_intp size[3] = {
        -1, -1, -1 
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj2, NPY_DOUBLE,
        &is_new_object7);
      if (!array7 || !require_dimensions(array7, 3) ||
        !require_size(array7, size, 3)) SWIG_fail;
      arg7 = (double*) pyarray_data(array7);
      arg8 = (int) pyarray_size(array7,0);
      arg9 = (int) pyarray_size(array7,1);
      arg10 = (int) pyarray_size(array7,2);
    }
  }
  if (obj3) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj3, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_compute_ics" "', argument " "11"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg11 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj4) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj4, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_compute_ics" "', argument " "12"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg12 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj5) {
    {
      std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *ptr = (std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *)0;
      int res = swig::asptr(obj5, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_compute_ics" "', argument " "13"" of type '" "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >""'"); 
      }
      arg13 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj6) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj6, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_compute_ics" "', argument " "14"" of type '" "std::string""'"); 
      }
      arg14 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj7) {
    {
      array15 = obj_to_array_no_conversion(obj7, NPY_UBYTE);
      if (!array15 || !require_dimensions(array15,3) || !require_contiguous(array15) ||
        !require_native(array15)) SWIG_fail;
      arg15 = (unsigned char*) pyarray_data(array15);
      arg16 = (int) pyarray_size(array15,0);
      arg17 = (int) pyarray_size(array15,1);
      arg18 = (int) pyarray_size(array15,2);
    }
  }
  CLSMImage::compute_ics(arg1,arg2,arg3,arg4,SWIG_STD_MOVE(arg5),arg6,arg7,arg8,arg9,arg10,SWIG_STD_MOVE(arg11),SWIG_STD_MOVE(arg12),SWIG_STD_MOVE(arg13),SWIG_STD_MOVE(arg14),arg15,arg16,arg17,arg18);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[3] = {
      *arg2, *arg3, *arg4 
    };
    PyObject* obj = PyArray_SimpleNewFromData(3, dims, NPY_DOUBLE, (void*)(*arg1));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg1), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg1), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    if (is_new_object7 && array7)
    {
      Py_DECREF(array7); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object7 && array7)
    {
      Py_DECREF(array7); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_roi(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double **arg1 = (double **) 0 ;
  int *arg2 = (int *) 0 ;
  int *arg3 = (int *) 0 ;
  int *arg4 = (int *) 0 ;
  CLSMImage *arg5 = (CLSMImage *) nullptr ;
  std::vector< int,std::allocator< int > > arg6 = (std::vector< int,std::allocator< int > >) std::vector< int >({
    0,-1
  }) ;
  std::vector< int,std::allocator< int > > arg7 = (std::vector< int,std::allocator< int > >) std::vector< int >({
    0,-1
  }) ;
  std::string arg8 = (std::string) "" ;
  double arg9 = (double) 0.0 ;
  bool arg10 = (bool) false ;
  double arg11 = (double) 1e6 ;
  double arg12 = (double) -1e6 ;
  double *arg13 = (double *) nullptr ;
  int arg14 = (int) -1 ;
  int arg15 = (int) -1 ;
  int arg16 = (int) 1 ;
  uint8_t *arg17 = (uint8_t *) nullptr ;
  int arg18 = (int) -1 ;
  int arg19 = (int) -1 ;
  int arg20 = (int) -1 ;
  std::vector< int,std::allocator< int > > arg21 = (std::vector< int,std::allocator< int > >) std::vector< int >() ;
  double *data_temp1 = NULL ;
  int dim1_temp1 ;
  int dim2_temp1 ;
  int dim3_temp1 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  std::shared_ptr< CLSMImage > tempshared5 ;
  std::shared_ptr< CLSMImage > *smartarg5 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  bool val10 ;
  int ecode10 = 0 ;
  double val11 ;
  int ecode11 = 0 ;
  double val12 ;
  int ecode12 = 0 ;
  void *argp13 = 0 ;
  int res13 = 0 ;
  int val14 ;
  int ecode14 = 0 ;
  int val15 ;
  int ecode15 = 0 ;
  int val16 ;
  int ecode16 = 0 ;
  PyArrayObject *array17 = NULL ;
  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 ;
  PyObject * obj13 = 0 ;
  char * kwnames[] = {
    (char *)"clsm",  (char *)"x_range",  (char *)"y_range",  (char *)"subtract_average",  (char *)"background",  (char *)"clip",  (char *)"clip_max",  (char *)"clip_min",  (char *)"images",  (char *)"n_frames",  (char *)"n_lines",  (char *)"n_pixels",  (char *)"mask",  (char *)"selected_frames",  NULL 
  };
  
  {
    arg1 = &data_temp1;
    arg2 = &dim1_temp1;
    arg3 = &dim2_temp1;
    arg4 = &dim3_temp1;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOOOOOOOOOOO:CLSMImage_get_roi", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7, &obj8, &obj9, &obj10, &obj11, &obj12, &obj13)) SWIG_fail;
  if (obj0) {
    {
      int newmem = 0;
      res5 = SWIG_ConvertPtrAndOwn(obj0, &argp5, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res5)) {
        SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CLSMImage_get_roi" "', argument " "5"" of type '" "CLSMImage *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared5 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp5);
        delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp5);
        arg5 = const_cast< CLSMImage * >(tempshared5.get());
      } else {
        smartarg5 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp5);
        arg5 = const_cast< CLSMImage * >((smartarg5 ? smartarg5->get() : 0));
      }
    }
  }
  if (obj1) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj1, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_get_roi" "', argument " "6"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg6 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj2) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_get_roi" "', argument " "7"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg7 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj3) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj3, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_get_roi" "', argument " "8"" of type '" "std::string""'"); 
      }
      arg8 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj4) {
    ecode9 = SWIG_AsVal_double(obj4, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "CLSMImage_get_roi" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  if (obj5) {
    ecode10 = SWIG_AsVal_bool(obj5, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CLSMImage_get_roi" "', argument " "10"" of type '" "bool""'");
    } 
    arg10 = static_cast< bool >(val10);
  }
  if (obj6) {
    ecode11 = SWIG_AsVal_double(obj6, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CLSMImage_get_roi" "', argument " "11"" of type '" "double""'");
    } 
    arg11 = static_cast< double >(val11);
  }
  if (obj7) {
    ecode12 = SWIG_AsVal_double(obj7, &val12);
    if (!SWIG_IsOK(ecode12)) {
      SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "CLSMImage_get_roi" "', argument " "12"" of type '" "double""'");
    } 
    arg12 = static_cast< double >(val12);
  }
  if (obj8) {
    res13 = SWIG_ConvertPtr(obj8, &argp13,SWIGTYPE_p_double, 0 |  0 );
    if (!SWIG_IsOK(res13)) {
      SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "CLSMImage_get_roi" "', argument " "13"" of type '" "double *""'"); 
    }
    arg13 = reinterpret_cast< double * >(argp13);
  }
  if (obj9) {
    ecode14 = SWIG_AsVal_int(obj9, &val14);
    if (!SWIG_IsOK(ecode14)) {
      SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "CLSMImage_get_roi" "', argument " "14"" of type '" "int""'");
    } 
    arg14 = static_cast< int >(val14);
  }
  if (obj10) {
    ecode15 = SWIG_AsVal_int(obj10, &val15);
    if (!SWIG_IsOK(ecode15)) {
      SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "CLSMImage_get_roi" "', argument " "15"" of type '" "int""'");
    } 
    arg15 = static_cast< int >(val15);
  }
  if (obj11) {
    ecode16 = SWIG_AsVal_int(obj11, &val16);
    if (!SWIG_IsOK(ecode16)) {
      SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "CLSMImage_get_roi" "', argument " "16"" of type '" "int""'");
    } 
    arg16 = static_cast< int >(val16);
  }
  if (obj12) {
    {
      array17 = obj_to_array_no_conversion(obj12, NPY_UBYTE);
      if (!array17 || !require_dimensions(array17,3) || !require_contiguous(array17) ||
        !require_native(array17)) SWIG_fail;
      arg17 = (unsigned char*) pyarray_data(array17);
      arg18 = (int) pyarray_size(array17,0);
      arg19 = (int) pyarray_size(array17,1);
      arg20 = (int) pyarray_size(array17,2);
    }
  }
  if (obj13) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj13, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_get_roi" "', argument " "21"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg21 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  CLSMImage::get_roi(arg1,arg2,arg3,arg4,arg5,SWIG_STD_MOVE(arg6),SWIG_STD_MOVE(arg7),SWIG_STD_MOVE(arg8),arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,SWIG_STD_MOVE(arg21));
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[3] = {
      *arg2, *arg3, *arg4 
    };
    PyObject* obj = PyArray_SimpleNewFromData(3, dims, NPY_DOUBLE, (void*)(*arg1));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg1), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg1), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_frame_edges(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) nullptr ;
  int arg2 = (int) 0 ;
  int arg3 = (int) -1 ;
  std::vector< int,std::allocator< int > > arg4 = (std::vector< int,std::allocator< int > >) std::vector< int >({
    4, 6
  }) ;
  int arg5 = (int) 15 ;
  int arg6 = (int) CLSM_SP8 ;
  bool arg7 = (bool) false ;
  bool arg8 = (bool) false ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  bool 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 ;
  char * kwnames[] = {
    (char *)"tttr",  (char *)"start_event",  (char *)"stop_event",  (char *)"marker_frame_start",  (char *)"marker_event_type",  (char *)"reading_routine",  (char *)"skip_before_first_frame_marker",  (char *)"skip_after_last_frame_marker",  NULL 
  };
  std::vector< int,std::allocator< int > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOOOOO:CLSMImage_get_frame_edges", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7)) SWIG_fail;
  if (obj0) {
    {
      int newmem = 0;
      res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
      if (!SWIG_IsOK(res1)) {
        SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_frame_edges" "', argument " "1"" of type '" "TTTR *""'");
      }
      if (newmem & SWIG_CAST_NEW_MEMORY) {
        tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
        delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
        arg1 = const_cast< TTTR * >(tempshared1.get());
      } else {
        smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
        arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
      }
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_get_frame_edges" "', argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CLSMImage_get_frame_edges" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj3, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CLSMImage_get_frame_edges" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg4 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CLSMImage_get_frame_edges" "', argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CLSMImage_get_frame_edges" "', argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_bool(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CLSMImage_get_frame_edges" "', argument " "7"" of type '" "bool""'");
    } 
    arg7 = static_cast< bool >(val7);
  }
  if (obj7) {
    ecode8 = SWIG_AsVal_bool(obj7, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "CLSMImage_get_frame_edges" "', argument " "8"" of type '" "bool""'");
    } 
    arg8 = static_cast< bool >(val8);
  }
  result = CLSMImage::get_frame_edges(arg1,arg2,arg3,SWIG_STD_MOVE(arg4),arg5,arg6,arg7,arg8);
  resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_line_edges(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 = (int) 1 ;
  int arg5 = (int) 2 ;
  int arg6 = (int) 15 ;
  int arg7 = (int) CLSM_SP8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 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 ;
  char * kwnames[] = {
    (char *)"tttr",  (char *)"start_event",  (char *)"stop_event",  (char *)"marker_line_start",  (char *)"marker_line_stop",  (char *)"marker_event_type",  (char *)"reading_routine",  NULL 
  };
  std::vector< int,std::allocator< int > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OOOO:CLSMImage_get_line_edges", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_line_edges" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_get_line_edges" "', 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 '" "CLSMImage_get_line_edges" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CLSMImage_get_line_edges" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CLSMImage_get_line_edges" "', argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CLSMImage_get_line_edges" "', argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CLSMImage_get_line_edges" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  result = CLSMImage::get_line_edges(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_line_edges_by_duration(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 = (int) 1 ;
  int arg5 = (int) 2 ;
  int arg6 = (int) 15 ;
  int arg7 = (int) CLSM_SP8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 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 ;
  char * kwnames[] = {
    (char *)"tttr",  (char *)"start_event",  (char *)"stop_event",  (char *)"marker_line_start",  (char *)"line_duration",  (char *)"marker_event_type",  (char *)"reading_routine",  NULL 
  };
  std::vector< int,std::allocator< int > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OOOO:CLSMImage_get_line_edges_by_duration", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_line_edges_by_duration" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_get_line_edges_by_duration" "', 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 '" "CLSMImage_get_line_edges_by_duration" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CLSMImage_get_line_edges_by_duration" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CLSMImage_get_line_edges_by_duration" "', argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CLSMImage_get_line_edges_by_duration" "', argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CLSMImage_get_line_edges_by_duration" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  result = CLSMImage::get_line_edges_by_duration(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_line_duration(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 = (int) 0 ;
  int arg3 = (int) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"frame",  (char *)"line",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OO:CLSMImage_get_line_duration", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_line_duration" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_get_line_duration" "', argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CLSMImage_get_line_duration" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  result = (double)(arg1)->get_line_duration(arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_get_pixel_duration(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 = (int) 0 ;
  int arg3 = (int) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"frame",  (char *)"line",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OO:CLSMImage_get_pixel_duration", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_get_pixel_duration" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage_get_pixel_duration" "', argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CLSMImage_get_pixel_duration" "', argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  result = (double)(arg1)->get_pixel_duration(arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_n_frames_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_n_frames_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (int)CLSMImage_n_frames_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_n_lines_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_n_lines_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (int)CLSMImage_n_lines_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage_n_pixel_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage_n_pixel_get" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = (int)CLSMImage_n_pixel_get(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage___getitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  NULL 
  };
  CLSMFrame *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:CLSMImage___getitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage___getitem__" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CLSMImage___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    assert(!myErr);
    result = (CLSMFrame *)CLSMImage___getitem__(arg1,arg2);
    if (myErr) {
      myErr = 0; // clear flag for next time
      // You could also check the value in resultobj, but it's a PyObject here
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CLSMFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CLSMImage___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  CLSMImage *arg1 = (CLSMImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< CLSMImage > tempshared1 ;
  std::shared_ptr< CLSMImage > *smartarg1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(swig_obj[0], &argp1, SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CLSMImage___len__" "', argument " "1"" of type '" "CLSMImage *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  CLSMImage > * >(argp1);
      arg1 = const_cast< CLSMImage * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  result = CLSMImage___len__(arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *CLSMImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__shared_ptrT_CLSMImage_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *CLSMImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DecayPhasor_compute_phasor(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  unsigned short *arg1 = (unsigned short *) 0 ;
  int arg2 ;
  double arg3 = (double) 1.0 ;
  int arg4 = (int) 1 ;
  double arg5 = (double) 1.0 ;
  double arg6 = (double) 0.0 ;
  std::vector< int,std::allocator< int > > *arg7 = (std::vector< int,std::allocator< int > > *) nullptr ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  double val6 ;
  int ecode6 = 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 ;
  char * kwnames[] = {
    (char *)"microtimes",  (char *)"n_microtimes",  (char *)"frequency",  (char *)"minimum_number_of_photons",  (char *)"g_irf",  (char *)"s_irf",  (char *)"idxs",  NULL 
  };
  std::vector< double,std::allocator< double > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OOOOO:DecayPhasor_compute_phasor", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayPhasor_compute_phasor" "', argument " "1"" of type '" "unsigned short *""'"); 
  }
  arg1 = reinterpret_cast< unsigned short * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayPhasor_compute_phasor" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DecayPhasor_compute_phasor" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayPhasor_compute_phasor" "', argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_double(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DecayPhasor_compute_phasor" "', argument " "5"" of type '" "double""'");
    } 
    arg5 = static_cast< double >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_double(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DecayPhasor_compute_phasor" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  if (obj6) {
    res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_std__vectorT_int_t, 0 |  0 );
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DecayPhasor_compute_phasor" "', argument " "7"" of type '" "std::vector< int,std::allocator< int > > *""'"); 
    }
    arg7 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp7);
  }
  result = DecayPhasor::compute_phasor(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayPhasor_compute_phasor_bincounts(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< int,std::allocator< int > > *arg1 = 0 ;
  double arg2 ;
  int arg3 ;
  double arg4 ;
  double arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"bincounts",  (char *)"frequency",  (char *)"minimum_number_of_photons",  (char *)"g_irf",  (char *)"s_irf",  NULL 
  };
  std::vector< double,std::allocator< double > > result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO:DecayPhasor_compute_phasor_bincounts", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__vectorT_int_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayPhasor_compute_phasor_bincounts" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DecayPhasor_compute_phasor_bincounts" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > &""'"); 
  }
  arg1 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayPhasor_compute_phasor_bincounts" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DecayPhasor_compute_phasor_bincounts" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayPhasor_compute_phasor_bincounts" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  ecode5 = SWIG_AsVal_double(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DecayPhasor_compute_phasor_bincounts" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  result = DecayPhasor::compute_phasor_bincounts(*arg1,arg2,arg3,arg4,arg5);
  resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayPhasor_g(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double arg1 ;
  double arg2 ;
  double arg3 ;
  double arg4 ;
  double val1 ;
  int ecode1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"g_irf",  (char *)"s_irf",  (char *)"g_exp",  (char *)"s_exp",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:DecayPhasor_g", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_double(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "DecayPhasor_g" "', argument " "1"" of type '" "double""'");
  } 
  arg1 = static_cast< double >(val1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayPhasor_g" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DecayPhasor_g" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayPhasor_g" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  result = (double)DecayPhasor::g(arg1,arg2,arg3,arg4);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayPhasor_s(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double arg1 ;
  double arg2 ;
  double arg3 ;
  double arg4 ;
  double val1 ;
  int ecode1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"g_irf",  (char *)"s_irf",  (char *)"g_exp",  (char *)"s_exp",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:DecayPhasor_s", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_double(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "DecayPhasor_s" "', argument " "1"" of type '" "double""'");
  } 
  arg1 = static_cast< double >(val1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayPhasor_s" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DecayPhasor_s" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayPhasor_s" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  result = (double)DecayPhasor::s(arg1,arg2,arg3,arg4);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_DecayPhasor(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayPhasor *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_DecayPhasor", 0, 0, 0)) SWIG_fail;
  result = (DecayPhasor *)new DecayPhasor();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayPhasor, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayPhasor(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayPhasor *arg1 = (DecayPhasor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayPhasor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayPhasor" "', argument " "1"" of type '" "DecayPhasor *""'"); 
  }
  arg1 = reinterpret_cast< DecayPhasor * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayPhasor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayPhasor, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayPhasor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_Pda_evaluate(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_evaluate" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  (arg1)->evaluate();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_Pda(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  int arg1 = (int) 300 ;
  int arg2 = (int) 5 ;
  double arg3 = (double) 0.0 ;
  double arg4 = (double) 0.0 ;
  std::vector< double,std::allocator< double > > arg5 = (std::vector< double,std::allocator< double > >) std::vector< double >() ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"hist2d_nmax",  (char *)"hist2d_nmin",  (char *)"background_ch1",  (char *)"background_ch2",  (char *)"pF",  NULL 
  };
  Pda *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOO:new_Pda", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_int(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Pda" "', argument " "1"" of type '" "int""'");
    } 
    arg1 = static_cast< int >(val1);
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Pda" "', argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Pda" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_double(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Pda" "', argument " "4"" of type '" "double""'");
    } 
    arg4 = static_cast< double >(val4);
  }
  if (obj4) {
    {
      std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
      int res = swig::asptr(obj4, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Pda" "', argument " "5"" of type '" "std::vector< double,std::allocator< double > >""'"); 
      }
      arg5 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  result = (Pda *)new Pda(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Pda, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_Pda(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Pda" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_append(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double arg2 ;
  double arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"amplitude",  (char *)"probability_ch1",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:Pda_append", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_append" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Pda_append" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Pda_append" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  (arg1)->append(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_clear_probability_ch1(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_clear_probability_ch1" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  (arg1)->clear_probability_ch1();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_get_amplitudes(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_get_amplitudes" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  (arg1)->get_amplitudes(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_set_amplitudes(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double *arg2 = (double *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:Pda_set_amplitudes", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_set_amplitudes" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_DOUBLE,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (double*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  (arg1)->set_amplitudes(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_set_callback(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  PdaCallback *arg2 = (PdaCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"cb",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:Pda_set_callback", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_set_callback" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_PdaCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Pda_set_callback" "', argument " "2"" of type '" "PdaCallback *""'"); 
  }
  arg2 = reinterpret_cast< PdaCallback * >(argp2);
  (arg1)->set_callback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_get_S1S2_matrix(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  int *arg4 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim1_temp2 ;
  int dim2_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim1_temp2;
    arg4 = &dim2_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_get_S1S2_matrix" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  (arg1)->get_S1S2_matrix(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[2] = {
      *arg3, *arg4 
    };
    PyObject* obj = PyArray_SimpleNewFromData(2, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_set_probability_spectrum_ch1(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double *arg2 = (double *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:Pda_set_probability_spectrum_ch1", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_set_probability_spectrum_ch1" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_DOUBLE,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (double*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  (arg1)->set_probability_spectrum_ch1(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_get_probabilities_ch1(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_get_probabilities_ch1" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  (arg1)->get_probabilities_ch1(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_set_probabilities_ch1(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double *arg2 = (double *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:Pda_set_probabilities_ch1", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_set_probabilities_ch1" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_DOUBLE,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (double*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  (arg1)->set_probabilities_ch1(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_get_probability_spectrum_ch1(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_get_probability_spectrum_ch1" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  (arg1)->get_probability_spectrum_ch1(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    
#ifdef SWIGPY_USE_CAPSULE
    PyObject* cap = PyCapsule_New((void*)(*arg2), SWIGPY_CAPSULE_NAME, free_cap);
#else
    PyObject* cap = PyCObject_FromVoidPtr((void*)(*arg2), free);
#endif
    
#if NPY_API_VERSION < 0x00000007
    PyArray_BASE(array) = cap;
#else
    PyArray_SetBaseObject(array,cap);
#endif
    
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_setPF(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double *arg2 = (double *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyArrayObject *array2 = NULL ;
  int is_new_object2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:Pda_setPF", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_setPF" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  {
    npy_intp size[1] = {
      -1 
    };
    array2 = obj_to_array_contiguous_allow_conversion(obj1,
      NPY_DOUBLE,
      &is_new_object2);
    if (!array2 || !require_dimensions(array2, 1) ||
      !require_size(array2, size, 1)) SWIG_fail;
    arg2 = (double*) pyarray_data(array2);
    arg3 = (int) pyarray_size(array2,0);
  }
  (arg1)->setPF(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object2 && array2)
    {
      Py_DECREF(array2); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_getPF(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  PyObject *swig_obj[1] ;
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_getPF" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  (arg1)->getPF(arg2,arg3);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_get_1dhistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  double **arg4 = (double **) 0 ;
  int *arg5 = (int *) 0 ;
  double arg6 = (double) 1000.0 ;
  double arg7 = (double) 0.01 ;
  int arg8 = (int) 81 ;
  bool arg9 = (bool) true ;
  std::vector< double,std::allocator< double > > arg10 = (std::vector< double,std::allocator< double > >) std::vector< double >() ;
  int arg11 = (int) -1 ;
  bool arg12 = (bool) true ;
  std::vector< double,std::allocator< double > > arg13 = (std::vector< double,std::allocator< double > >) std::vector< double >() ;
  std::vector< double,std::allocator< double > > arg14 = (std::vector< double,std::allocator< double > >) std::vector< double >() ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double *data_temp2 = NULL ;
  int dim_temp2 ;
  double *data_temp4 = NULL ;
  int dim_temp4 ;
  double val6 ;
  int ecode6 = 0 ;
  double val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  int val11 ;
  int ecode11 = 0 ;
  bool 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"x_max",  (char *)"x_min",  (char *)"n_bins",  (char *)"log_x",  (char *)"s1s2",  (char *)"n_min",  (char *)"skip_zero_photon",  (char *)"amplitudes",  (char *)"probabilities_ch1",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim_temp2;
  }
  {
    arg4 = &data_temp4;
    arg5 = &dim_temp4;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOOOOOOOO:Pda_get_1dhistogram", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7, &obj8, &obj9)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_get_1dhistogram" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  if (obj1) {
    ecode6 = SWIG_AsVal_double(obj1, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Pda_get_1dhistogram" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  if (obj2) {
    ecode7 = SWIG_AsVal_double(obj2, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Pda_get_1dhistogram" "', argument " "7"" of type '" "double""'");
    } 
    arg7 = static_cast< double >(val7);
  }
  if (obj3) {
    ecode8 = SWIG_AsVal_int(obj3, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Pda_get_1dhistogram" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj4) {
    ecode9 = SWIG_AsVal_bool(obj4, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Pda_get_1dhistogram" "', argument " "9"" of type '" "bool""'");
    } 
    arg9 = static_cast< bool >(val9);
  }
  if (obj5) {
    {
      std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
      int res = swig::asptr(obj5, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Pda_get_1dhistogram" "', argument " "10"" of type '" "std::vector< double,std::allocator< double > >""'"); 
      }
      arg10 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj6) {
    ecode11 = SWIG_AsVal_int(obj6, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "Pda_get_1dhistogram" "', argument " "11"" of type '" "int""'");
    } 
    arg11 = static_cast< int >(val11);
  }
  if (obj7) {
    ecode12 = SWIG_AsVal_bool(obj7, &val12);
    if (!SWIG_IsOK(ecode12)) {
      SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "Pda_get_1dhistogram" "', argument " "12"" of type '" "bool""'");
    } 
    arg12 = static_cast< bool >(val12);
  }
  if (obj8) {
    {
      std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
      int res = swig::asptr(obj8, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Pda_get_1dhistogram" "', argument " "13"" of type '" "std::vector< double,std::allocator< double > >""'"); 
      }
      arg13 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj9) {
    {
      std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
      int res = swig::asptr(obj9, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Pda_get_1dhistogram" "', argument " "14"" of type '" "std::vector< double,std::allocator< double > >""'"); 
      }
      arg14 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  (arg1)->get_1dhistogram(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[1] = {
      *arg3 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    npy_intp dims[1] = {
      *arg5 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg4));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_compute_experimental_histograms(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  TTTR *arg1 = (TTTR *) 0 ;
  double **arg2 = (double **) 0 ;
  int *arg3 = (int *) 0 ;
  int *arg4 = (int *) 0 ;
  double **arg5 = (double **) 0 ;
  int *arg6 = (int *) 0 ;
  int **arg7 = (int **) 0 ;
  int *arg8 = (int *) 0 ;
  std::vector< int,std::allocator< int > > arg9 ;
  std::vector< int,std::allocator< int > > arg10 ;
  int arg11 ;
  int arg12 ;
  double arg13 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::shared_ptr< TTTR > tempshared1 ;
  std::shared_ptr< TTTR > *smartarg1 = 0 ;
  double *data_temp2 = NULL ;
  int dim1_temp2 ;
  int dim2_temp2 ;
  double *data_temp5 = NULL ;
  int dim_temp5 ;
  int *data_temp7 = NULL ;
  int dim_temp7 ;
  int val11 ;
  int ecode11 = 0 ;
  int val12 ;
  int ecode12 = 0 ;
  double val13 ;
  int ecode13 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"tttr_data",  (char *)"channels_1",  (char *)"channels_2",  (char *)"maximum_number_of_photons",  (char *)"minimum_number_of_photons",  (char *)"minimum_time_window_length",  NULL 
  };
  
  {
    arg2 = &data_temp2;
    arg3 = &dim1_temp2;
    arg4 = &dim2_temp2;
  }
  {
    arg5 = &data_temp5;
    arg6 = &dim_temp5;
  }
  {
    arg7 = &data_temp7;
    arg8 = &dim_temp7;
  }
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOOO:Pda_compute_experimental_histograms", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  {
    int newmem = 0;
    res1 = SWIG_ConvertPtrAndOwn(obj0, &argp1, SWIGTYPE_p_std__shared_ptrT_TTTR_t, 0 |  0 , &newmem);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_compute_experimental_histograms" "', argument " "1"" of type '" "TTTR *""'");
    }
    if (newmem & SWIG_CAST_NEW_MEMORY) {
      tempshared1 = *reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      delete reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >(tempshared1.get());
    } else {
      smartarg1 = reinterpret_cast< std::shared_ptr<  TTTR > * >(argp1);
      arg1 = const_cast< TTTR * >((smartarg1 ? smartarg1->get() : 0));
    }
  }
  {
    std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
    int res = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Pda_compute_experimental_histograms" "', argument " "9"" of type '" "std::vector< int,std::allocator< int > >""'"); 
    }
    arg9 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
    int res = swig::asptr(obj2, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Pda_compute_experimental_histograms" "', argument " "10"" of type '" "std::vector< int,std::allocator< int > >""'"); 
    }
    arg10 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  ecode11 = SWIG_AsVal_int(obj3, &val11);
  if (!SWIG_IsOK(ecode11)) {
    SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "Pda_compute_experimental_histograms" "', argument " "11"" of type '" "int""'");
  } 
  arg11 = static_cast< int >(val11);
  ecode12 = SWIG_AsVal_int(obj4, &val12);
  if (!SWIG_IsOK(ecode12)) {
    SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "Pda_compute_experimental_histograms" "', argument " "12"" of type '" "int""'");
  } 
  arg12 = static_cast< int >(val12);
  ecode13 = SWIG_AsVal_double(obj5, &val13);
  if (!SWIG_IsOK(ecode13)) {
    SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "Pda_compute_experimental_histograms" "', argument " "13"" of type '" "double""'");
  } 
  arg13 = static_cast< double >(val13);
  Pda::compute_experimental_histograms(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,SWIG_STD_MOVE(arg9),SWIG_STD_MOVE(arg10),arg11,arg12,arg13);
  resultobj = SWIG_Py_Void();
  {
    npy_intp dims[2] = {
      *arg3, *arg4 
    };
    PyObject* obj = PyArray_SimpleNewFromData(2, dims, NPY_DOUBLE, (void*)(*arg2));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    npy_intp dims[1] = {
      *arg6 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)(*arg5));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  {
    npy_intp dims[1] = {
      *arg8 
    };
    PyObject* obj = PyArray_SimpleNewFromData(1, dims, NPY_INT, (void*)(*arg7));
    PyArrayObject* array = (PyArrayObject*) obj;
    
    if (!array) SWIG_fail;
    resultobj = SWIG_Python_AppendOutput(resultobj,obj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_S1S2_pF(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double,std::allocator< double > > *arg1 = 0 ;
  std::vector< double,std::allocator< double > > *arg2 = 0 ;
  unsigned int arg3 ;
  double arg4 ;
  double arg5 ;
  std::vector< double,std::allocator< double > > *arg6 = 0 ;
  std::vector< double,std::allocator< double > > *arg7 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 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 ;
  char * kwnames[] = {
    (char *)"S1S2",  (char *)"pF",  (char *)"Nmax",  (char *)"background_ch1",  (char *)"background_ch2",  (char *)"p_ch1",  (char *)"amplitudes",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOOOO:Pda_S1S2_pF", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__vectorT_double_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_S1S2_pF" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Pda_S1S2_pF" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_double_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Pda_S1S2_pF" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Pda_S1S2_pF" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  arg2 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Pda_S1S2_pF" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Pda_S1S2_pF" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  ecode5 = SWIG_AsVal_double(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Pda_S1S2_pF" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_std__vectorT_double_t,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Pda_S1S2_pF" "', argument " "6"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Pda_S1S2_pF" "', argument " "6"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  arg6 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_std__vectorT_double_t,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "Pda_S1S2_pF" "', argument " "7"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Pda_S1S2_pF" "', argument " "7"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  arg7 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp7);
  Pda::S1S2_pF(*arg1,*arg2,arg3,arg4,arg5,*arg6,*arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_conv_pF(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double,std::allocator< double > > *arg1 = 0 ;
  std::vector< double,std::allocator< double > > *arg2 = 0 ;
  unsigned int arg3 ;
  double arg4 ;
  double arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"S1S2",  (char *)"F1F2",  (char *)"Nmax",  (char *)"background_ch1",  (char *)"background_ch2",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO:Pda_conv_pF", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__vectorT_double_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_conv_pF" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Pda_conv_pF" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp1);
  {
    std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
    res2 = swig::asptr(obj1, &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Pda_conv_pF" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Pda_conv_pF" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); 
    }
    arg2 = ptr;
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Pda_conv_pF" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Pda_conv_pF" "', argument " "4"" of type '" "double""'");
  } 
  arg4 = static_cast< double >(val4);
  ecode5 = SWIG_AsVal_double(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Pda_conv_pF" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  Pda::conv_pF(*arg1,(std::vector< double,std::allocator< double > > const &)*arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsNewObj(res2)) delete arg2;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_poisson_0toN(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  std::vector< double,std::allocator< double > > *arg1 = 0 ;
  int arg2 ;
  double arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"return_p",  (char *)"start_idx",  (char *)"lam",  (char *)"return_dim",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:Pda_poisson_0toN", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__vectorT_double_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_poisson_0toN" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Pda_poisson_0toN" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'"); 
  }
  arg1 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Pda_poisson_0toN" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Pda_poisson_0toN" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Pda_poisson_0toN" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  Pda::poisson_0toN(*arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_hist_sgsr_valid_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Pda_hist_sgsr_valid_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_hist_sgsr_valid_set" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Pda_hist_sgsr_valid_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  Pda_hist_sgsr_valid_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_hist_sgsr_valid_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_hist_sgsr_valid_get" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  result = (bool)Pda_hist_sgsr_valid_get(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_background_ch2_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Pda_background_ch2_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_background_ch2_set" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Pda_background_ch2_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  Pda_background_ch2_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_background_ch2_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_background_ch2_get" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  result = (double)Pda_background_ch2_get(arg1);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_background_ch1_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Pda_background_ch1_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_background_ch1_set" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Pda_background_ch1_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  Pda_background_ch1_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_background_ch1_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_background_ch1_get" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  result = (double)Pda_background_ch1_get(arg1);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_hist2d_nmin_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Pda_hist2d_nmin_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_hist2d_nmin_set" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Pda_hist2d_nmin_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  Pda_hist2d_nmin_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_hist2d_nmin_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_hist2d_nmin_get" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  result = (unsigned int)Pda_hist2d_nmin_get(arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_hist2d_nmax_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Pda_hist2d_nmax_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_hist2d_nmax_set" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Pda_hist2d_nmax_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  Pda_hist2d_nmax_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_hist2d_nmax_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  unsigned int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_hist2d_nmax_get" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  result = (unsigned int)Pda_hist2d_nmax_get(arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_hist2d_valid_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "Pda_hist2d_valid_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_hist2d_valid_set" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Pda_hist2d_valid_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  Pda_hist2d_valid_set(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_Pda_hist2d_valid_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  Pda *arg1 = (Pda *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  bool result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Pda, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Pda_hist2d_valid_get" "', argument " "1"" of type '" "Pda *""'"); 
  }
  arg1 = reinterpret_cast< Pda * >(argp1);
  result = (bool)Pda_hist2d_valid_get(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *Pda_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_Pda, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *Pda_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_PdaCallback_run(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  PdaCallback *arg1 = (PdaCallback *) 0 ;
  double arg2 ;
  double arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"ch1",  (char *)"ch2",  NULL 
  };
  Swig::Director *director = 0;
  bool upcall = false;
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:PdaCallback_run", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PdaCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PdaCallback_run" "', argument " "1"" of type '" "PdaCallback *""'"); 
  }
  arg1 = reinterpret_cast< PdaCallback * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PdaCallback_run" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PdaCallback_run" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  director = SWIG_DIRECTOR_CAST(arg1);
  upcall = (director && (director->swig_get_self()==obj0));
  try {
    if (upcall) {
      result = (double)(arg1)->PdaCallback::run(arg2,arg3);
    } else {
      result = (double)(arg1)->run(arg2,arg3);
    }
  } catch (Swig::DirectorException&) {
    SWIG_fail;
  }
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_PdaCallback(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  PyObject *arg1 = (PyObject *) 0 ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"_self",  NULL 
  };
  PdaCallback *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:new_PdaCallback", kwnames, &obj0)) SWIG_fail;
  arg1 = obj0;
  if ( arg1 != Py_None ) {
    /* subclassed */
    result = (PdaCallback *)new SwigDirector_PdaCallback(arg1); 
  } else {
    result = (PdaCallback *)new PdaCallback(); 
  }
  
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PdaCallback, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_PdaCallback(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  PdaCallback *arg1 = (PdaCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PdaCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PdaCallback" "', argument " "1"" of type '" "PdaCallback *""'"); 
  }
  arg1 = reinterpret_cast< PdaCallback * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_disown_PdaCallback(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  PdaCallback *arg1 = (PdaCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PdaCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_PdaCallback" "', argument " "1"" of type '" "PdaCallback *""'"); 
  }
  arg1 = reinterpret_cast< PdaCallback * >(argp1);
  {
    Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
    if (director) director->swig_disown();
  }
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *PdaCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_PdaCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *PdaCallback_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_add_pile_up_to_model(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double arg5 ;
  double arg6 ;
  double arg7 ;
  std::string arg8 = (std::string) "coates" ;
  int arg9 = (int) 0 ;
  int arg10 = (int) -1 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  double val5 ;
  int ecode5 = 0 ;
  double val6 ;
  int ecode6 = 0 ;
  double val7 ;
  int ecode7 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  int val10 ;
  int ecode10 = 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 ;
  char * kwnames[] = {
    (char *)"model",  (char *)"decay",  (char *)"repetition_rate",  (char *)"instrument_dead_time",  (char *)"measurement_time",  (char *)"pile_up_model",  (char *)"start",  (char *)"stop",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO|OOO:add_pile_up_to_model", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6, &obj7)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  ecode5 = SWIG_AsVal_double(obj2, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "add_pile_up_to_model" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  ecode6 = SWIG_AsVal_double(obj3, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "add_pile_up_to_model" "', argument " "6"" of type '" "double""'");
  } 
  arg6 = static_cast< double >(val6);
  ecode7 = SWIG_AsVal_double(obj4, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "add_pile_up_to_model" "', argument " "7"" of type '" "double""'");
  } 
  arg7 = static_cast< double >(val7);
  if (obj5) {
    {
      std::string *ptr = (std::string *)0;
      int res = SWIG_AsPtr_std_string(obj5, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "add_pile_up_to_model" "', argument " "8"" of type '" "std::string""'"); 
      }
      arg8 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj6) {
    ecode9 = SWIG_AsVal_int(obj6, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "add_pile_up_to_model" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  if (obj7) {
    ecode10 = SWIG_AsVal_int(obj7, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "add_pile_up_to_model" "', argument " "10"" of type '" "int""'");
    } 
    arg10 = static_cast< int >(val10);
  }
  add_pile_up_to_model(arg1,arg2,arg3,arg4,arg5,arg6,arg7,SWIG_STD_MOVE(arg8),arg9,arg10);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  int arg5 = (int) 0 ;
  int arg6 = (int) -1 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"decay",  (char *)"start",  (char *)"stop",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OO:rescale", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  if (obj2) {
    ecode5 = SWIG_AsVal_int(obj2, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "rescale" "', argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj3) {
    ecode6 = SWIG_AsVal_int(obj3, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "rescale" "', argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  result = (double)my_rescale(arg1,arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_rescale_w(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  int arg7 = (int) 0 ;
  int arg8 = (int) -1 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  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 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"decay",  (char *)"w_sq",  (char *)"start",  (char *)"stop",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OO:rescale_w", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  if (obj3) {
    ecode7 = SWIG_AsVal_int(obj3, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "rescale_w" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "rescale_w" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  result = (double)my_rescale_w(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_rescale_w_bg(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double arg7 ;
  int arg8 = (int) 0 ;
  int arg9 = (int) -1 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  double val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"decay",  (char *)"w_sq",  (char *)"bg",  (char *)"start",  (char *)"stop",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO|OO:rescale_w_bg", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  ecode7 = SWIG_AsVal_double(obj3, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "rescale_w_bg" "', argument " "7"" of type '" "double""'");
  } 
  arg7 = static_cast< double >(val7);
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "rescale_w_bg" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_int(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "rescale_w_bg" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  result = (double)my_rescale_w_bg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_fconv(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  int arg7 = (int) 0 ;
  int arg8 = (int) -1 ;
  double arg9 = (double) 1.0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"irf",  (char *)"x",  (char *)"start",  (char *)"stop",  (char *)"dt",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OOO:fconv", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  if (obj3) {
    ecode7 = SWIG_AsVal_int(obj3, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fconv" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fconv" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_double(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fconv" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  my_fconv(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_fconv_avx(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  int arg7 = (int) 0 ;
  int arg8 = (int) -1 ;
  double arg9 = (double) 1.0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  double val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"irf",  (char *)"x",  (char *)"start",  (char *)"stop",  (char *)"dt",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OOO:fconv_avx", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  if (obj3) {
    ecode7 = SWIG_AsVal_int(obj3, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fconv_avx" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fconv_avx" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_double(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fconv_avx" "', argument " "9"" of type '" "double""'");
    } 
    arg9 = static_cast< double >(val9);
  }
  my_fconv_avx(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_fconv_per(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double arg7 ;
  int arg8 = (int) 0 ;
  int arg9 = (int) -1 ;
  double arg10 = (double) 1.0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  double val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  double val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"irf",  (char *)"x",  (char *)"period",  (char *)"start",  (char *)"stop",  (char *)"dt",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO|OOO:fconv_per", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  ecode7 = SWIG_AsVal_double(obj3, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fconv_per" "', argument " "7"" of type '" "double""'");
  } 
  arg7 = static_cast< double >(val7);
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fconv_per" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_int(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fconv_per" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  if (obj6) {
    ecode10 = SWIG_AsVal_double(obj6, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "fconv_per" "', argument " "10"" of type '" "double""'");
    } 
    arg10 = static_cast< double >(val10);
  }
  my_fconv_per(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_fconv_per_avx(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double arg7 ;
  int arg8 = (int) 0 ;
  int arg9 = (int) -1 ;
  double arg10 = (double) 1.0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  double val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  double val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"irf",  (char *)"x",  (char *)"period",  (char *)"start",  (char *)"stop",  (char *)"dt",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO|OOO:fconv_per_avx", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  ecode7 = SWIG_AsVal_double(obj3, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fconv_per_avx" "', argument " "7"" of type '" "double""'");
  } 
  arg7 = static_cast< double >(val7);
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fconv_per_avx" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_int(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fconv_per_avx" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  if (obj6) {
    ecode10 = SWIG_AsVal_double(obj6, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "fconv_per_avx" "', argument " "10"" of type '" "double""'");
    } 
    arg10 = static_cast< double >(val10);
  }
  my_fconv_per_avx(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_fconv_per_cs(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double arg7 ;
  int arg8 = (int) -1 ;
  int arg9 = (int) -1 ;
  double arg10 = (double) 1.0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  double val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  double val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"irf",  (char *)"x",  (char *)"period",  (char *)"conv_stop",  (char *)"stop",  (char *)"dt",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO|OOO:fconv_per_cs", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  ecode7 = SWIG_AsVal_double(obj3, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fconv_per_cs" "', argument " "7"" of type '" "double""'");
  } 
  arg7 = static_cast< double >(val7);
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fconv_per_cs" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_int(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fconv_per_cs" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  if (obj6) {
    ecode10 = SWIG_AsVal_double(obj6, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "fconv_per_cs" "', argument " "10"" of type '" "double""'");
    } 
    arg10 = static_cast< double >(val10);
  }
  my_fconv_per_cs(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_fconv_ref(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double arg7 ;
  int arg8 = (int) 0 ;
  int arg9 = (int) -1 ;
  double arg10 = (double) 1.0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  double val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  double val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"irf",  (char *)"x",  (char *)"tauref",  (char *)"start",  (char *)"stop",  (char *)"dt",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO|OOO:fconv_ref", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  ecode7 = SWIG_AsVal_double(obj3, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fconv_ref" "', argument " "7"" of type '" "double""'");
  } 
  arg7 = static_cast< double >(val7);
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fconv_ref" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_int(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fconv_ref" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  if (obj6) {
    ecode10 = SWIG_AsVal_double(obj6, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "fconv_ref" "', argument " "10"" of type '" "double""'");
    } 
    arg10 = static_cast< double >(val10);
  }
  my_fconv_ref(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sconv(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  int arg7 = (int) 0 ;
  int arg8 = (int) -1 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  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 ;
  char * kwnames[] = {
    (char *)"fit",  (char *)"irf",  (char *)"model",  (char *)"start",  (char *)"stop",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO|OO:sconv", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  if (obj3) {
    ecode7 = SWIG_AsVal_int(obj3, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "sconv" "', argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  if (obj4) {
    ecode8 = SWIG_AsVal_int(obj4, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "sconv" "', argument " "8"" of type '" "int""'");
    } 
    arg8 = static_cast< int >(val8);
  }
  my_sconv(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_shift_lamp(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double arg5 = (double) 0.0 ;
  double arg6 = (double) 0.0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  double val5 ;
  int ecode5 = 0 ;
  double val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"lamp",  (char *)"lampsh",  (char *)"ts",  (char *)"out_value",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|OO:shift_lamp", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  if (obj2) {
    ecode5 = SWIG_AsVal_double(obj2, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "shift_lamp" "', argument " "5"" of type '" "double""'");
    } 
    arg5 = static_cast< double >(val5);
  }
  if (obj3) {
    ecode6 = SWIG_AsVal_double(obj3, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "shift_lamp" "', argument " "6"" of type '" "double""'");
    } 
    arg6 = static_cast< double >(val6);
  }
  my_shift_lamp(arg1,arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_discriminate_small_amplitudes(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double arg3 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"lifetime_spectrum",  (char *)"amplitude_threshold",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:discriminate_small_amplitudes", kwnames, &obj0, &obj1)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  ecode3 = SWIG_AsVal_double(obj1, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "discriminate_small_amplitudes" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  discriminate_small_amplitudes(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_fconv_per_cs_time_axis(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double *arg7 = (double *) 0 ;
  int arg8 ;
  int arg9 = (int) 0 ;
  int arg10 = (int) -1 ;
  double arg11 = (double) 100.0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  PyArrayObject *array7 = NULL ;
  int i7 = 1 ;
  int val9 ;
  int ecode9 = 0 ;
  int val10 ;
  int ecode10 = 0 ;
  double 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 ;
  char * kwnames[] = {
    (char *)"model",  (char *)"time_axis",  (char *)"irf",  (char *)"lifetime_spectrum",  (char *)"convolution_start",  (char *)"convolution_stop",  (char *)"period",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO|OOO:fconv_per_cs_time_axis", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(obj2, NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  {
    array7 = obj_to_array_no_conversion(obj3, NPY_DOUBLE);
    if (!array7 || !require_dimensions(array7,1) || !require_contiguous(array7)
      || !require_native(array7)) SWIG_fail;
    arg7 = (double*) pyarray_data(array7);
    arg8 = 1;
    for (i7=0; i7 < pyarray_numdims(array7); ++i7) arg8 *= pyarray_size(array7,i7);
  }
  if (obj4) {
    ecode9 = SWIG_AsVal_int(obj4, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fconv_per_cs_time_axis" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  if (obj5) {
    ecode10 = SWIG_AsVal_int(obj5, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "fconv_per_cs_time_axis" "', argument " "10"" of type '" "int""'");
    } 
    arg10 = static_cast< int >(val10);
  }
  if (obj6) {
    ecode11 = SWIG_AsVal_double(obj6, &val11);
    if (!SWIG_IsOK(ecode11)) {
      SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "fconv_per_cs_time_axis" "', argument " "11"" of type '" "double""'");
    } 
    arg11 = static_cast< double >(val11);
  }
  fconv_per_cs_time_axis(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_fconv_cs_time_axis(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double *arg7 = (double *) 0 ;
  int arg8 ;
  int arg9 = (int) 0 ;
  int arg10 = (int) -1 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyArrayObject *array7 = NULL ;
  int i7 = 1 ;
  int val9 ;
  int ecode9 = 0 ;
  int val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char * kwnames[] = {
    (char *)"inplace_output",  (char *)"time_axis",  (char *)"instrument_response_function",  (char *)"n_instrument_response_function",  (char *)"lifetime_spectrum",  (char *)"convolution_start",  (char *)"convolution_stop",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOO|OO:fconv_cs_time_axis", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(obj0, NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(obj1, NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  res5 = SWIG_ConvertPtr(obj2, &argp5,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "fconv_cs_time_axis" "', argument " "5"" of type '" "double *""'"); 
  }
  arg5 = reinterpret_cast< double * >(argp5);
  ecode6 = SWIG_AsVal_int(obj3, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fconv_cs_time_axis" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    array7 = obj_to_array_no_conversion(obj4, NPY_DOUBLE);
    if (!array7 || !require_dimensions(array7,1) || !require_contiguous(array7)
      || !require_native(array7)) SWIG_fail;
    arg7 = (double*) pyarray_data(array7);
    arg8 = 1;
    for (i7=0; i7 < pyarray_numdims(array7); ++i7) arg8 *= pyarray_size(array7,i7);
  }
  if (obj5) {
    ecode9 = SWIG_AsVal_int(obj5, &val9);
    if (!SWIG_IsOK(ecode9)) {
      SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fconv_cs_time_axis" "', argument " "9"" of type '" "int""'");
    } 
    arg9 = static_cast< int >(val9);
  }
  if (obj6) {
    ecode10 = SWIG_AsVal_int(obj6, &val10);
    if (!SWIG_IsOK(ecode10)) {
      SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "fconv_cs_time_axis" "', argument " "10"" of type '" "int""'");
    } 
    arg10 = static_cast< int >(val10);
  }
  fconv_cs_time_axis(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_gamma_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitCorrections_gamma_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_gamma_set" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitCorrections_gamma_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->gamma = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_gamma_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_gamma_get" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  result = (double) ((arg1)->gamma);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_g_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitCorrections_g_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_g_set" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitCorrections_g_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->g = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_g_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_g_get" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  result = (double) ((arg1)->g);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_l1_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitCorrections_l1_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_l1_set" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitCorrections_l1_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->l1 = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_l1_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_l1_get" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  result = (double) ((arg1)->l1);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_l2_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitCorrections_l2_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_l2_set" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitCorrections_l2_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->l2 = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_l2_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_l2_get" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  result = (double) ((arg1)->l2);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_period_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitCorrections_period_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_period_set" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitCorrections_period_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->period = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_period_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_period_get" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  result = (double) ((arg1)->period);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_convolution_stop_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitCorrections_convolution_stop_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_convolution_stop_set" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitCorrections_convolution_stop_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->convolution_stop = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_convolution_stop_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_convolution_stop_get" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  result = (int) ((arg1)->convolution_stop);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_set_gamma(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"v",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:DecayFitCorrections_set_gamma", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_set_gamma" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitCorrections_set_gamma" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->set_gamma(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitCorrections_str(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitCorrections_str" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  result = (arg1)->str();
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_DecayFitCorrections(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double arg1 = (double) 0.0 ;
  double arg2 = (double) 1.0 ;
  double arg3 = (double) 0.0 ;
  double arg4 = (double) 0.0 ;
  double arg5 = (double) 1000 ;
  int arg6 = (int) 0 ;
  double val1 ;
  int ecode1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  double 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 ;
  char * kwnames[] = {
    (char *)"gamma",  (char *)"g",  (char *)"l1",  (char *)"l2",  (char *)"period",  (char *)"convolution_stop",  NULL 
  };
  DecayFitCorrections *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOOO:new_DecayFitCorrections", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_double(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DecayFitCorrections" "', argument " "1"" of type '" "double""'");
    } 
    arg1 = static_cast< double >(val1);
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_double(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DecayFitCorrections" "', argument " "2"" of type '" "double""'");
    } 
    arg2 = static_cast< double >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_double(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DecayFitCorrections" "', argument " "3"" of type '" "double""'");
    } 
    arg3 = static_cast< double >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_double(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DecayFitCorrections" "', argument " "4"" of type '" "double""'");
    } 
    arg4 = static_cast< double >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_double(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DecayFitCorrections" "', argument " "5"" of type '" "double""'");
    } 
    arg5 = static_cast< double >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DecayFitCorrections" "', argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  result = (DecayFitCorrections *)new DecayFitCorrections(arg1,arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFitCorrections, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayFitCorrections(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitCorrections, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayFitCorrections" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayFitCorrections_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayFitCorrections, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayFitCorrections_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DecayFitSettings_fixedrho_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitSettings_fixedrho_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_fixedrho_set" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitSettings_fixedrho_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->fixedrho = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_fixedrho_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_fixedrho_get" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  result = (int) ((arg1)->fixedrho);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_softbifl_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitSettings_softbifl_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_softbifl_set" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitSettings_softbifl_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->softbifl = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_softbifl_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_softbifl_get" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  result = (int) ((arg1)->softbifl);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_p2s_twoIstar_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitSettings_p2s_twoIstar_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_p2s_twoIstar_set" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitSettings_p2s_twoIstar_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->p2s_twoIstar = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_p2s_twoIstar_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_p2s_twoIstar_get" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  result = (int) ((arg1)->p2s_twoIstar);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_firstcall_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitSettings_firstcall_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_firstcall_set" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitSettings_firstcall_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->firstcall = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_firstcall_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_firstcall_get" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  result = (int) ((arg1)->firstcall);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_penalty_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitSettings_penalty_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_penalty_set" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitSettings_penalty_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->penalty = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_penalty_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_penalty_get" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  result = (double) ((arg1)->penalty);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitSettings_str(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitSettings_str" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  result = (arg1)->str();
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_DecayFitSettings(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_DecayFitSettings", 0, 0, 0)) SWIG_fail;
  result = (DecayFitSettings *)new DecayFitSettings();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFitSettings, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayFitSettings(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitSettings *arg1 = (DecayFitSettings *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitSettings, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayFitSettings" "', argument " "1"" of type '" "DecayFitSettings *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitSettings * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayFitSettings_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayFitSettings, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayFitSettings_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_corrections_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  DecayFitCorrections *arg2 = (DecayFitCorrections *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitIntegrateSignals_corrections_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_corrections_set" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_DecayFitCorrections, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFitIntegrateSignals_corrections_set" "', argument " "2"" of type '" "DecayFitCorrections *""'"); 
  }
  arg2 = reinterpret_cast< DecayFitCorrections * >(argp2);
  if (arg1) (arg1)->corrections = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_corrections_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  DecayFitCorrections *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_corrections_get" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (DecayFitCorrections *) ((arg1)->corrections);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Sp_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitIntegrateSignals_Sp_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Sp_set" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitIntegrateSignals_Sp_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->Sp = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Sp_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Sp_get" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double) ((arg1)->Sp);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Ss_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitIntegrateSignals_Ss_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Ss_set" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitIntegrateSignals_Ss_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->Ss = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Ss_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Ss_get" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double) ((arg1)->Ss);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Bp_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitIntegrateSignals_Bp_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Bp_set" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitIntegrateSignals_Bp_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->Bp = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Bp_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Bp_get" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double) ((arg1)->Bp);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Bs_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitIntegrateSignals_Bs_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Bs_set" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitIntegrateSignals_Bs_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->Bs = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Bs_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Bs_get" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double) ((arg1)->Bs);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_B_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitIntegrateSignals_B_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_B_set" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitIntegrateSignals_B_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->B = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_B_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_B_get" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double) ((arg1)->B);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Bexpected_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "DecayFitIntegrateSignals_Bexpected_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Bexpected_set" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitIntegrateSignals_Bexpected_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->Bexpected = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Bexpected_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Bexpected_get" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double) ((arg1)->Bexpected);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Fp(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Fp" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double)(arg1)->Fp();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_Fs(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_Fs" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double)(arg1)->Fs();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_r(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_r" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double)(arg1)->r();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_rho(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double arg2 ;
  double arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"tau",  (char *)"r0",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:DecayFitIntegrateSignals_rho", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_rho" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DecayFitIntegrateSignals_rho" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DecayFitIntegrateSignals_rho" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  result = (double)(arg1)->rho(arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_rs(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_rs" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (double)(arg1)->rs();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_compute_signal_and_background(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  MParam *arg2 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"p",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:DecayFitIntegrateSignals_compute_signal_and_background", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_compute_signal_and_background" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFitIntegrateSignals_compute_signal_and_background" "', argument " "2"" of type '" "MParam *""'"); 
  }
  arg2 = reinterpret_cast< MParam * >(argp2);
  (arg1)->compute_signal_and_background(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_normM__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double *arg2 = (double *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_normM" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFitIntegrateSignals_normM" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DecayFitIntegrateSignals_normM" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->normM(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_normM__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double *arg2 = (double *) 0 ;
  double arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  
  (void)self;
  if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_normM" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFitIntegrateSignals_normM" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DecayFitIntegrateSignals_normM" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayFitIntegrateSignals_normM" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->normM(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_normM(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[5] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFitIntegrateSignals_normM", 0, 4, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_DecayFitIntegrateSignals, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_DecayFitIntegrateSignals_normM__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 4) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_DecayFitIntegrateSignals, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_double(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_DecayFitIntegrateSignals_normM__SWIG_1(self, argc, argv);
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFitIntegrateSignals_normM'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFitIntegrateSignals::normM(double *,int)\n"
    "    DecayFitIntegrateSignals::normM(double *,double,int)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_normM_p2s(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  double *arg2 = (double *) 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 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"M",  (char *)"Nchannels",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:DecayFitIntegrateSignals_normM_p2s", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_normM_p2s" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFitIntegrateSignals_normM_p2s" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DecayFitIntegrateSignals_normM_p2s" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->normM_p2s(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFitIntegrateSignals_str(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFitIntegrateSignals_str" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  result = (arg1)->str();
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_DecayFitIntegrateSignals(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  DecayFitCorrections *arg1 = (DecayFitCorrections *) nullptr ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"corrections",  NULL 
  };
  DecayFitIntegrateSignals *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:new_DecayFitIntegrateSignals", kwnames, &obj0)) SWIG_fail;
  if (obj0) {
    res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DecayFitCorrections, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DecayFitIntegrateSignals" "', argument " "1"" of type '" "DecayFitCorrections *""'"); 
    }
    arg1 = reinterpret_cast< DecayFitCorrections * >(argp1);
  }
  result = (DecayFitIntegrateSignals *)new DecayFitIntegrateSignals(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFitIntegrateSignals, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayFitIntegrateSignals(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFitIntegrateSignals *arg1 = (DecayFitIntegrateSignals *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFitIntegrateSignals, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayFitIntegrateSignals" "', argument " "1"" of type '" "DecayFitIntegrateSignals *""'"); 
  }
  arg1 = reinterpret_cast< DecayFitIntegrateSignals * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayFitIntegrateSignals_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayFitIntegrateSignals, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayFitIntegrateSignals_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DecayFit_modelf(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  double *arg2 = (double *) 0 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double arg5 ;
  double *arg6 = (double *) 0 ;
  double *arg7 = (double *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 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 ;
  char * kwnames[] = {
    (char *)"param",  (char *)"irf",  (char *)"bg",  (char *)"Nchannels",  (char *)"dt",  (char *)"corrections",  (char *)"mfunction",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOOOOO:DecayFit_modelf", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4, &obj5, &obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit_modelf" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit_modelf" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit_modelf" "', argument " "3"" of type '" "double *""'"); 
  }
  arg3 = reinterpret_cast< double * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayFit_modelf" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_double(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DecayFit_modelf" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DecayFit_modelf" "', argument " "6"" of type '" "double *""'"); 
  }
  arg6 = reinterpret_cast< double * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DecayFit_modelf" "', argument " "7"" of type '" "double *""'"); 
  }
  arg7 = reinterpret_cast< double * >(argp7);
  result = (int)DecayFit::modelf(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit_targetf(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"x",  (char *)"pv",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:DecayFit_targetf", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit_targetf" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit_targetf" "', argument " "2"" of type '" "void *""'"); 
  }
  result = (double)DecayFit::targetf(arg1,arg2);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit_fit(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  short *arg2 = (short *) 0 ;
  MParam *arg3 = (MParam *) 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 ;
  char * kwnames[] = {
    (char *)"x",  (char *)"fixed",  (char *)"p",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:DecayFit_fit", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit_fit" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit_fit" "', argument " "2"" of type '" "short *""'"); 
  }
  arg2 = reinterpret_cast< short * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit_fit" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit::fit(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit_correct_input(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  double *arg2 = (double *) 0 ;
  LVDoubleArray *arg3 = (LVDoubleArray *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"x",  (char *)"xm",  (char *)"corrections",  (char *)"return_r",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:DecayFit_correct_input", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit_correct_input" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit_correct_input" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit_correct_input" "', argument " "3"" of type '" "LVDoubleArray *""'"); 
  }
  arg3 = reinterpret_cast< LVDoubleArray * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayFit_correct_input" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  DecayFit::correct_input(arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_DecayFit(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_DecayFit", 0, 0, 0)) SWIG_fail;
  result = (DecayFit *)new DecayFit();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFit, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayFit(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit *arg1 = (DecayFit *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFit, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayFit" "', argument " "1"" of type '" "DecayFit *""'"); 
  }
  arg1 = reinterpret_cast< DecayFit * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayFit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayFit, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayFit_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_LVI32Array_length_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "LVI32Array_length_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array_length_set" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LVI32Array_length_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->length = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array_length_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array_length_get" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  result = (int) ((arg1)->length);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array_data_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  int *arg2 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "LVI32Array_data_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array_data_set" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LVI32Array_data_set" "', argument " "2"" of type '" "int *""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  if (arg1) (arg1)->data = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array_data_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array_data_get" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  result = (int *) ((arg1)->data);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_LVI32Array(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVI32Array, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LVI32Array" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array_str(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array_str" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  result = (arg1)->str();
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array___getitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  NULL 
  };
  int result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:LVI32Array___getitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array___getitem__" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LVI32Array___getitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    assert(!LVI32ArrayErr);
    result = (int)LVI32Array___getitem__(arg1,SWIG_STD_MOVE(arg2));
    if ( LVI32ArrayErr ){
      LVI32ArrayErr = 0; // clear flag for next time
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array___setitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  size_t arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"value",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:LVI32Array___setitem__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array___setitem__" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LVI32Array___setitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LVI32Array___setitem__" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    assert(!LVI32ArrayErr);
    LVI32Array___setitem__(arg1,SWIG_STD_MOVE(arg2),arg3);
    if ( LVI32ArrayErr ){
      LVI32ArrayErr = 0; // clear flag for next time
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array___len__" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  result = LVI32Array___len__(arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array_insert(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  size_t arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"value",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:LVI32Array_insert", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array_insert" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LVI32Array_insert" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LVI32Array_insert" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    assert(!LVI32ArrayErr);
    LVI32Array_insert(arg1,SWIG_STD_MOVE(arg2),arg3);
    if ( LVI32ArrayErr ){
      LVI32ArrayErr = 0; // clear flag for next time
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVI32Array_set_data(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  LVI32Array *arg1 = (LVI32Array *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:LVI32Array_set_data", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVI32Array_set_data" "', argument " "1"" of type '" "LVI32Array *""'"); 
  }
  arg1 = reinterpret_cast< LVI32Array * >(argp1);
  arg2 = obj1;
  LVI32Array_set_data(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_LVI32Array(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVI32Array *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_LVI32Array", 0, 0, 0)) SWIG_fail;
  result = (LVI32Array *)new LVI32Array();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVI32Array, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *LVI32Array_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_LVI32Array, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *LVI32Array_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_LVDoubleArray_length_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "LVDoubleArray_length_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray_length_set" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LVDoubleArray_length_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->length = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray_length_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  int result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray_length_get" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  result = (int) ((arg1)->length);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray_data_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  double *arg2 = (double *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "LVDoubleArray_data_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray_data_set" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LVDoubleArray_data_set" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  if (arg1) (arg1)->data = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray_data_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray_data_get" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  result = (double *) ((arg1)->data);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_LVDoubleArray(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVDoubleArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LVDoubleArray" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray_str(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  std::string result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray_str" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  result = (arg1)->str();
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray___getitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  NULL 
  };
  double result;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:LVDoubleArray___getitem__", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray___getitem__" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LVDoubleArray___getitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    assert(!LVDoubleArrayErr);
    result = (double)LVDoubleArray___getitem__(arg1,SWIG_STD_MOVE(arg2));
    if ( LVDoubleArrayErr ){
      LVDoubleArrayErr = 0; // clear flag for next time
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray___setitem__(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  size_t arg2 ;
  double arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"value",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:LVDoubleArray___setitem__", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray___setitem__" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LVDoubleArray___setitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LVDoubleArray___setitem__" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  {
    assert(!LVDoubleArrayErr);
    LVDoubleArray___setitem__(arg1,SWIG_STD_MOVE(arg2),arg3);
    if ( LVDoubleArrayErr ){
      LVDoubleArrayErr = 0; // clear flag for next time
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray___len__(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  size_t result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray___len__" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  result = LVDoubleArray___len__(arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray_insert(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  size_t arg2 ;
  double arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"i",  (char *)"value",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:LVDoubleArray_insert", kwnames, &obj0, &obj1, &obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray_insert" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LVDoubleArray_insert" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LVDoubleArray_insert" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  {
    assert(!LVDoubleArrayErr);
    LVDoubleArray_insert(arg1,SWIG_STD_MOVE(arg2),arg3);
    if ( LVDoubleArrayErr ){
      LVDoubleArrayErr = 0; // clear flag for next time
      SWIG_exception(SWIG_IndexError, "Index out of bounds");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_LVDoubleArray_set_data(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  LVDoubleArray *arg1 = (LVDoubleArray *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"self",  (char *)"input",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:LVDoubleArray_set_data", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LVDoubleArray_set_data" "', argument " "1"" of type '" "LVDoubleArray *""'"); 
  }
  arg1 = reinterpret_cast< LVDoubleArray * >(argp1);
  arg2 = obj1;
  LVDoubleArray_set_data(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_LVDoubleArray(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  LVDoubleArray *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_LVDoubleArray", 0, 0, 0)) SWIG_fail;
  result = (LVDoubleArray *)new LVDoubleArray();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVDoubleArray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *LVDoubleArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_LVDoubleArray, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *LVDoubleArray_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_MParam_expdata_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  LVI32Array **arg2 = (LVI32Array **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "MParam_expdata_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_expdata_set" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_p_LVI32Array, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MParam_expdata_set" "', argument " "2"" of type '" "LVI32Array **""'"); 
  }
  arg2 = reinterpret_cast< LVI32Array ** >(argp2);
  if (arg1) (arg1)->expdata = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_expdata_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVI32Array **result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_expdata_get" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVI32Array **) ((arg1)->expdata);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_LVI32Array, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_irf_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  LVDoubleArray **arg2 = (LVDoubleArray **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "MParam_irf_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_irf_set" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MParam_irf_set" "', argument " "2"" of type '" "LVDoubleArray **""'"); 
  }
  arg2 = reinterpret_cast< LVDoubleArray ** >(argp2);
  if (arg1) (arg1)->irf = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_irf_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVDoubleArray **result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_irf_get" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVDoubleArray **) ((arg1)->irf);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_bg_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  LVDoubleArray **arg2 = (LVDoubleArray **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "MParam_bg_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_bg_set" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MParam_bg_set" "', argument " "2"" of type '" "LVDoubleArray **""'"); 
  }
  arg2 = reinterpret_cast< LVDoubleArray ** >(argp2);
  if (arg1) (arg1)->bg = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_bg_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVDoubleArray **result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_bg_get" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVDoubleArray **) ((arg1)->bg);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_dt_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "MParam_dt_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_dt_set" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MParam_dt_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->dt = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_dt_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  double result;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_dt_get" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (double) ((arg1)->dt);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_corrections_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  LVDoubleArray **arg2 = (LVDoubleArray **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "MParam_corrections_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_corrections_set" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MParam_corrections_set" "', argument " "2"" of type '" "LVDoubleArray **""'"); 
  }
  arg2 = reinterpret_cast< LVDoubleArray ** >(argp2);
  if (arg1) (arg1)->corrections = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_corrections_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVDoubleArray **result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_corrections_get" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVDoubleArray **) ((arg1)->corrections);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_M_set(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  LVDoubleArray **arg2 = (LVDoubleArray **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject *swig_obj[2] ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "MParam_M_set", 2, 2, swig_obj)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_M_set" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MParam_M_set" "', argument " "2"" of type '" "LVDoubleArray **""'"); 
  }
  arg2 = reinterpret_cast< LVDoubleArray ** >(argp2);
  if (arg1) (arg1)->M = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_M_get(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVDoubleArray **result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_M_get" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVDoubleArray **) ((arg1)->M);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_MParam(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MParam" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_get_irf(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVDoubleArray *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_get_irf" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVDoubleArray *)MParam_get_irf(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_get_model(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVDoubleArray *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_get_model" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVDoubleArray *)MParam_get_model(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_get_data(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVI32Array *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_get_data" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVI32Array *)MParam_get_data(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVI32Array, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_get_corrections(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVDoubleArray *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_get_corrections" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVDoubleArray *)MParam_get_corrections(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_MParam_get_background(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *arg1 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  LVDoubleArray *result = 0 ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MParam_get_background" "', argument " "1"" of type '" "MParam *""'"); 
  }
  arg1 = reinterpret_cast< MParam * >(argp1);
  result = (LVDoubleArray *)MParam_get_background(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_MParam(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  MParam *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_MParam", 0, 0, 0)) SWIG_fail;
  result = (MParam *)new MParam();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MParam, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *MParam_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_MParam, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *MParam_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_CreateLVI32Array(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"len",  NULL 
  };
  LVI32Array *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:CreateLVI32Array", kwnames, &obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CreateLVI32Array" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (LVI32Array *)CreateLVI32Array(SWIG_STD_MOVE(arg1));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVI32Array, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CreateLVDoubleArray(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char * kwnames[] = {
    (char *)"len",  NULL 
  };
  LVDoubleArray *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:CreateLVDoubleArray", kwnames, &obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CreateLVDoubleArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (LVDoubleArray *)CreateLVDoubleArray(SWIG_STD_MOVE(arg1));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CreateMParam(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double arg1 = (double) 1.0 ;
  std::vector< double,std::allocator< double > > arg2 = (std::vector< double,std::allocator< double > >) std::vector< double >() ;
  std::vector< double,std::allocator< double > > arg3 = (std::vector< double,std::allocator< double > >) std::vector< double >() ;
  std::vector< double,std::allocator< double > > arg4 = (std::vector< double,std::allocator< double > >) std::vector< double >() ;
  std::vector< int,std::allocator< int > > arg5 = (std::vector< int,std::allocator< int > >) std::vector< int >() ;
  double val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char * kwnames[] = {
    (char *)"dt",  (char *)"corrections",  (char *)"irf",  (char *)"background",  (char *)"data",  NULL 
  };
  MParam *result = 0 ;
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOO:CreateMParam", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_double(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CreateMParam" "', argument " "1"" of type '" "double""'");
    } 
    arg1 = static_cast< double >(val1);
  }
  if (obj1) {
    {
      std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
      int res = swig::asptr(obj1, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CreateMParam" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > >""'"); 
      }
      arg2 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj2) {
    {
      std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
      int res = swig::asptr(obj2, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CreateMParam" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > >""'"); 
      }
      arg3 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj3) {
    {
      std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
      int res = swig::asptr(obj3, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CreateMParam" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > >""'"); 
      }
      arg4 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  if (obj4) {
    {
      std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
      int res = swig::asptr(obj4, &ptr);
      if (!SWIG_IsOK(res) || !ptr) {
        SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CreateMParam" "', argument " "5"" of type '" "std::vector< int,std::allocator< int > >""'"); 
      }
      arg5 = *ptr;
      if (SWIG_IsNewObj(res)) delete ptr;
    }
  }
  result = (MParam *)CreateMParam(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),SWIG_STD_MOVE(arg4),SWIG_STD_MOVE(arg5));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MParam, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit23_modelf__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  double *arg2 = (double *) 0 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double arg5 ;
  double *arg6 = (double *) 0 ;
  double *arg7 = (double *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  int result;
  
  (void)self;
  if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit23_modelf" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit23_modelf" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit23_modelf" "', argument " "3"" of type '" "double *""'"); 
  }
  arg3 = reinterpret_cast< double * >(argp3);
  ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayFit23_modelf" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DecayFit23_modelf" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  res6 = SWIG_ConvertPtr(swig_obj[5], &argp6,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DecayFit23_modelf" "', argument " "6"" of type '" "double *""'"); 
  }
  arg6 = reinterpret_cast< double * >(argp6);
  res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DecayFit23_modelf" "', argument " "7"" of type '" "double *""'"); 
  }
  arg7 = reinterpret_cast< double * >(argp7);
  result = (int)DecayFit23::modelf(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit23_targetf__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  double result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit23_targetf" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit23_targetf" "', argument " "2"" of type '" "void *""'"); 
  }
  result = (double)DecayFit23::targetf(arg1,arg2);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit23_fit__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  short *arg2 = (short *) 0 ;
  MParam *arg3 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit23_fit" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit23_fit" "', argument " "2"" of type '" "short *""'"); 
  }
  arg2 = reinterpret_cast< short * >(argp2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit23_fit" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit23::fit(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit23_correct_input(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  double *arg2 = (double *) 0 ;
  LVDoubleArray *arg3 = (LVDoubleArray *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"x",  (char *)"xm",  (char *)"corrections",  (char *)"return_r",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:DecayFit23_correct_input", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit23_correct_input" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit23_correct_input" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit23_correct_input" "', argument " "3"" of type '" "LVDoubleArray *""'"); 
  }
  arg3 = reinterpret_cast< LVDoubleArray * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayFit23_correct_input" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  DecayFit23::correct_input(arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit23_fit__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  short *arg3 = (short *) 0 ;
  int arg4 ;
  MParam *arg5 = (MParam *) 0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
      NPY_SHORT,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (short*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  res5 = SWIG_ConvertPtr(swig_obj[2], &argp5,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DecayFit23_fit" "', argument " "5"" of type '" "MParam *""'"); 
  }
  arg5 = reinterpret_cast< MParam * >(argp5);
  result = (double)DecayFit23_my_fit__SWIG_1(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_double(static_cast< double >(result));
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit23_fit(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit23_fit", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MParam, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_DecayFit23_fit__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      {
        _v = is_pyarray(argv[1]) || PySequence_Check(argv[1]);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MParam, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_DecayFit23_fit__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit23_fit'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit23::fit(double *,short *,MParam *)\n"
    "    DecayFit23::DecayFit23_my_fit__SWIG_1(double *,int,short *,int,MParam *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_DecayFit23_targetf__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  MParam *arg3 = (MParam *) 0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  res3 = SWIG_ConvertPtr(swig_obj[1], &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit23_targetf" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit23_my_targetf__SWIG_1(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit23_targetf(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit23_targetf", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *ptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_DecayFit23_targetf__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_MParam, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_DecayFit23_targetf__SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit23_targetf'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit23::targetf(double *,void *)\n"
    "    DecayFit23::DecayFit23_my_targetf__SWIG_1(double *,int,MParam *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_DecayFit23_modelf__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double arg7 ;
  double *arg8 = (double *) 0 ;
  int arg9 ;
  double *arg10 = (double *) 0 ;
  int arg11 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  double val7 ;
  int ecode7 = 0 ;
  PyArrayObject *array8 = NULL ;
  int i8 = 1 ;
  PyArrayObject *array10 = NULL ;
  int i10 = 1 ;
  int result;
  
  (void)self;
  if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DecayFit23_modelf" "', argument " "7"" of type '" "double""'");
  } 
  arg7 = static_cast< double >(val7);
  {
    array8 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
    if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
      || !require_native(array8)) SWIG_fail;
    arg8 = (double*) pyarray_data(array8);
    arg9 = 1;
    for (i8=0; i8 < pyarray_numdims(array8); ++i8) arg9 *= pyarray_size(array8,i8);
  }
  {
    array10 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
    if (!array10 || !require_dimensions(array10,1) || !require_contiguous(array10)
      || !require_native(array10)) SWIG_fail;
    arg10 = (double*) pyarray_data(array10);
    arg11 = 1;
    for (i10=0; i10 < pyarray_numdims(array10); ++i10) arg11 *= pyarray_size(array10,i10);
  }
  result = (int)DecayFit23_my_modelf__SWIG_1(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit23_modelf(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[8] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit23_modelf", 0, 7, argv))) SWIG_fail;
  --argc;
  if (argc == 6) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      {
        _v = is_pyarray(argv[1]) && PyArray_EquivTypenums(pyarray_type(argv[1]),
          NPY_DOUBLE);
      }
      if (_v) {
        {
          _v = is_pyarray(argv[2]) && PyArray_EquivTypenums(pyarray_type(argv[2]),
            NPY_DOUBLE);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              _v = is_pyarray(argv[4]) && PyArray_EquivTypenums(pyarray_type(argv[4]),
                NPY_DOUBLE);
            }
            if (_v) {
              {
                _v = is_pyarray(argv[5]) && PyArray_EquivTypenums(pyarray_type(argv[5]),
                  NPY_DOUBLE);
              }
              if (_v) {
                if (argc <= 6) {
                  return _wrap_DecayFit23_modelf__SWIG_1(self, argc, argv);
                }
                return _wrap_DecayFit23_modelf__SWIG_1(self, argc, argv);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_double(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_double, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_DecayFit23_modelf__SWIG_0(self, argc, argv);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit23_modelf'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit23::modelf(double *,double *,double *,int,double,double *,double *)\n"
    "    DecayFit23::DecayFit23_my_modelf__SWIG_1(double *,int,double *,int,double *,int,double,double *,int,double *,int)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_DecayFit23(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit23 *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_DecayFit23", 0, 0, 0)) SWIG_fail;
  result = (DecayFit23 *)new DecayFit23();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFit23, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayFit23(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit23 *arg1 = (DecayFit23 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFit23, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayFit23" "', argument " "1"" of type '" "DecayFit23 *""'"); 
  }
  arg1 = reinterpret_cast< DecayFit23 * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayFit23_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayFit23, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayFit23_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DecayFit24_modelf__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  double *arg2 = (double *) 0 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double arg5 ;
  double *arg6 = (double *) 0 ;
  double *arg7 = (double *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  double val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  int result;
  
  (void)self;
  if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit24_modelf" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit24_modelf" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit24_modelf" "', argument " "3"" of type '" "double *""'"); 
  }
  arg3 = reinterpret_cast< double * >(argp3);
  ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayFit24_modelf" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DecayFit24_modelf" "', argument " "5"" of type '" "double""'");
  } 
  arg5 = static_cast< double >(val5);
  res6 = SWIG_ConvertPtr(swig_obj[5], &argp6,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DecayFit24_modelf" "', argument " "6"" of type '" "double *""'"); 
  }
  arg6 = reinterpret_cast< double * >(argp6);
  res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DecayFit24_modelf" "', argument " "7"" of type '" "double *""'"); 
  }
  arg7 = reinterpret_cast< double * >(argp7);
  result = (int)DecayFit24::modelf(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit24_targetf__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  double result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit24_targetf" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit24_targetf" "', argument " "2"" of type '" "void *""'"); 
  }
  result = (double)DecayFit24::targetf(arg1,arg2);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit24_fit__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  short *arg2 = (short *) 0 ;
  MParam *arg3 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit24_fit" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit24_fit" "', argument " "2"" of type '" "short *""'"); 
  }
  arg2 = reinterpret_cast< short * >(argp2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit24_fit" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit24::fit(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit24_correct_input(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  double *arg2 = (double *) 0 ;
  LVDoubleArray *arg3 = (LVDoubleArray *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"x",  (char *)"xm",  (char *)"corrections",  (char *)"return_r",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:DecayFit24_correct_input", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit24_correct_input" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit24_correct_input" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit24_correct_input" "', argument " "3"" of type '" "LVDoubleArray *""'"); 
  }
  arg3 = reinterpret_cast< LVDoubleArray * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayFit24_correct_input" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  DecayFit24::correct_input(arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit24_fit__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  short *arg3 = (short *) 0 ;
  int arg4 ;
  MParam *arg5 = (MParam *) 0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
      NPY_SHORT,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (short*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  res5 = SWIG_ConvertPtr(swig_obj[2], &argp5,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DecayFit24_fit" "', argument " "5"" of type '" "MParam *""'"); 
  }
  arg5 = reinterpret_cast< MParam * >(argp5);
  result = (double)DecayFit24_my_fit__SWIG_1(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_double(static_cast< double >(result));
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit24_fit(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit24_fit", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MParam, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_DecayFit24_fit__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      {
        _v = is_pyarray(argv[1]) || PySequence_Check(argv[1]);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MParam, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_DecayFit24_fit__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit24_fit'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit24::fit(double *,short *,MParam *)\n"
    "    DecayFit24::DecayFit24_my_fit__SWIG_1(double *,int,short *,int,MParam *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_DecayFit24_targetf__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  MParam *arg3 = (MParam *) 0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  res3 = SWIG_ConvertPtr(swig_obj[1], &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit24_targetf" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit24_my_targetf__SWIG_1(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit24_targetf(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit24_targetf", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *ptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_DecayFit24_targetf__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_MParam, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_DecayFit24_targetf__SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit24_targetf'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit24::targetf(double *,void *)\n"
    "    DecayFit24::DecayFit24_my_targetf__SWIG_1(double *,int,MParam *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_DecayFit24_modelf__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  int arg4 ;
  double *arg5 = (double *) 0 ;
  int arg6 ;
  double arg7 ;
  double *arg8 = (double *) 0 ;
  int arg9 ;
  double *arg10 = (double *) 0 ;
  int arg11 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int i3 = 1 ;
  PyArrayObject *array5 = NULL ;
  int i5 = 1 ;
  double val7 ;
  int ecode7 = 0 ;
  PyArrayObject *array8 = NULL ;
  int i8 = 1 ;
  PyArrayObject *array10 = NULL ;
  int i10 = 1 ;
  int result;
  
  (void)self;
  if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    array3 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
    if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
      || !require_native(array3)) SWIG_fail;
    arg3 = (double*) pyarray_data(array3);
    arg4 = 1;
    for (i3=0; i3 < pyarray_numdims(array3); ++i3) arg4 *= pyarray_size(array3,i3);
  }
  {
    array5 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
    if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
      || !require_native(array5)) SWIG_fail;
    arg5 = (double*) pyarray_data(array5);
    arg6 = 1;
    for (i5=0; i5 < pyarray_numdims(array5); ++i5) arg6 *= pyarray_size(array5,i5);
  }
  ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DecayFit24_modelf" "', argument " "7"" of type '" "double""'");
  } 
  arg7 = static_cast< double >(val7);
  {
    array8 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
    if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
      || !require_native(array8)) SWIG_fail;
    arg8 = (double*) pyarray_data(array8);
    arg9 = 1;
    for (i8=0; i8 < pyarray_numdims(array8); ++i8) arg9 *= pyarray_size(array8,i8);
  }
  {
    array10 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
    if (!array10 || !require_dimensions(array10,1) || !require_contiguous(array10)
      || !require_native(array10)) SWIG_fail;
    arg10 = (double*) pyarray_data(array10);
    arg11 = 1;
    for (i10=0; i10 < pyarray_numdims(array10); ++i10) arg11 *= pyarray_size(array10,i10);
  }
  result = (int)DecayFit24_my_modelf__SWIG_1(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit24_modelf(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[8] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit24_modelf", 0, 7, argv))) SWIG_fail;
  --argc;
  if (argc == 6) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      {
        _v = is_pyarray(argv[1]) && PyArray_EquivTypenums(pyarray_type(argv[1]),
          NPY_DOUBLE);
      }
      if (_v) {
        {
          _v = is_pyarray(argv[2]) && PyArray_EquivTypenums(pyarray_type(argv[2]),
            NPY_DOUBLE);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              _v = is_pyarray(argv[4]) && PyArray_EquivTypenums(pyarray_type(argv[4]),
                NPY_DOUBLE);
            }
            if (_v) {
              {
                _v = is_pyarray(argv[5]) && PyArray_EquivTypenums(pyarray_type(argv[5]),
                  NPY_DOUBLE);
              }
              if (_v) {
                if (argc <= 6) {
                  return _wrap_DecayFit24_modelf__SWIG_1(self, argc, argv);
                }
                return _wrap_DecayFit24_modelf__SWIG_1(self, argc, argv);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_double(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_double, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_DecayFit24_modelf__SWIG_0(self, argc, argv);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit24_modelf'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit24::modelf(double *,double *,double *,int,double,double *,double *)\n"
    "    DecayFit24::DecayFit24_my_modelf__SWIG_1(double *,int,double *,int,double *,int,double,double *,int,double *,int)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_DecayFit24(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit24 *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_DecayFit24", 0, 0, 0)) SWIG_fail;
  result = (DecayFit24 *)new DecayFit24();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFit24, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayFit24(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit24 *arg1 = (DecayFit24 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFit24, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayFit24" "', argument " "1"" of type '" "DecayFit24 *""'"); 
  }
  arg1 = reinterpret_cast< DecayFit24 * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayFit24_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayFit24, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayFit24_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DecayFit25_correct_input(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  double *arg2 = (double *) 0 ;
  LVDoubleArray *arg3 = (LVDoubleArray *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char * kwnames[] = {
    (char *)"x",  (char *)"xm",  (char *)"corrections",  (char *)"return_r",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOOO:DecayFit25_correct_input", kwnames, &obj0, &obj1, &obj2, &obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit25_correct_input" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit25_correct_input" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_LVDoubleArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit25_correct_input" "', argument " "3"" of type '" "LVDoubleArray *""'"); 
  }
  arg3 = reinterpret_cast< LVDoubleArray * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DecayFit25_correct_input" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  DecayFit25::correct_input(arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit25_targetf__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  double result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit25_targetf" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit25_targetf" "', argument " "2"" of type '" "void *""'"); 
  }
  result = (double)DecayFit25::targetf(arg1,arg2);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit25_fit__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  short *arg2 = (short *) 0 ;
  MParam *arg3 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit25_fit" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit25_fit" "', argument " "2"" of type '" "short *""'"); 
  }
  arg2 = reinterpret_cast< short * >(argp2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit25_fit" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit25::fit(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit25_targetf__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  MParam *arg3 = (MParam *) 0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  res3 = SWIG_ConvertPtr(swig_obj[1], &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit25_targetf" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit25_my_targetf__SWIG_1(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit25_targetf(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit25_targetf", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *ptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_DecayFit25_targetf__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_MParam, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_DecayFit25_targetf__SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit25_targetf'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit25::targetf(double *,void *)\n"
    "    DecayFit25::DecayFit25_my_targetf__SWIG_1(double *,int,MParam *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_DecayFit25_fit__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  short *arg3 = (short *) 0 ;
  int arg4 ;
  MParam *arg5 = (MParam *) 0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
      NPY_SHORT,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (short*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  res5 = SWIG_ConvertPtr(swig_obj[2], &argp5,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DecayFit25_fit" "', argument " "5"" of type '" "MParam *""'"); 
  }
  arg5 = reinterpret_cast< MParam * >(argp5);
  result = (double)DecayFit25_my_fit__SWIG_1(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_double(static_cast< double >(result));
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit25_fit(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit25_fit", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MParam, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_DecayFit25_fit__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      {
        _v = is_pyarray(argv[1]) || PySequence_Check(argv[1]);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MParam, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_DecayFit25_fit__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit25_fit'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit25::fit(double *,short *,MParam *)\n"
    "    DecayFit25::DecayFit25_my_fit__SWIG_1(double *,int,short *,int,MParam *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_DecayFit25(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit25 *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_DecayFit25", 0, 0, 0)) SWIG_fail;
  result = (DecayFit25 *)new DecayFit25();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFit25, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayFit25(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit25 *arg1 = (DecayFit25 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFit25, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayFit25" "', argument " "1"" of type '" "DecayFit25 *""'"); 
  }
  arg1 = reinterpret_cast< DecayFit25 * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayFit25_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayFit25, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayFit25_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DecayFit26_correct_input(PyObject *self, PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  double *arg2 = (double *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char * kwnames[] = {
    (char *)"x",  (char *)"xm",  NULL 
  };
  
  (void)self;
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:DecayFit26_correct_input", kwnames, &obj0, &obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit26_correct_input" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit26_correct_input" "', argument " "2"" of type '" "double *""'"); 
  }
  arg2 = reinterpret_cast< double * >(argp2);
  DecayFit26::correct_input(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit26_targetf__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  double result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit26_targetf" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit26_targetf" "', argument " "2"" of type '" "void *""'"); 
  }
  result = (double)DecayFit26::targetf(arg1,arg2);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit26_fit__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  short *arg2 = (short *) 0 ;
  MParam *arg3 = (MParam *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DecayFit26_fit" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DecayFit26_fit" "', argument " "2"" of type '" "short *""'"); 
  }
  arg2 = reinterpret_cast< short * >(argp2);
  res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit26_fit" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit26::fit(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit26_targetf__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  MParam *arg3 = (MParam *) 0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  res3 = SWIG_ConvertPtr(swig_obj[1], &argp3,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DecayFit26_targetf" "', argument " "3"" of type '" "MParam *""'"); 
  }
  arg3 = reinterpret_cast< MParam * >(argp3);
  result = (double)DecayFit26_my_targetf__SWIG_1(arg1,arg2,arg3);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit26_targetf(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[3] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit26_targetf", 0, 2, argv))) SWIG_fail;
  --argc;
  if (argc == 2) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *ptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_DecayFit26_targetf__SWIG_0(self, argc, argv);
      }
    }
  }
  if (argc == 2) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_MParam, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_DecayFit26_targetf__SWIG_1(self, argc, argv);
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit26_targetf'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit26::targetf(double *,void *)\n"
    "    DecayFit26::DecayFit26_my_targetf__SWIG_1(double *,int,MParam *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_DecayFit26_fit__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  int arg2 ;
  short *arg3 = (short *) 0 ;
  int arg4 ;
  MParam *arg5 = (MParam *) 0 ;
  PyArrayObject *array1 = NULL ;
  int i1 = 1 ;
  PyArrayObject *array3 = NULL ;
  int is_new_object3 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  double result;
  
  (void)self;
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
  {
    array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
    if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
      || !require_native(array1)) SWIG_fail;
    arg1 = (double*) pyarray_data(array1);
    arg2 = 1;
    for (i1=0; i1 < pyarray_numdims(array1); ++i1) arg2 *= pyarray_size(array1,i1);
  }
  {
    npy_intp size[1] = {
      -1 
    };
    array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
      NPY_SHORT,
      &is_new_object3);
    if (!array3 || !require_dimensions(array3, 1) ||
      !require_size(array3, size, 1)) SWIG_fail;
    arg3 = (short*) pyarray_data(array3);
    arg4 = (int) pyarray_size(array3,0);
  }
  res5 = SWIG_ConvertPtr(swig_obj[2], &argp5,SWIGTYPE_p_MParam, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DecayFit26_fit" "', argument " "5"" of type '" "MParam *""'"); 
  }
  arg5 = reinterpret_cast< MParam * >(argp5);
  result = (double)DecayFit26_my_fit__SWIG_1(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_double(static_cast< double >(result));
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return resultobj;
fail:
  {
    if (is_new_object3 && array3)
    {
      Py_DECREF(array3); 
    }
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DecayFit26_fit(PyObject *self, PyObject *args) {
  Py_ssize_t argc;
  PyObject *argv[4] = {
    0
  };
  
  if (!(argc = SWIG_Python_UnpackTuple(args, "DecayFit26_fit", 0, 3, argv))) SWIG_fail;
  --argc;
  if (argc == 3) {
    int _v = 0;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MParam, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_DecayFit26_fit__SWIG_0(self, argc, argv);
        }
      }
    }
  }
  if (argc == 3) {
    int _v = 0;
    {
      _v = is_pyarray(argv[0]) && PyArray_EquivTypenums(pyarray_type(argv[0]),
        NPY_DOUBLE);
    }
    if (_v) {
      {
        _v = is_pyarray(argv[1]) || PySequence_Check(argv[1]);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MParam, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_DecayFit26_fit__SWIG_1(self, argc, argv);
        }
      }
    }
  }
  
fail:
  SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DecayFit26_fit'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    DecayFit26::fit(double *,short *,MParam *)\n"
    "    DecayFit26::DecayFit26_my_fit__SWIG_1(double *,int,short *,int,MParam *)\n");
  return 0;
}


SWIGINTERN PyObject *_wrap_new_DecayFit26(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit26 *result = 0 ;
  
  (void)self;
  if (!SWIG_Python_UnpackTuple(args, "new_DecayFit26", 0, 0, 0)) SWIG_fail;
  result = (DecayFit26 *)new DecayFit26();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DecayFit26, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DecayFit26(PyObject *self, PyObject *args) {
  PyObject *resultobj = 0;
  DecayFit26 *arg1 = (DecayFit26 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  (void)self;
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_DecayFit26, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DecayFit26" "', argument " "1"" of type '" "DecayFit26 *""'"); 
  }
  arg1 = reinterpret_cast< DecayFit26 * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DecayFit26_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_DecayFit26, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DecayFit26_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

static PyMethodDef SwigMethods[] = {
	 { "delete_SwigPyIterator", _wrap_delete_SwigPyIterator, METH_O, "delete_SwigPyIterator(self)"},
	 { "SwigPyIterator_value", _wrap_SwigPyIterator_value, METH_O, "SwigPyIterator_value(self) -> PyObject *"},
	 { "SwigPyIterator_incr", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator_incr, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator_incr(self, n=1) -> SwigPyIterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: size_t\n"
		"\n"
		""},
	 { "SwigPyIterator_decr", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator_decr, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator_decr(self, n=1) -> SwigPyIterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: size_t\n"
		"\n"
		""},
	 { "SwigPyIterator_distance", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator_distance, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator_distance(self, x) -> ptrdiff_t\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: swig::SwigPyIterator const &\n"
		"\n"
		""},
	 { "SwigPyIterator_equal", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator_equal, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator_equal(self, x) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: swig::SwigPyIterator const &\n"
		"\n"
		""},
	 { "SwigPyIterator_copy", _wrap_SwigPyIterator_copy, METH_O, "SwigPyIterator_copy(self) -> SwigPyIterator"},
	 { "SwigPyIterator_next", _wrap_SwigPyIterator_next, METH_O, "SwigPyIterator_next(self) -> PyObject *"},
	 { "SwigPyIterator___next__", _wrap_SwigPyIterator___next__, METH_O, "SwigPyIterator___next__(self) -> PyObject *"},
	 { "SwigPyIterator_previous", _wrap_SwigPyIterator_previous, METH_O, "SwigPyIterator_previous(self) -> PyObject *"},
	 { "SwigPyIterator_advance", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator_advance, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator_advance(self, n) -> SwigPyIterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: ptrdiff_t\n"
		"\n"
		""},
	 { "SwigPyIterator___eq__", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator___eq__, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator___eq__(self, x) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: swig::SwigPyIterator const &\n"
		"\n"
		""},
	 { "SwigPyIterator___ne__", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator___ne__, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator___ne__(self, x) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: swig::SwigPyIterator const &\n"
		"\n"
		""},
	 { "SwigPyIterator___iadd__", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator___iadd__, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator___iadd__(self, n) -> SwigPyIterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: ptrdiff_t\n"
		"\n"
		""},
	 { "SwigPyIterator___isub__", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator___isub__, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator___isub__(self, n) -> SwigPyIterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: ptrdiff_t\n"
		"\n"
		""},
	 { "SwigPyIterator___add__", (PyCFunction)(void(*)(void))_wrap_SwigPyIterator___add__, METH_VARARGS|METH_KEYWORDS, "\n"
		"SwigPyIterator___add__(self, n) -> SwigPyIterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: ptrdiff_t\n"
		"\n"
		""},
	 { "SwigPyIterator___sub__", _wrap_SwigPyIterator___sub__, METH_VARARGS, "\n"
		"SwigPyIterator___sub__(self, n) -> SwigPyIterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: ptrdiff_t\n"
		"\n"
		"SwigPyIterator___sub__(self, x) -> ptrdiff_t\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: swig::SwigPyIterator const &\n"
		"\n"
		""},
	 { "SwigPyIterator_swigregister", SwigPyIterator_swigregister, METH_O, NULL},
	 { "SetInt32_iterator", _wrap_SetInt32_iterator, METH_O, "SetInt32_iterator(self) -> SwigPyIterator"},
	 { "SetInt32___nonzero__", _wrap_SetInt32___nonzero__, METH_O, "SetInt32___nonzero__(self) -> bool"},
	 { "SetInt32___bool__", _wrap_SetInt32___bool__, METH_O, "SetInt32___bool__(self) -> bool"},
	 { "SetInt32___len__", _wrap_SetInt32___len__, METH_O, "SetInt32___len__(self) -> std::set< int >::size_type"},
	 { "SetInt32_append", (PyCFunction)(void(*)(void))_wrap_SetInt32_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::value_type\n"
		"\n"
		""},
	 { "SetInt32___contains__", (PyCFunction)(void(*)(void))_wrap_SetInt32___contains__, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32___contains__(self, x) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::value_type\n"
		"\n"
		""},
	 { "SetInt32___getitem__", (PyCFunction)(void(*)(void))_wrap_SetInt32___getitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32___getitem__(self, i) -> std::set< int >::value_type\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::set< int >::difference_type\n"
		"\n"
		""},
	 { "SetInt32_add", (PyCFunction)(void(*)(void))_wrap_SetInt32_add, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_add(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::value_type\n"
		"\n"
		""},
	 { "SetInt32_discard", (PyCFunction)(void(*)(void))_wrap_SetInt32_discard, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_discard(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::value_type\n"
		"\n"
		""},
	 { "new_SetInt32", _wrap_new_SetInt32, METH_VARARGS, "\n"
		"SetInt32(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::less< int > const &\n"
		"\n"
		"SetInt32()\n"
		"new_SetInt32(other) -> SetInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::set< int > const &\n"
		"\n"
		""},
	 { "SetInt32_empty", _wrap_SetInt32_empty, METH_O, "SetInt32_empty(self) -> bool"},
	 { "SetInt32_size", _wrap_SetInt32_size, METH_O, "SetInt32_size(self) -> std::set< int >::size_type"},
	 { "SetInt32_clear", _wrap_SetInt32_clear, METH_O, "SetInt32_clear(self)"},
	 { "SetInt32_swap", (PyCFunction)(void(*)(void))_wrap_SetInt32_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::set< int > &\n"
		"\n"
		""},
	 { "SetInt32_count", (PyCFunction)(void(*)(void))_wrap_SetInt32_count, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_count(self, x) -> std::set< int >::size_type\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::key_type const &\n"
		"\n"
		""},
	 { "SetInt32_begin", _wrap_SetInt32_begin, METH_O, "SetInt32_begin(self) -> std::set< int >::iterator"},
	 { "SetInt32_end", _wrap_SetInt32_end, METH_O, "SetInt32_end(self) -> std::set< int >::iterator"},
	 { "SetInt32_rbegin", _wrap_SetInt32_rbegin, METH_O, "SetInt32_rbegin(self) -> std::set< int >::reverse_iterator"},
	 { "SetInt32_rend", _wrap_SetInt32_rend, METH_O, "SetInt32_rend(self) -> std::set< int >::reverse_iterator"},
	 { "SetInt32_erase", _wrap_SetInt32_erase, METH_VARARGS, "\n"
		"SetInt32_erase(self, x) -> std::set< int >::size_type\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::key_type const &\n"
		"\n"
		"SetInt32_erase(self, pos)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::set< int >::iterator\n"
		"\n"
		"SetInt32_erase(self, first, last)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::set< int >::iterator\n"
		"last: std::set< int >::iterator\n"
		"\n"
		""},
	 { "SetInt32_find", (PyCFunction)(void(*)(void))_wrap_SetInt32_find, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_find(self, x) -> std::set< int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::key_type const &\n"
		"\n"
		""},
	 { "SetInt32_lower_bound", (PyCFunction)(void(*)(void))_wrap_SetInt32_lower_bound, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_lower_bound(self, x) -> std::set< int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::key_type const &\n"
		"\n"
		""},
	 { "SetInt32_upper_bound", (PyCFunction)(void(*)(void))_wrap_SetInt32_upper_bound, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_upper_bound(self, x) -> std::set< int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::key_type const &\n"
		"\n"
		""},
	 { "SetInt32_equal_range", (PyCFunction)(void(*)(void))_wrap_SetInt32_equal_range, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_equal_range(self, x) -> std::pair< std::set< int >::iterator,std::set< int >::iterator >\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::set< int >::key_type const &\n"
		"\n"
		""},
	 { "SetInt32_insert", (PyCFunction)(void(*)(void))_wrap_SetInt32_insert, METH_VARARGS|METH_KEYWORDS, "\n"
		"SetInt32_insert(self, __x) -> std::pair< std::set< int >::iterator,bool >\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"__x: std::set< int >::value_type const &\n"
		"\n"
		""},
	 { "delete_SetInt32", _wrap_delete_SetInt32, METH_O, "delete_SetInt32(self)"},
	 { "SetInt32_swigregister", SetInt32_swigregister, METH_O, NULL},
	 { "SetInt32_swiginit", SetInt32_swiginit, METH_VARARGS, NULL},
	 { "VectorBool_iterator", _wrap_VectorBool_iterator, METH_O, "VectorBool_iterator(self) -> SwigPyIterator"},
	 { "VectorBool___nonzero__", _wrap_VectorBool___nonzero__, METH_O, "VectorBool___nonzero__(self) -> bool"},
	 { "VectorBool___bool__", _wrap_VectorBool___bool__, METH_O, "VectorBool___bool__(self) -> bool"},
	 { "VectorBool___len__", _wrap_VectorBool___len__, METH_O, "VectorBool___len__(self) -> std::vector< bool >::size_type"},
	 { "VectorBool___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorBool___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorBool___getslice__(self, i, j) -> VectorBool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< bool >::difference_type\n"
		"j: std::vector< bool >::difference_type\n"
		"\n"
		""},
	 { "VectorBool___setslice__", _wrap_VectorBool___setslice__, METH_VARARGS, "\n"
		"VectorBool___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< bool >::difference_type\n"
		"j: std::vector< bool >::difference_type\n"
		"\n"
		"VectorBool___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< bool >::difference_type\n"
		"j: std::vector< bool >::difference_type\n"
		"v: std::vector< bool,std::allocator< bool > > const &\n"
		"\n"
		""},
	 { "VectorBool___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorBool___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorBool___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< bool >::difference_type\n"
		"j: std::vector< bool >::difference_type\n"
		"\n"
		""},
	 { "VectorBool___delitem__", _wrap_VectorBool___delitem__, METH_VARARGS, "\n"
		"VectorBool___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< bool >::difference_type\n"
		"\n"
		"VectorBool___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorBool___getitem__", _wrap_VectorBool___getitem__, METH_VARARGS, "\n"
		"VectorBool___getitem__(self, slice) -> VectorBool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorBool___getitem__(self, i) -> std::vector< bool >::value_type\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< bool >::difference_type\n"
		"\n"
		""},
	 { "VectorBool___setitem__", _wrap_VectorBool___setitem__, METH_VARARGS, "\n"
		"VectorBool___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< bool,std::allocator< bool > > const &\n"
		"\n"
		"VectorBool___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorBool___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< bool >::difference_type\n"
		"x: std::vector< bool >::value_type\n"
		"\n"
		""},
	 { "VectorBool_pop", _wrap_VectorBool_pop, METH_O, "VectorBool_pop(self) -> std::vector< bool >::value_type"},
	 { "VectorBool_append", (PyCFunction)(void(*)(void))_wrap_VectorBool_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorBool_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< bool >::value_type\n"
		"\n"
		""},
	 { "VectorBool_empty", _wrap_VectorBool_empty, METH_O, "VectorBool_empty(self) -> bool"},
	 { "VectorBool_size", _wrap_VectorBool_size, METH_O, "VectorBool_size(self) -> std::vector< bool >::size_type"},
	 { "VectorBool_swap", (PyCFunction)(void(*)(void))_wrap_VectorBool_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorBool_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< bool > &\n"
		"\n"
		""},
	 { "VectorBool_begin", _wrap_VectorBool_begin, METH_O, "VectorBool_begin(self) -> std::vector< bool >::iterator"},
	 { "VectorBool_end", _wrap_VectorBool_end, METH_O, "VectorBool_end(self) -> std::vector< bool >::iterator"},
	 { "VectorBool_rbegin", _wrap_VectorBool_rbegin, METH_O, "VectorBool_rbegin(self) -> std::vector< bool >::reverse_iterator"},
	 { "VectorBool_rend", _wrap_VectorBool_rend, METH_O, "VectorBool_rend(self) -> std::vector< bool >::reverse_iterator"},
	 { "VectorBool_clear", _wrap_VectorBool_clear, METH_O, "VectorBool_clear(self)"},
	 { "VectorBool_get_allocator", _wrap_VectorBool_get_allocator, METH_O, "VectorBool_get_allocator(self) -> std::vector< bool >::allocator_type"},
	 { "VectorBool_pop_back", _wrap_VectorBool_pop_back, METH_O, "VectorBool_pop_back(self)"},
	 { "VectorBool_erase", _wrap_VectorBool_erase, METH_VARARGS, "\n"
		"VectorBool_erase(self, pos) -> std::vector< bool >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< bool >::iterator\n"
		"\n"
		"VectorBool_erase(self, first, last) -> std::vector< bool >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< bool >::iterator\n"
		"last: std::vector< bool >::iterator\n"
		"\n"
		""},
	 { "new_VectorBool", _wrap_new_VectorBool, METH_VARARGS, "\n"
		"VectorBool()\n"
		"VectorBool(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< bool > const &\n"
		"\n"
		"VectorBool(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< bool >::size_type\n"
		"\n"
		"new_VectorBool(size, value) -> VectorBool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< bool >::size_type\n"
		"value: std::vector< bool >::value_type\n"
		"\n"
		""},
	 { "VectorBool_push_back", (PyCFunction)(void(*)(void))_wrap_VectorBool_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorBool_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< bool >::value_type\n"
		"\n"
		""},
	 { "VectorBool_front", _wrap_VectorBool_front, METH_O, "VectorBool_front(self) -> std::vector< bool >::value_type"},
	 { "VectorBool_back", _wrap_VectorBool_back, METH_O, "VectorBool_back(self) -> std::vector< bool >::value_type"},
	 { "VectorBool_assign", (PyCFunction)(void(*)(void))_wrap_VectorBool_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorBool_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< bool >::size_type\n"
		"x: std::vector< bool >::value_type\n"
		"\n"
		""},
	 { "VectorBool_resize", _wrap_VectorBool_resize, METH_VARARGS, "\n"
		"VectorBool_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< bool >::size_type\n"
		"\n"
		"VectorBool_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< bool >::size_type\n"
		"x: std::vector< bool >::value_type\n"
		"\n"
		""},
	 { "VectorBool_insert", _wrap_VectorBool_insert, METH_VARARGS, "\n"
		"VectorBool_insert(self, pos, x) -> std::vector< bool >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< bool >::iterator\n"
		"x: std::vector< bool >::value_type\n"
		"\n"
		"VectorBool_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< bool >::iterator\n"
		"n: std::vector< bool >::size_type\n"
		"x: std::vector< bool >::value_type\n"
		"\n"
		""},
	 { "VectorBool_reserve", (PyCFunction)(void(*)(void))_wrap_VectorBool_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorBool_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< bool >::size_type\n"
		"\n"
		""},
	 { "VectorBool_capacity", _wrap_VectorBool_capacity, METH_O, "VectorBool_capacity(self) -> std::vector< bool >::size_type"},
	 { "delete_VectorBool", _wrap_delete_VectorBool, METH_O, "delete_VectorBool(self)"},
	 { "VectorBool_swigregister", VectorBool_swigregister, METH_O, NULL},
	 { "VectorBool_swiginit", VectorBool_swiginit, METH_VARARGS, NULL},
	 { "VectorDouble_iterator", _wrap_VectorDouble_iterator, METH_O, "VectorDouble_iterator(self) -> SwigPyIterator"},
	 { "VectorDouble___nonzero__", _wrap_VectorDouble___nonzero__, METH_O, "VectorDouble___nonzero__(self) -> bool"},
	 { "VectorDouble___bool__", _wrap_VectorDouble___bool__, METH_O, "VectorDouble___bool__(self) -> bool"},
	 { "VectorDouble___len__", _wrap_VectorDouble___len__, METH_O, "VectorDouble___len__(self) -> std::vector< double >::size_type"},
	 { "VectorDouble___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorDouble___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble___getslice__(self, i, j) -> VectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< double >::difference_type\n"
		"j: std::vector< double >::difference_type\n"
		"\n"
		""},
	 { "VectorDouble___setslice__", _wrap_VectorDouble___setslice__, METH_VARARGS, "\n"
		"VectorDouble___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< double >::difference_type\n"
		"j: std::vector< double >::difference_type\n"
		"\n"
		"VectorDouble___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< double >::difference_type\n"
		"j: std::vector< double >::difference_type\n"
		"v: std::vector< double,std::allocator< double > > const &\n"
		"\n"
		""},
	 { "VectorDouble___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorDouble___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< double >::difference_type\n"
		"j: std::vector< double >::difference_type\n"
		"\n"
		""},
	 { "VectorDouble___delitem__", _wrap_VectorDouble___delitem__, METH_VARARGS, "\n"
		"VectorDouble___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< double >::difference_type\n"
		"\n"
		"VectorDouble___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorDouble___getitem__", _wrap_VectorDouble___getitem__, METH_VARARGS, "\n"
		"VectorDouble___getitem__(self, slice) -> VectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorDouble___getitem__(self, i) -> std::vector< double >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< double >::difference_type\n"
		"\n"
		""},
	 { "VectorDouble___setitem__", _wrap_VectorDouble___setitem__, METH_VARARGS, "\n"
		"VectorDouble___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< double,std::allocator< double > > const &\n"
		"\n"
		"VectorDouble___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorDouble___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< double >::difference_type\n"
		"x: std::vector< double >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_pop", _wrap_VectorDouble_pop, METH_O, "VectorDouble_pop(self) -> std::vector< double >::value_type"},
	 { "VectorDouble_append", (PyCFunction)(void(*)(void))_wrap_VectorDouble_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< double >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_empty", _wrap_VectorDouble_empty, METH_O, "VectorDouble_empty(self) -> bool"},
	 { "VectorDouble_size", _wrap_VectorDouble_size, METH_O, "VectorDouble_size(self) -> std::vector< double >::size_type"},
	 { "VectorDouble_swap", (PyCFunction)(void(*)(void))_wrap_VectorDouble_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< double > &\n"
		"\n"
		""},
	 { "VectorDouble_begin", _wrap_VectorDouble_begin, METH_O, "VectorDouble_begin(self) -> std::vector< double >::iterator"},
	 { "VectorDouble_end", _wrap_VectorDouble_end, METH_O, "VectorDouble_end(self) -> std::vector< double >::iterator"},
	 { "VectorDouble_rbegin", _wrap_VectorDouble_rbegin, METH_O, "VectorDouble_rbegin(self) -> std::vector< double >::reverse_iterator"},
	 { "VectorDouble_rend", _wrap_VectorDouble_rend, METH_O, "VectorDouble_rend(self) -> std::vector< double >::reverse_iterator"},
	 { "VectorDouble_clear", _wrap_VectorDouble_clear, METH_O, "VectorDouble_clear(self)"},
	 { "VectorDouble_get_allocator", _wrap_VectorDouble_get_allocator, METH_O, "VectorDouble_get_allocator(self) -> std::vector< double >::allocator_type"},
	 { "VectorDouble_pop_back", _wrap_VectorDouble_pop_back, METH_O, "VectorDouble_pop_back(self)"},
	 { "VectorDouble_erase", _wrap_VectorDouble_erase, METH_VARARGS, "\n"
		"VectorDouble_erase(self, pos) -> std::vector< double >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< double >::iterator\n"
		"\n"
		"VectorDouble_erase(self, first, last) -> std::vector< double >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< double >::iterator\n"
		"last: std::vector< double >::iterator\n"
		"\n"
		""},
	 { "new_VectorDouble", _wrap_new_VectorDouble, METH_VARARGS, "\n"
		"VectorDouble()\n"
		"VectorDouble(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< double > const &\n"
		"\n"
		"VectorDouble(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< double >::size_type\n"
		"\n"
		"new_VectorDouble(size, value) -> VectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< double >::size_type\n"
		"value: std::vector< double >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_push_back", (PyCFunction)(void(*)(void))_wrap_VectorDouble_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< double >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_front", _wrap_VectorDouble_front, METH_O, "VectorDouble_front(self) -> std::vector< double >::value_type const &"},
	 { "VectorDouble_back", _wrap_VectorDouble_back, METH_O, "VectorDouble_back(self) -> std::vector< double >::value_type const &"},
	 { "VectorDouble_assign", (PyCFunction)(void(*)(void))_wrap_VectorDouble_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< double >::size_type\n"
		"x: std::vector< double >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_resize", _wrap_VectorDouble_resize, METH_VARARGS, "\n"
		"VectorDouble_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< double >::size_type\n"
		"\n"
		"VectorDouble_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< double >::size_type\n"
		"x: std::vector< double >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_insert", _wrap_VectorDouble_insert, METH_VARARGS, "\n"
		"VectorDouble_insert(self, pos, x) -> std::vector< double >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< double >::iterator\n"
		"x: std::vector< double >::value_type const &\n"
		"\n"
		"VectorDouble_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< double >::iterator\n"
		"n: std::vector< double >::size_type\n"
		"x: std::vector< double >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_reserve", (PyCFunction)(void(*)(void))_wrap_VectorDouble_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< double >::size_type\n"
		"\n"
		""},
	 { "VectorDouble_capacity", _wrap_VectorDouble_capacity, METH_O, "VectorDouble_capacity(self) -> std::vector< double >::size_type"},
	 { "delete_VectorDouble", _wrap_delete_VectorDouble, METH_O, "delete_VectorDouble(self)"},
	 { "VectorDouble_swigregister", VectorDouble_swigregister, METH_O, NULL},
	 { "VectorDouble_swiginit", VectorDouble_swiginit, METH_VARARGS, NULL},
	 { "VectorInt16_iterator", _wrap_VectorInt16_iterator, METH_O, "VectorInt16_iterator(self) -> SwigPyIterator"},
	 { "VectorInt16___nonzero__", _wrap_VectorInt16___nonzero__, METH_O, "VectorInt16___nonzero__(self) -> bool"},
	 { "VectorInt16___bool__", _wrap_VectorInt16___bool__, METH_O, "VectorInt16___bool__(self) -> bool"},
	 { "VectorInt16___len__", _wrap_VectorInt16___len__, METH_O, "VectorInt16___len__(self) -> std::vector< short >::size_type"},
	 { "VectorInt16___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorInt16___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt16___getslice__(self, i, j) -> VectorInt16\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< short >::difference_type\n"
		"j: std::vector< short >::difference_type\n"
		"\n"
		""},
	 { "VectorInt16___setslice__", _wrap_VectorInt16___setslice__, METH_VARARGS, "\n"
		"VectorInt16___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< short >::difference_type\n"
		"j: std::vector< short >::difference_type\n"
		"\n"
		"VectorInt16___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< short >::difference_type\n"
		"j: std::vector< short >::difference_type\n"
		"v: std::vector< short,std::allocator< short > > const &\n"
		"\n"
		""},
	 { "VectorInt16___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorInt16___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt16___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< short >::difference_type\n"
		"j: std::vector< short >::difference_type\n"
		"\n"
		""},
	 { "VectorInt16___delitem__", _wrap_VectorInt16___delitem__, METH_VARARGS, "\n"
		"VectorInt16___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< short >::difference_type\n"
		"\n"
		"VectorInt16___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorInt16___getitem__", _wrap_VectorInt16___getitem__, METH_VARARGS, "\n"
		"VectorInt16___getitem__(self, slice) -> VectorInt16\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorInt16___getitem__(self, i) -> std::vector< short >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< short >::difference_type\n"
		"\n"
		""},
	 { "VectorInt16___setitem__", _wrap_VectorInt16___setitem__, METH_VARARGS, "\n"
		"VectorInt16___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< short,std::allocator< short > > const &\n"
		"\n"
		"VectorInt16___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorInt16___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< short >::difference_type\n"
		"x: std::vector< short >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt16_pop", _wrap_VectorInt16_pop, METH_O, "VectorInt16_pop(self) -> std::vector< short >::value_type"},
	 { "VectorInt16_append", (PyCFunction)(void(*)(void))_wrap_VectorInt16_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt16_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< short >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt16_empty", _wrap_VectorInt16_empty, METH_O, "VectorInt16_empty(self) -> bool"},
	 { "VectorInt16_size", _wrap_VectorInt16_size, METH_O, "VectorInt16_size(self) -> std::vector< short >::size_type"},
	 { "VectorInt16_swap", (PyCFunction)(void(*)(void))_wrap_VectorInt16_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt16_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< short > &\n"
		"\n"
		""},
	 { "VectorInt16_begin", _wrap_VectorInt16_begin, METH_O, "VectorInt16_begin(self) -> std::vector< short >::iterator"},
	 { "VectorInt16_end", _wrap_VectorInt16_end, METH_O, "VectorInt16_end(self) -> std::vector< short >::iterator"},
	 { "VectorInt16_rbegin", _wrap_VectorInt16_rbegin, METH_O, "VectorInt16_rbegin(self) -> std::vector< short >::reverse_iterator"},
	 { "VectorInt16_rend", _wrap_VectorInt16_rend, METH_O, "VectorInt16_rend(self) -> std::vector< short >::reverse_iterator"},
	 { "VectorInt16_clear", _wrap_VectorInt16_clear, METH_O, "VectorInt16_clear(self)"},
	 { "VectorInt16_get_allocator", _wrap_VectorInt16_get_allocator, METH_O, "VectorInt16_get_allocator(self) -> std::vector< short >::allocator_type"},
	 { "VectorInt16_pop_back", _wrap_VectorInt16_pop_back, METH_O, "VectorInt16_pop_back(self)"},
	 { "VectorInt16_erase", _wrap_VectorInt16_erase, METH_VARARGS, "\n"
		"VectorInt16_erase(self, pos) -> std::vector< short >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< short >::iterator\n"
		"\n"
		"VectorInt16_erase(self, first, last) -> std::vector< short >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< short >::iterator\n"
		"last: std::vector< short >::iterator\n"
		"\n"
		""},
	 { "new_VectorInt16", _wrap_new_VectorInt16, METH_VARARGS, "\n"
		"VectorInt16()\n"
		"VectorInt16(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< short > const &\n"
		"\n"
		"VectorInt16(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< short >::size_type\n"
		"\n"
		"new_VectorInt16(size, value) -> VectorInt16\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< short >::size_type\n"
		"value: std::vector< short >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt16_push_back", (PyCFunction)(void(*)(void))_wrap_VectorInt16_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt16_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< short >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt16_front", _wrap_VectorInt16_front, METH_O, "VectorInt16_front(self) -> std::vector< short >::value_type const &"},
	 { "VectorInt16_back", _wrap_VectorInt16_back, METH_O, "VectorInt16_back(self) -> std::vector< short >::value_type const &"},
	 { "VectorInt16_assign", (PyCFunction)(void(*)(void))_wrap_VectorInt16_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt16_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< short >::size_type\n"
		"x: std::vector< short >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt16_resize", _wrap_VectorInt16_resize, METH_VARARGS, "\n"
		"VectorInt16_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< short >::size_type\n"
		"\n"
		"VectorInt16_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< short >::size_type\n"
		"x: std::vector< short >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt16_insert", _wrap_VectorInt16_insert, METH_VARARGS, "\n"
		"VectorInt16_insert(self, pos, x) -> std::vector< short >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< short >::iterator\n"
		"x: std::vector< short >::value_type const &\n"
		"\n"
		"VectorInt16_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< short >::iterator\n"
		"n: std::vector< short >::size_type\n"
		"x: std::vector< short >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt16_reserve", (PyCFunction)(void(*)(void))_wrap_VectorInt16_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt16_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< short >::size_type\n"
		"\n"
		""},
	 { "VectorInt16_capacity", _wrap_VectorInt16_capacity, METH_O, "VectorInt16_capacity(self) -> std::vector< short >::size_type"},
	 { "delete_VectorInt16", _wrap_delete_VectorInt16, METH_O, "delete_VectorInt16(self)"},
	 { "VectorInt16_swigregister", VectorInt16_swigregister, METH_O, NULL},
	 { "VectorInt16_swiginit", VectorInt16_swiginit, METH_VARARGS, NULL},
	 { "VectorInt32_iterator", _wrap_VectorInt32_iterator, METH_O, "VectorInt32_iterator(self) -> SwigPyIterator"},
	 { "VectorInt32___nonzero__", _wrap_VectorInt32___nonzero__, METH_O, "VectorInt32___nonzero__(self) -> bool"},
	 { "VectorInt32___bool__", _wrap_VectorInt32___bool__, METH_O, "VectorInt32___bool__(self) -> bool"},
	 { "VectorInt32___len__", _wrap_VectorInt32___len__, METH_O, "VectorInt32___len__(self) -> std::vector< int >::size_type"},
	 { "VectorInt32___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorInt32___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt32___getslice__(self, i, j) -> VectorInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< int >::difference_type\n"
		"j: std::vector< int >::difference_type\n"
		"\n"
		""},
	 { "VectorInt32___setslice__", _wrap_VectorInt32___setslice__, METH_VARARGS, "\n"
		"VectorInt32___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< int >::difference_type\n"
		"j: std::vector< int >::difference_type\n"
		"\n"
		"VectorInt32___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< int >::difference_type\n"
		"j: std::vector< int >::difference_type\n"
		"v: std::vector< int,std::allocator< int > > const &\n"
		"\n"
		""},
	 { "VectorInt32___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorInt32___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt32___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< int >::difference_type\n"
		"j: std::vector< int >::difference_type\n"
		"\n"
		""},
	 { "VectorInt32___delitem__", _wrap_VectorInt32___delitem__, METH_VARARGS, "\n"
		"VectorInt32___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< int >::difference_type\n"
		"\n"
		"VectorInt32___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorInt32___getitem__", _wrap_VectorInt32___getitem__, METH_VARARGS, "\n"
		"VectorInt32___getitem__(self, slice) -> VectorInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorInt32___getitem__(self, i) -> std::vector< int >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< int >::difference_type\n"
		"\n"
		""},
	 { "VectorInt32___setitem__", _wrap_VectorInt32___setitem__, METH_VARARGS, "\n"
		"VectorInt32___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< int,std::allocator< int > > const &\n"
		"\n"
		"VectorInt32___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorInt32___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< int >::difference_type\n"
		"x: std::vector< int >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt32_pop", _wrap_VectorInt32_pop, METH_O, "VectorInt32_pop(self) -> std::vector< int >::value_type"},
	 { "VectorInt32_append", (PyCFunction)(void(*)(void))_wrap_VectorInt32_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt32_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< int >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt32_empty", _wrap_VectorInt32_empty, METH_O, "VectorInt32_empty(self) -> bool"},
	 { "VectorInt32_size", _wrap_VectorInt32_size, METH_O, "VectorInt32_size(self) -> std::vector< int >::size_type"},
	 { "VectorInt32_swap", (PyCFunction)(void(*)(void))_wrap_VectorInt32_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt32_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< int > &\n"
		"\n"
		""},
	 { "VectorInt32_begin", _wrap_VectorInt32_begin, METH_O, "VectorInt32_begin(self) -> std::vector< int >::iterator"},
	 { "VectorInt32_end", _wrap_VectorInt32_end, METH_O, "VectorInt32_end(self) -> std::vector< int >::iterator"},
	 { "VectorInt32_rbegin", _wrap_VectorInt32_rbegin, METH_O, "VectorInt32_rbegin(self) -> std::vector< int >::reverse_iterator"},
	 { "VectorInt32_rend", _wrap_VectorInt32_rend, METH_O, "VectorInt32_rend(self) -> std::vector< int >::reverse_iterator"},
	 { "VectorInt32_clear", _wrap_VectorInt32_clear, METH_O, "VectorInt32_clear(self)"},
	 { "VectorInt32_get_allocator", _wrap_VectorInt32_get_allocator, METH_O, "VectorInt32_get_allocator(self) -> std::vector< int >::allocator_type"},
	 { "VectorInt32_pop_back", _wrap_VectorInt32_pop_back, METH_O, "VectorInt32_pop_back(self)"},
	 { "VectorInt32_erase", _wrap_VectorInt32_erase, METH_VARARGS, "\n"
		"VectorInt32_erase(self, pos) -> std::vector< int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< int >::iterator\n"
		"\n"
		"VectorInt32_erase(self, first, last) -> std::vector< int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< int >::iterator\n"
		"last: std::vector< int >::iterator\n"
		"\n"
		""},
	 { "new_VectorInt32", _wrap_new_VectorInt32, METH_VARARGS, "\n"
		"VectorInt32()\n"
		"VectorInt32(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< int > const &\n"
		"\n"
		"VectorInt32(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< int >::size_type\n"
		"\n"
		"new_VectorInt32(size, value) -> VectorInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< int >::size_type\n"
		"value: std::vector< int >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt32_push_back", (PyCFunction)(void(*)(void))_wrap_VectorInt32_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt32_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< int >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt32_front", _wrap_VectorInt32_front, METH_O, "VectorInt32_front(self) -> std::vector< int >::value_type const &"},
	 { "VectorInt32_back", _wrap_VectorInt32_back, METH_O, "VectorInt32_back(self) -> std::vector< int >::value_type const &"},
	 { "VectorInt32_assign", (PyCFunction)(void(*)(void))_wrap_VectorInt32_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt32_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< int >::size_type\n"
		"x: std::vector< int >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt32_resize", _wrap_VectorInt32_resize, METH_VARARGS, "\n"
		"VectorInt32_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< int >::size_type\n"
		"\n"
		"VectorInt32_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< int >::size_type\n"
		"x: std::vector< int >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt32_insert", _wrap_VectorInt32_insert, METH_VARARGS, "\n"
		"VectorInt32_insert(self, pos, x) -> std::vector< int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< int >::iterator\n"
		"x: std::vector< int >::value_type const &\n"
		"\n"
		"VectorInt32_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< int >::iterator\n"
		"n: std::vector< int >::size_type\n"
		"x: std::vector< int >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt32_reserve", (PyCFunction)(void(*)(void))_wrap_VectorInt32_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt32_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< int >::size_type\n"
		"\n"
		""},
	 { "VectorInt32_capacity", _wrap_VectorInt32_capacity, METH_O, "VectorInt32_capacity(self) -> std::vector< int >::size_type"},
	 { "delete_VectorInt32", _wrap_delete_VectorInt32, METH_O, "delete_VectorInt32(self)"},
	 { "VectorInt32_swigregister", VectorInt32_swigregister, METH_O, NULL},
	 { "VectorInt32_swiginit", VectorInt32_swiginit, METH_VARARGS, NULL},
	 { "VectorInt64_iterator", _wrap_VectorInt64_iterator, METH_O, "VectorInt64_iterator(self) -> SwigPyIterator"},
	 { "VectorInt64___nonzero__", _wrap_VectorInt64___nonzero__, METH_O, "VectorInt64___nonzero__(self) -> bool"},
	 { "VectorInt64___bool__", _wrap_VectorInt64___bool__, METH_O, "VectorInt64___bool__(self) -> bool"},
	 { "VectorInt64___len__", _wrap_VectorInt64___len__, METH_O, "VectorInt64___len__(self) -> std::vector< long long >::size_type"},
	 { "VectorInt64___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorInt64___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt64___getslice__(self, i, j) -> VectorInt64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< long long >::difference_type\n"
		"j: std::vector< long long >::difference_type\n"
		"\n"
		""},
	 { "VectorInt64___setslice__", _wrap_VectorInt64___setslice__, METH_VARARGS, "\n"
		"VectorInt64___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< long long >::difference_type\n"
		"j: std::vector< long long >::difference_type\n"
		"\n"
		"VectorInt64___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< long long >::difference_type\n"
		"j: std::vector< long long >::difference_type\n"
		"v: std::vector< long long,std::allocator< long long > > const &\n"
		"\n"
		""},
	 { "VectorInt64___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorInt64___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt64___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< long long >::difference_type\n"
		"j: std::vector< long long >::difference_type\n"
		"\n"
		""},
	 { "VectorInt64___delitem__", _wrap_VectorInt64___delitem__, METH_VARARGS, "\n"
		"VectorInt64___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< long long >::difference_type\n"
		"\n"
		"VectorInt64___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorInt64___getitem__", _wrap_VectorInt64___getitem__, METH_VARARGS, "\n"
		"VectorInt64___getitem__(self, slice) -> VectorInt64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorInt64___getitem__(self, i) -> std::vector< long long >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< long long >::difference_type\n"
		"\n"
		""},
	 { "VectorInt64___setitem__", _wrap_VectorInt64___setitem__, METH_VARARGS, "\n"
		"VectorInt64___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< long long,std::allocator< long long > > const &\n"
		"\n"
		"VectorInt64___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorInt64___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< long long >::difference_type\n"
		"x: std::vector< long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt64_pop", _wrap_VectorInt64_pop, METH_O, "VectorInt64_pop(self) -> std::vector< long long >::value_type"},
	 { "VectorInt64_append", (PyCFunction)(void(*)(void))_wrap_VectorInt64_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt64_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt64_empty", _wrap_VectorInt64_empty, METH_O, "VectorInt64_empty(self) -> bool"},
	 { "VectorInt64_size", _wrap_VectorInt64_size, METH_O, "VectorInt64_size(self) -> std::vector< long long >::size_type"},
	 { "VectorInt64_swap", (PyCFunction)(void(*)(void))_wrap_VectorInt64_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt64_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< long long > &\n"
		"\n"
		""},
	 { "VectorInt64_begin", _wrap_VectorInt64_begin, METH_O, "VectorInt64_begin(self) -> std::vector< long long >::iterator"},
	 { "VectorInt64_end", _wrap_VectorInt64_end, METH_O, "VectorInt64_end(self) -> std::vector< long long >::iterator"},
	 { "VectorInt64_rbegin", _wrap_VectorInt64_rbegin, METH_O, "VectorInt64_rbegin(self) -> std::vector< long long >::reverse_iterator"},
	 { "VectorInt64_rend", _wrap_VectorInt64_rend, METH_O, "VectorInt64_rend(self) -> std::vector< long long >::reverse_iterator"},
	 { "VectorInt64_clear", _wrap_VectorInt64_clear, METH_O, "VectorInt64_clear(self)"},
	 { "VectorInt64_get_allocator", _wrap_VectorInt64_get_allocator, METH_O, "VectorInt64_get_allocator(self) -> std::vector< long long >::allocator_type"},
	 { "VectorInt64_pop_back", _wrap_VectorInt64_pop_back, METH_O, "VectorInt64_pop_back(self)"},
	 { "VectorInt64_erase", _wrap_VectorInt64_erase, METH_VARARGS, "\n"
		"VectorInt64_erase(self, pos) -> std::vector< long long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< long long >::iterator\n"
		"\n"
		"VectorInt64_erase(self, first, last) -> std::vector< long long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< long long >::iterator\n"
		"last: std::vector< long long >::iterator\n"
		"\n"
		""},
	 { "new_VectorInt64", _wrap_new_VectorInt64, METH_VARARGS, "\n"
		"VectorInt64()\n"
		"VectorInt64(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< long long > const &\n"
		"\n"
		"VectorInt64(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< long long >::size_type\n"
		"\n"
		"new_VectorInt64(size, value) -> VectorInt64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< long long >::size_type\n"
		"value: std::vector< long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt64_push_back", (PyCFunction)(void(*)(void))_wrap_VectorInt64_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt64_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt64_front", _wrap_VectorInt64_front, METH_O, "VectorInt64_front(self) -> std::vector< long long >::value_type const &"},
	 { "VectorInt64_back", _wrap_VectorInt64_back, METH_O, "VectorInt64_back(self) -> std::vector< long long >::value_type const &"},
	 { "VectorInt64_assign", (PyCFunction)(void(*)(void))_wrap_VectorInt64_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt64_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< long long >::size_type\n"
		"x: std::vector< long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt64_resize", _wrap_VectorInt64_resize, METH_VARARGS, "\n"
		"VectorInt64_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< long long >::size_type\n"
		"\n"
		"VectorInt64_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< long long >::size_type\n"
		"x: std::vector< long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt64_insert", _wrap_VectorInt64_insert, METH_VARARGS, "\n"
		"VectorInt64_insert(self, pos, x) -> std::vector< long long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< long long >::iterator\n"
		"x: std::vector< long long >::value_type const &\n"
		"\n"
		"VectorInt64_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< long long >::iterator\n"
		"n: std::vector< long long >::size_type\n"
		"x: std::vector< long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorInt64_reserve", (PyCFunction)(void(*)(void))_wrap_VectorInt64_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorInt64_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< long long >::size_type\n"
		"\n"
		""},
	 { "VectorInt64_capacity", _wrap_VectorInt64_capacity, METH_O, "VectorInt64_capacity(self) -> std::vector< long long >::size_type"},
	 { "delete_VectorInt64", _wrap_delete_VectorInt64, METH_O, "delete_VectorInt64(self)"},
	 { "VectorInt64_swigregister", VectorInt64_swigregister, METH_O, NULL},
	 { "VectorInt64_swiginit", VectorInt64_swiginit, METH_VARARGS, NULL},
	 { "VectorUint32_iterator", _wrap_VectorUint32_iterator, METH_O, "VectorUint32_iterator(self) -> SwigPyIterator"},
	 { "VectorUint32___nonzero__", _wrap_VectorUint32___nonzero__, METH_O, "VectorUint32___nonzero__(self) -> bool"},
	 { "VectorUint32___bool__", _wrap_VectorUint32___bool__, METH_O, "VectorUint32___bool__(self) -> bool"},
	 { "VectorUint32___len__", _wrap_VectorUint32___len__, METH_O, "VectorUint32___len__(self) -> std::vector< unsigned int >::size_type"},
	 { "VectorUint32___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorUint32___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32___getslice__(self, i, j) -> VectorUint32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned int >::difference_type\n"
		"j: std::vector< unsigned int >::difference_type\n"
		"\n"
		""},
	 { "VectorUint32___setslice__", _wrap_VectorUint32___setslice__, METH_VARARGS, "\n"
		"VectorUint32___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned int >::difference_type\n"
		"j: std::vector< unsigned int >::difference_type\n"
		"\n"
		"VectorUint32___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned int >::difference_type\n"
		"j: std::vector< unsigned int >::difference_type\n"
		"v: std::vector< unsigned int,std::allocator< unsigned int > > const &\n"
		"\n"
		""},
	 { "VectorUint32___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorUint32___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned int >::difference_type\n"
		"j: std::vector< unsigned int >::difference_type\n"
		"\n"
		""},
	 { "VectorUint32___delitem__", _wrap_VectorUint32___delitem__, METH_VARARGS, "\n"
		"VectorUint32___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned int >::difference_type\n"
		"\n"
		"VectorUint32___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorUint32___getitem__", _wrap_VectorUint32___getitem__, METH_VARARGS, "\n"
		"VectorUint32___getitem__(self, slice) -> VectorUint32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorUint32___getitem__(self, i) -> std::vector< unsigned int >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned int >::difference_type\n"
		"\n"
		""},
	 { "VectorUint32___setitem__", _wrap_VectorUint32___setitem__, METH_VARARGS, "\n"
		"VectorUint32___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< unsigned int,std::allocator< unsigned int > > const &\n"
		"\n"
		"VectorUint32___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorUint32___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned int >::difference_type\n"
		"x: std::vector< unsigned int >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_pop", _wrap_VectorUint32_pop, METH_O, "VectorUint32_pop(self) -> std::vector< unsigned int >::value_type"},
	 { "VectorUint32_append", (PyCFunction)(void(*)(void))_wrap_VectorUint32_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< unsigned int >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_empty", _wrap_VectorUint32_empty, METH_O, "VectorUint32_empty(self) -> bool"},
	 { "VectorUint32_size", _wrap_VectorUint32_size, METH_O, "VectorUint32_size(self) -> std::vector< unsigned int >::size_type"},
	 { "VectorUint32_swap", (PyCFunction)(void(*)(void))_wrap_VectorUint32_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< unsigned int > &\n"
		"\n"
		""},
	 { "VectorUint32_begin", _wrap_VectorUint32_begin, METH_O, "VectorUint32_begin(self) -> std::vector< unsigned int >::iterator"},
	 { "VectorUint32_end", _wrap_VectorUint32_end, METH_O, "VectorUint32_end(self) -> std::vector< unsigned int >::iterator"},
	 { "VectorUint32_rbegin", _wrap_VectorUint32_rbegin, METH_O, "VectorUint32_rbegin(self) -> std::vector< unsigned int >::reverse_iterator"},
	 { "VectorUint32_rend", _wrap_VectorUint32_rend, METH_O, "VectorUint32_rend(self) -> std::vector< unsigned int >::reverse_iterator"},
	 { "VectorUint32_clear", _wrap_VectorUint32_clear, METH_O, "VectorUint32_clear(self)"},
	 { "VectorUint32_get_allocator", _wrap_VectorUint32_get_allocator, METH_O, "VectorUint32_get_allocator(self) -> std::vector< unsigned int >::allocator_type"},
	 { "VectorUint32_pop_back", _wrap_VectorUint32_pop_back, METH_O, "VectorUint32_pop_back(self)"},
	 { "VectorUint32_erase", _wrap_VectorUint32_erase, METH_VARARGS, "\n"
		"VectorUint32_erase(self, pos) -> std::vector< unsigned int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned int >::iterator\n"
		"\n"
		"VectorUint32_erase(self, first, last) -> std::vector< unsigned int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< unsigned int >::iterator\n"
		"last: std::vector< unsigned int >::iterator\n"
		"\n"
		""},
	 { "new_VectorUint32", _wrap_new_VectorUint32, METH_VARARGS, "\n"
		"VectorUint32()\n"
		"VectorUint32(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< unsigned int > const &\n"
		"\n"
		"VectorUint32(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< unsigned int >::size_type\n"
		"\n"
		"new_VectorUint32(size, value) -> VectorUint32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< unsigned int >::size_type\n"
		"value: std::vector< unsigned int >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_push_back", (PyCFunction)(void(*)(void))_wrap_VectorUint32_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< unsigned int >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_front", _wrap_VectorUint32_front, METH_O, "VectorUint32_front(self) -> std::vector< unsigned int >::value_type const &"},
	 { "VectorUint32_back", _wrap_VectorUint32_back, METH_O, "VectorUint32_back(self) -> std::vector< unsigned int >::value_type const &"},
	 { "VectorUint32_assign", (PyCFunction)(void(*)(void))_wrap_VectorUint32_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< unsigned int >::size_type\n"
		"x: std::vector< unsigned int >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_resize", _wrap_VectorUint32_resize, METH_VARARGS, "\n"
		"VectorUint32_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< unsigned int >::size_type\n"
		"\n"
		"VectorUint32_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< unsigned int >::size_type\n"
		"x: std::vector< unsigned int >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_insert", _wrap_VectorUint32_insert, METH_VARARGS, "\n"
		"VectorUint32_insert(self, pos, x) -> std::vector< unsigned int >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned int >::iterator\n"
		"x: std::vector< unsigned int >::value_type const &\n"
		"\n"
		"VectorUint32_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned int >::iterator\n"
		"n: std::vector< unsigned int >::size_type\n"
		"x: std::vector< unsigned int >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_reserve", (PyCFunction)(void(*)(void))_wrap_VectorUint32_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< unsigned int >::size_type\n"
		"\n"
		""},
	 { "VectorUint32_capacity", _wrap_VectorUint32_capacity, METH_O, "VectorUint32_capacity(self) -> std::vector< unsigned int >::size_type"},
	 { "delete_VectorUint32", _wrap_delete_VectorUint32, METH_O, "delete_VectorUint32(self)"},
	 { "VectorUint32_swigregister", VectorUint32_swigregister, METH_O, NULL},
	 { "VectorUint32_swiginit", VectorUint32_swiginit, METH_VARARGS, NULL},
	 { "VectorUint64_iterator", _wrap_VectorUint64_iterator, METH_O, "VectorUint64_iterator(self) -> SwigPyIterator"},
	 { "VectorUint64___nonzero__", _wrap_VectorUint64___nonzero__, METH_O, "VectorUint64___nonzero__(self) -> bool"},
	 { "VectorUint64___bool__", _wrap_VectorUint64___bool__, METH_O, "VectorUint64___bool__(self) -> bool"},
	 { "VectorUint64___len__", _wrap_VectorUint64___len__, METH_O, "VectorUint64___len__(self) -> std::vector< unsigned long >::size_type"},
	 { "VectorUint64___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorUint64___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint64___getslice__(self, i, j) -> VectorUint64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long >::difference_type\n"
		"j: std::vector< unsigned long >::difference_type\n"
		"\n"
		""},
	 { "VectorUint64___setslice__", _wrap_VectorUint64___setslice__, METH_VARARGS, "\n"
		"VectorUint64___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long >::difference_type\n"
		"j: std::vector< unsigned long >::difference_type\n"
		"\n"
		"VectorUint64___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long >::difference_type\n"
		"j: std::vector< unsigned long >::difference_type\n"
		"v: std::vector< unsigned long,std::allocator< unsigned long > > const &\n"
		"\n"
		""},
	 { "VectorUint64___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorUint64___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint64___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long >::difference_type\n"
		"j: std::vector< unsigned long >::difference_type\n"
		"\n"
		""},
	 { "VectorUint64___delitem__", _wrap_VectorUint64___delitem__, METH_VARARGS, "\n"
		"VectorUint64___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long >::difference_type\n"
		"\n"
		"VectorUint64___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorUint64___getitem__", _wrap_VectorUint64___getitem__, METH_VARARGS, "\n"
		"VectorUint64___getitem__(self, slice) -> VectorUint64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorUint64___getitem__(self, i) -> std::vector< unsigned long >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long >::difference_type\n"
		"\n"
		""},
	 { "VectorUint64___setitem__", _wrap_VectorUint64___setitem__, METH_VARARGS, "\n"
		"VectorUint64___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< unsigned long,std::allocator< unsigned long > > const &\n"
		"\n"
		"VectorUint64___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorUint64___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long >::difference_type\n"
		"x: std::vector< unsigned long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint64_pop", _wrap_VectorUint64_pop, METH_O, "VectorUint64_pop(self) -> std::vector< unsigned long >::value_type"},
	 { "VectorUint64_append", (PyCFunction)(void(*)(void))_wrap_VectorUint64_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint64_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< unsigned long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint64_empty", _wrap_VectorUint64_empty, METH_O, "VectorUint64_empty(self) -> bool"},
	 { "VectorUint64_size", _wrap_VectorUint64_size, METH_O, "VectorUint64_size(self) -> std::vector< unsigned long >::size_type"},
	 { "VectorUint64_swap", (PyCFunction)(void(*)(void))_wrap_VectorUint64_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint64_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< unsigned long > &\n"
		"\n"
		""},
	 { "VectorUint64_begin", _wrap_VectorUint64_begin, METH_O, "VectorUint64_begin(self) -> std::vector< unsigned long >::iterator"},
	 { "VectorUint64_end", _wrap_VectorUint64_end, METH_O, "VectorUint64_end(self) -> std::vector< unsigned long >::iterator"},
	 { "VectorUint64_rbegin", _wrap_VectorUint64_rbegin, METH_O, "VectorUint64_rbegin(self) -> std::vector< unsigned long >::reverse_iterator"},
	 { "VectorUint64_rend", _wrap_VectorUint64_rend, METH_O, "VectorUint64_rend(self) -> std::vector< unsigned long >::reverse_iterator"},
	 { "VectorUint64_clear", _wrap_VectorUint64_clear, METH_O, "VectorUint64_clear(self)"},
	 { "VectorUint64_get_allocator", _wrap_VectorUint64_get_allocator, METH_O, "VectorUint64_get_allocator(self) -> std::vector< unsigned long >::allocator_type"},
	 { "VectorUint64_pop_back", _wrap_VectorUint64_pop_back, METH_O, "VectorUint64_pop_back(self)"},
	 { "VectorUint64_erase", _wrap_VectorUint64_erase, METH_VARARGS, "\n"
		"VectorUint64_erase(self, pos) -> std::vector< unsigned long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned long >::iterator\n"
		"\n"
		"VectorUint64_erase(self, first, last) -> std::vector< unsigned long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< unsigned long >::iterator\n"
		"last: std::vector< unsigned long >::iterator\n"
		"\n"
		""},
	 { "new_VectorUint64", _wrap_new_VectorUint64, METH_VARARGS, "\n"
		"VectorUint64()\n"
		"VectorUint64(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< unsigned long > const &\n"
		"\n"
		"VectorUint64(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< unsigned long >::size_type\n"
		"\n"
		"new_VectorUint64(size, value) -> VectorUint64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< unsigned long >::size_type\n"
		"value: std::vector< unsigned long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint64_push_back", (PyCFunction)(void(*)(void))_wrap_VectorUint64_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint64_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< unsigned long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint64_front", _wrap_VectorUint64_front, METH_O, "VectorUint64_front(self) -> std::vector< unsigned long >::value_type const &"},
	 { "VectorUint64_back", _wrap_VectorUint64_back, METH_O, "VectorUint64_back(self) -> std::vector< unsigned long >::value_type const &"},
	 { "VectorUint64_assign", (PyCFunction)(void(*)(void))_wrap_VectorUint64_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint64_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< unsigned long >::size_type\n"
		"x: std::vector< unsigned long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint64_resize", _wrap_VectorUint64_resize, METH_VARARGS, "\n"
		"VectorUint64_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< unsigned long >::size_type\n"
		"\n"
		"VectorUint64_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< unsigned long >::size_type\n"
		"x: std::vector< unsigned long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint64_insert", _wrap_VectorUint64_insert, METH_VARARGS, "\n"
		"VectorUint64_insert(self, pos, x) -> std::vector< unsigned long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned long >::iterator\n"
		"x: std::vector< unsigned long >::value_type const &\n"
		"\n"
		"VectorUint64_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned long >::iterator\n"
		"n: std::vector< unsigned long >::size_type\n"
		"x: std::vector< unsigned long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint64_reserve", (PyCFunction)(void(*)(void))_wrap_VectorUint64_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint64_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< unsigned long >::size_type\n"
		"\n"
		""},
	 { "VectorUint64_capacity", _wrap_VectorUint64_capacity, METH_O, "VectorUint64_capacity(self) -> std::vector< unsigned long >::size_type"},
	 { "delete_VectorUint64", _wrap_delete_VectorUint64, METH_O, "delete_VectorUint64(self)"},
	 { "VectorUint64_swigregister", VectorUint64_swigregister, METH_O, NULL},
	 { "VectorUint64_swiginit", VectorUint64_swiginit, METH_VARARGS, NULL},
	 { "VectorUint128_iterator", _wrap_VectorUint128_iterator, METH_O, "VectorUint128_iterator(self) -> SwigPyIterator"},
	 { "VectorUint128___nonzero__", _wrap_VectorUint128___nonzero__, METH_O, "VectorUint128___nonzero__(self) -> bool"},
	 { "VectorUint128___bool__", _wrap_VectorUint128___bool__, METH_O, "VectorUint128___bool__(self) -> bool"},
	 { "VectorUint128___len__", _wrap_VectorUint128___len__, METH_O, "VectorUint128___len__(self) -> std::vector< unsigned long long >::size_type"},
	 { "VectorUint128___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorUint128___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint128___getslice__(self, i, j) -> VectorUint128\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long long >::difference_type\n"
		"j: std::vector< unsigned long long >::difference_type\n"
		"\n"
		""},
	 { "VectorUint128___setslice__", _wrap_VectorUint128___setslice__, METH_VARARGS, "\n"
		"VectorUint128___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long long >::difference_type\n"
		"j: std::vector< unsigned long long >::difference_type\n"
		"\n"
		"VectorUint128___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long long >::difference_type\n"
		"j: std::vector< unsigned long long >::difference_type\n"
		"v: std::vector< unsigned long long,std::allocator< unsigned long long > > const &\n"
		"\n"
		""},
	 { "VectorUint128___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorUint128___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint128___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long long >::difference_type\n"
		"j: std::vector< unsigned long long >::difference_type\n"
		"\n"
		""},
	 { "VectorUint128___delitem__", _wrap_VectorUint128___delitem__, METH_VARARGS, "\n"
		"VectorUint128___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long long >::difference_type\n"
		"\n"
		"VectorUint128___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorUint128___getitem__", _wrap_VectorUint128___getitem__, METH_VARARGS, "\n"
		"VectorUint128___getitem__(self, slice) -> VectorUint128\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorUint128___getitem__(self, i) -> std::vector< unsigned long long >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long long >::difference_type\n"
		"\n"
		""},
	 { "VectorUint128___setitem__", _wrap_VectorUint128___setitem__, METH_VARARGS, "\n"
		"VectorUint128___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< unsigned long long,std::allocator< unsigned long long > > const &\n"
		"\n"
		"VectorUint128___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorUint128___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< unsigned long long >::difference_type\n"
		"x: std::vector< unsigned long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint128_pop", _wrap_VectorUint128_pop, METH_O, "VectorUint128_pop(self) -> std::vector< unsigned long long >::value_type"},
	 { "VectorUint128_append", (PyCFunction)(void(*)(void))_wrap_VectorUint128_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint128_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< unsigned long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint128_empty", _wrap_VectorUint128_empty, METH_O, "VectorUint128_empty(self) -> bool"},
	 { "VectorUint128_size", _wrap_VectorUint128_size, METH_O, "VectorUint128_size(self) -> std::vector< unsigned long long >::size_type"},
	 { "VectorUint128_swap", (PyCFunction)(void(*)(void))_wrap_VectorUint128_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint128_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< unsigned long long > &\n"
		"\n"
		""},
	 { "VectorUint128_begin", _wrap_VectorUint128_begin, METH_O, "VectorUint128_begin(self) -> std::vector< unsigned long long >::iterator"},
	 { "VectorUint128_end", _wrap_VectorUint128_end, METH_O, "VectorUint128_end(self) -> std::vector< unsigned long long >::iterator"},
	 { "VectorUint128_rbegin", _wrap_VectorUint128_rbegin, METH_O, "VectorUint128_rbegin(self) -> std::vector< unsigned long long >::reverse_iterator"},
	 { "VectorUint128_rend", _wrap_VectorUint128_rend, METH_O, "VectorUint128_rend(self) -> std::vector< unsigned long long >::reverse_iterator"},
	 { "VectorUint128_clear", _wrap_VectorUint128_clear, METH_O, "VectorUint128_clear(self)"},
	 { "VectorUint128_get_allocator", _wrap_VectorUint128_get_allocator, METH_O, "VectorUint128_get_allocator(self) -> std::vector< unsigned long long >::allocator_type"},
	 { "VectorUint128_pop_back", _wrap_VectorUint128_pop_back, METH_O, "VectorUint128_pop_back(self)"},
	 { "VectorUint128_erase", _wrap_VectorUint128_erase, METH_VARARGS, "\n"
		"VectorUint128_erase(self, pos) -> std::vector< unsigned long long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned long long >::iterator\n"
		"\n"
		"VectorUint128_erase(self, first, last) -> std::vector< unsigned long long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< unsigned long long >::iterator\n"
		"last: std::vector< unsigned long long >::iterator\n"
		"\n"
		""},
	 { "new_VectorUint128", _wrap_new_VectorUint128, METH_VARARGS, "\n"
		"VectorUint128()\n"
		"VectorUint128(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< unsigned long long > const &\n"
		"\n"
		"VectorUint128(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< unsigned long long >::size_type\n"
		"\n"
		"new_VectorUint128(size, value) -> VectorUint128\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< unsigned long long >::size_type\n"
		"value: std::vector< unsigned long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint128_push_back", (PyCFunction)(void(*)(void))_wrap_VectorUint128_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint128_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< unsigned long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint128_front", _wrap_VectorUint128_front, METH_O, "VectorUint128_front(self) -> std::vector< unsigned long long >::value_type const &"},
	 { "VectorUint128_back", _wrap_VectorUint128_back, METH_O, "VectorUint128_back(self) -> std::vector< unsigned long long >::value_type const &"},
	 { "VectorUint128_assign", (PyCFunction)(void(*)(void))_wrap_VectorUint128_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint128_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< unsigned long long >::size_type\n"
		"x: std::vector< unsigned long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint128_resize", _wrap_VectorUint128_resize, METH_VARARGS, "\n"
		"VectorUint128_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< unsigned long long >::size_type\n"
		"\n"
		"VectorUint128_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< unsigned long long >::size_type\n"
		"x: std::vector< unsigned long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint128_insert", _wrap_VectorUint128_insert, METH_VARARGS, "\n"
		"VectorUint128_insert(self, pos, x) -> std::vector< unsigned long long >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned long long >::iterator\n"
		"x: std::vector< unsigned long long >::value_type const &\n"
		"\n"
		"VectorUint128_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< unsigned long long >::iterator\n"
		"n: std::vector< unsigned long long >::size_type\n"
		"x: std::vector< unsigned long long >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint128_reserve", (PyCFunction)(void(*)(void))_wrap_VectorUint128_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint128_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< unsigned long long >::size_type\n"
		"\n"
		""},
	 { "VectorUint128_capacity", _wrap_VectorUint128_capacity, METH_O, "VectorUint128_capacity(self) -> std::vector< unsigned long long >::size_type"},
	 { "delete_VectorUint128", _wrap_delete_VectorUint128, METH_O, "delete_VectorUint128(self)"},
	 { "VectorUint128_swigregister", VectorUint128_swigregister, METH_O, NULL},
	 { "VectorUint128_swiginit", VectorUint128_swiginit, METH_VARARGS, NULL},
	 { "VectorUint32_3D_iterator", _wrap_VectorUint32_3D_iterator, METH_O, "VectorUint32_3D_iterator(self) -> SwigPyIterator"},
	 { "VectorUint32_3D___nonzero__", _wrap_VectorUint32_3D___nonzero__, METH_O, "VectorUint32_3D___nonzero__(self) -> bool"},
	 { "VectorUint32_3D___bool__", _wrap_VectorUint32_3D___bool__, METH_O, "VectorUint32_3D___bool__(self) -> bool"},
	 { "VectorUint32_3D___len__", _wrap_VectorUint32_3D___len__, METH_O, "VectorUint32_3D___len__(self) -> std::vector< std::vector< std::vector< unsigned int > > >::size_type"},
	 { "VectorUint32_3D___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorUint32_3D___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_3D___getslice__(self, i, j) -> VectorUint32_3D\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"j: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"\n"
		""},
	 { "VectorUint32_3D___setslice__", _wrap_VectorUint32_3D___setslice__, METH_VARARGS, "\n"
		"VectorUint32_3D___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"j: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"\n"
		"VectorUint32_3D___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"j: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"v: std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &\n"
		"\n"
		""},
	 { "VectorUint32_3D___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorUint32_3D___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_3D___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"j: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"\n"
		""},
	 { "VectorUint32_3D___delitem__", _wrap_VectorUint32_3D___delitem__, METH_VARARGS, "\n"
		"VectorUint32_3D___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"\n"
		"VectorUint32_3D___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorUint32_3D___getitem__", _wrap_VectorUint32_3D___getitem__, METH_VARARGS, "\n"
		"VectorUint32_3D___getitem__(self, slice) -> VectorUint32_3D\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorUint32_3D___getitem__(self, i) -> std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"\n"
		""},
	 { "VectorUint32_3D___setitem__", _wrap_VectorUint32_3D___setitem__, METH_VARARGS, "\n"
		"VectorUint32_3D___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > const &\n"
		"\n"
		"VectorUint32_3D___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorUint32_3D___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< std::vector< unsigned int > > >::difference_type\n"
		"x: std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_3D_pop", _wrap_VectorUint32_3D_pop, METH_O, "VectorUint32_3D_pop(self) -> std::vector< std::vector< std::vector< unsigned int > > >::value_type"},
	 { "VectorUint32_3D_append", (PyCFunction)(void(*)(void))_wrap_VectorUint32_3D_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_3D_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_3D_empty", _wrap_VectorUint32_3D_empty, METH_O, "VectorUint32_3D_empty(self) -> bool"},
	 { "VectorUint32_3D_size", _wrap_VectorUint32_3D_size, METH_O, "VectorUint32_3D_size(self) -> std::vector< std::vector< std::vector< unsigned int > > >::size_type"},
	 { "VectorUint32_3D_swap", (PyCFunction)(void(*)(void))_wrap_VectorUint32_3D_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_3D_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > &\n"
		"\n"
		""},
	 { "VectorUint32_3D_begin", _wrap_VectorUint32_3D_begin, METH_O, "VectorUint32_3D_begin(self) -> std::vector< std::vector< std::vector< unsigned int > > >::iterator"},
	 { "VectorUint32_3D_end", _wrap_VectorUint32_3D_end, METH_O, "VectorUint32_3D_end(self) -> std::vector< std::vector< std::vector< unsigned int > > >::iterator"},
	 { "VectorUint32_3D_rbegin", _wrap_VectorUint32_3D_rbegin, METH_O, "VectorUint32_3D_rbegin(self) -> std::vector< std::vector< std::vector< unsigned int > > >::reverse_iterator"},
	 { "VectorUint32_3D_rend", _wrap_VectorUint32_3D_rend, METH_O, "VectorUint32_3D_rend(self) -> std::vector< std::vector< std::vector< unsigned int > > >::reverse_iterator"},
	 { "VectorUint32_3D_clear", _wrap_VectorUint32_3D_clear, METH_O, "VectorUint32_3D_clear(self)"},
	 { "VectorUint32_3D_get_allocator", _wrap_VectorUint32_3D_get_allocator, METH_O, "VectorUint32_3D_get_allocator(self) -> std::vector< std::vector< std::vector< unsigned int > > >::allocator_type"},
	 { "VectorUint32_3D_pop_back", _wrap_VectorUint32_3D_pop_back, METH_O, "VectorUint32_3D_pop_back(self)"},
	 { "VectorUint32_3D_erase", _wrap_VectorUint32_3D_erase, METH_VARARGS, "\n"
		"VectorUint32_3D_erase(self, pos) -> std::vector< std::vector< std::vector< unsigned int > > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::vector< std::vector< unsigned int > > >::iterator\n"
		"\n"
		"VectorUint32_3D_erase(self, first, last) -> std::vector< std::vector< std::vector< unsigned int > > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< std::vector< std::vector< unsigned int > > >::iterator\n"
		"last: std::vector< std::vector< std::vector< unsigned int > > >::iterator\n"
		"\n"
		""},
	 { "new_VectorUint32_3D", _wrap_new_VectorUint32_3D, METH_VARARGS, "\n"
		"VectorUint32_3D()\n"
		"VectorUint32_3D(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > const &\n"
		"\n"
		"VectorUint32_3D(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< std::vector< std::vector< unsigned int > > >::size_type\n"
		"\n"
		"new_VectorUint32_3D(size, value) -> VectorUint32_3D\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< std::vector< std::vector< unsigned int > > >::size_type\n"
		"value: std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_3D_push_back", (PyCFunction)(void(*)(void))_wrap_VectorUint32_3D_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_3D_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_3D_front", _wrap_VectorUint32_3D_front, METH_O, "VectorUint32_3D_front(self) -> std::vector< std::vector< std::vector< unsigned int > > >::value_type const &"},
	 { "VectorUint32_3D_back", _wrap_VectorUint32_3D_back, METH_O, "VectorUint32_3D_back(self) -> std::vector< std::vector< std::vector< unsigned int > > >::value_type const &"},
	 { "VectorUint32_3D_assign", (PyCFunction)(void(*)(void))_wrap_VectorUint32_3D_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_3D_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< std::vector< std::vector< unsigned int > > >::size_type\n"
		"x: std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_3D_resize", _wrap_VectorUint32_3D_resize, METH_VARARGS, "\n"
		"VectorUint32_3D_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< std::vector< std::vector< unsigned int > > >::size_type\n"
		"\n"
		"VectorUint32_3D_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< std::vector< std::vector< unsigned int > > >::size_type\n"
		"x: std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_3D_insert", _wrap_VectorUint32_3D_insert, METH_VARARGS, "\n"
		"VectorUint32_3D_insert(self, pos, x) -> std::vector< std::vector< std::vector< unsigned int > > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::vector< std::vector< unsigned int > > >::iterator\n"
		"x: std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		"VectorUint32_3D_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::vector< std::vector< unsigned int > > >::iterator\n"
		"n: std::vector< std::vector< std::vector< unsigned int > > >::size_type\n"
		"x: std::vector< std::vector< std::vector< unsigned int > > >::value_type const &\n"
		"\n"
		""},
	 { "VectorUint32_3D_reserve", (PyCFunction)(void(*)(void))_wrap_VectorUint32_3D_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorUint32_3D_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< std::vector< std::vector< unsigned int > > >::size_type\n"
		"\n"
		""},
	 { "VectorUint32_3D_capacity", _wrap_VectorUint32_3D_capacity, METH_O, "VectorUint32_3D_capacity(self) -> std::vector< std::vector< std::vector< unsigned int > > >::size_type"},
	 { "delete_VectorUint32_3D", _wrap_delete_VectorUint32_3D, METH_O, "delete_VectorUint32_3D(self)"},
	 { "VectorUint32_3D_swigregister", VectorUint32_3D_swigregister, METH_O, NULL},
	 { "VectorUint32_3D_swiginit", VectorUint32_3D_swiginit, METH_VARARGS, NULL},
	 { "VectorDouble_2D_iterator", _wrap_VectorDouble_2D_iterator, METH_O, "VectorDouble_2D_iterator(self) -> SwigPyIterator"},
	 { "VectorDouble_2D___nonzero__", _wrap_VectorDouble_2D___nonzero__, METH_O, "VectorDouble_2D___nonzero__(self) -> bool"},
	 { "VectorDouble_2D___bool__", _wrap_VectorDouble_2D___bool__, METH_O, "VectorDouble_2D___bool__(self) -> bool"},
	 { "VectorDouble_2D___len__", _wrap_VectorDouble_2D___len__, METH_O, "VectorDouble_2D___len__(self) -> std::vector< std::vector< double > >::size_type"},
	 { "VectorDouble_2D___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorDouble_2D___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_2D___getslice__(self, i, j) -> VectorDouble_2D\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< double > >::difference_type\n"
		"j: std::vector< std::vector< double > >::difference_type\n"
		"\n"
		""},
	 { "VectorDouble_2D___setslice__", _wrap_VectorDouble_2D___setslice__, METH_VARARGS, "\n"
		"VectorDouble_2D___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< double > >::difference_type\n"
		"j: std::vector< std::vector< double > >::difference_type\n"
		"\n"
		"VectorDouble_2D___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< double > >::difference_type\n"
		"j: std::vector< std::vector< double > >::difference_type\n"
		"v: std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &\n"
		"\n"
		""},
	 { "VectorDouble_2D___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorDouble_2D___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_2D___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< double > >::difference_type\n"
		"j: std::vector< std::vector< double > >::difference_type\n"
		"\n"
		""},
	 { "VectorDouble_2D___delitem__", _wrap_VectorDouble_2D___delitem__, METH_VARARGS, "\n"
		"VectorDouble_2D___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< double > >::difference_type\n"
		"\n"
		"VectorDouble_2D___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorDouble_2D___getitem__", _wrap_VectorDouble_2D___getitem__, METH_VARARGS, "\n"
		"VectorDouble_2D___getitem__(self, slice) -> VectorDouble_2D\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorDouble_2D___getitem__(self, i) -> VectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< double > >::difference_type\n"
		"\n"
		""},
	 { "VectorDouble_2D___setitem__", _wrap_VectorDouble_2D___setitem__, METH_VARARGS, "\n"
		"VectorDouble_2D___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &\n"
		"\n"
		"VectorDouble_2D___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorDouble_2D___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::vector< double > >::difference_type\n"
		"x: std::vector< std::vector< double > >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_2D_pop", _wrap_VectorDouble_2D_pop, METH_O, "VectorDouble_2D_pop(self) -> VectorDouble"},
	 { "VectorDouble_2D_append", (PyCFunction)(void(*)(void))_wrap_VectorDouble_2D_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_2D_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< std::vector< double > >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_2D_empty", _wrap_VectorDouble_2D_empty, METH_O, "VectorDouble_2D_empty(self) -> bool"},
	 { "VectorDouble_2D_size", _wrap_VectorDouble_2D_size, METH_O, "VectorDouble_2D_size(self) -> std::vector< std::vector< double > >::size_type"},
	 { "VectorDouble_2D_swap", (PyCFunction)(void(*)(void))_wrap_VectorDouble_2D_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_2D_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< std::vector< double,std::allocator< double > > > &\n"
		"\n"
		""},
	 { "VectorDouble_2D_begin", _wrap_VectorDouble_2D_begin, METH_O, "VectorDouble_2D_begin(self) -> std::vector< std::vector< double > >::iterator"},
	 { "VectorDouble_2D_end", _wrap_VectorDouble_2D_end, METH_O, "VectorDouble_2D_end(self) -> std::vector< std::vector< double > >::iterator"},
	 { "VectorDouble_2D_rbegin", _wrap_VectorDouble_2D_rbegin, METH_O, "VectorDouble_2D_rbegin(self) -> std::vector< std::vector< double > >::reverse_iterator"},
	 { "VectorDouble_2D_rend", _wrap_VectorDouble_2D_rend, METH_O, "VectorDouble_2D_rend(self) -> std::vector< std::vector< double > >::reverse_iterator"},
	 { "VectorDouble_2D_clear", _wrap_VectorDouble_2D_clear, METH_O, "VectorDouble_2D_clear(self)"},
	 { "VectorDouble_2D_get_allocator", _wrap_VectorDouble_2D_get_allocator, METH_O, "VectorDouble_2D_get_allocator(self) -> std::vector< std::vector< double > >::allocator_type"},
	 { "VectorDouble_2D_pop_back", _wrap_VectorDouble_2D_pop_back, METH_O, "VectorDouble_2D_pop_back(self)"},
	 { "VectorDouble_2D_erase", _wrap_VectorDouble_2D_erase, METH_VARARGS, "\n"
		"VectorDouble_2D_erase(self, pos) -> std::vector< std::vector< double > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::vector< double > >::iterator\n"
		"\n"
		"VectorDouble_2D_erase(self, first, last) -> std::vector< std::vector< double > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< std::vector< double > >::iterator\n"
		"last: std::vector< std::vector< double > >::iterator\n"
		"\n"
		""},
	 { "new_VectorDouble_2D", _wrap_new_VectorDouble_2D, METH_VARARGS, "\n"
		"VectorDouble_2D()\n"
		"VectorDouble_2D(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< std::vector< double,std::allocator< double > > > const &\n"
		"\n"
		"VectorDouble_2D(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< std::vector< double > >::size_type\n"
		"\n"
		"new_VectorDouble_2D(size, value) -> VectorDouble_2D\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< std::vector< double > >::size_type\n"
		"value: std::vector< std::vector< double > >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_2D_push_back", (PyCFunction)(void(*)(void))_wrap_VectorDouble_2D_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_2D_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< std::vector< double > >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_2D_front", _wrap_VectorDouble_2D_front, METH_O, "VectorDouble_2D_front(self) -> VectorDouble"},
	 { "VectorDouble_2D_back", _wrap_VectorDouble_2D_back, METH_O, "VectorDouble_2D_back(self) -> VectorDouble"},
	 { "VectorDouble_2D_assign", (PyCFunction)(void(*)(void))_wrap_VectorDouble_2D_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_2D_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< std::vector< double > >::size_type\n"
		"x: std::vector< std::vector< double > >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_2D_resize", _wrap_VectorDouble_2D_resize, METH_VARARGS, "\n"
		"VectorDouble_2D_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< std::vector< double > >::size_type\n"
		"\n"
		"VectorDouble_2D_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< std::vector< double > >::size_type\n"
		"x: std::vector< std::vector< double > >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_2D_insert", _wrap_VectorDouble_2D_insert, METH_VARARGS, "\n"
		"VectorDouble_2D_insert(self, pos, x) -> std::vector< std::vector< double > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::vector< double > >::iterator\n"
		"x: std::vector< std::vector< double > >::value_type const &\n"
		"\n"
		"VectorDouble_2D_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::vector< double > >::iterator\n"
		"n: std::vector< std::vector< double > >::size_type\n"
		"x: std::vector< std::vector< double > >::value_type const &\n"
		"\n"
		""},
	 { "VectorDouble_2D_reserve", (PyCFunction)(void(*)(void))_wrap_VectorDouble_2D_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorDouble_2D_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< std::vector< double > >::size_type\n"
		"\n"
		""},
	 { "VectorDouble_2D_capacity", _wrap_VectorDouble_2D_capacity, METH_O, "VectorDouble_2D_capacity(self) -> std::vector< std::vector< double > >::size_type"},
	 { "delete_VectorDouble_2D", _wrap_delete_VectorDouble_2D, METH_O, "delete_VectorDouble_2D(self)"},
	 { "VectorDouble_2D_swigregister", VectorDouble_2D_swigregister, METH_O, NULL},
	 { "VectorDouble_2D_swiginit", VectorDouble_2D_swiginit, METH_VARARGS, NULL},
	 { "MapShortVectorDouble_iterator", _wrap_MapShortVectorDouble_iterator, METH_O, "MapShortVectorDouble_iterator(self) -> SwigPyIterator"},
	 { "MapShortVectorDouble___nonzero__", _wrap_MapShortVectorDouble___nonzero__, METH_O, "MapShortVectorDouble___nonzero__(self) -> bool"},
	 { "MapShortVectorDouble___bool__", _wrap_MapShortVectorDouble___bool__, METH_O, "MapShortVectorDouble___bool__(self) -> bool"},
	 { "MapShortVectorDouble___len__", _wrap_MapShortVectorDouble___len__, METH_O, "MapShortVectorDouble___len__(self) -> std::map< short,std::vector< double > >::size_type"},
	 { "MapShortVectorDouble___getitem__", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble___getitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble___getitem__(self, key) -> VectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble___delitem__", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble___delitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble___delitem__(self, key)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_has_key", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble_has_key, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble_has_key(self, key) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_keys", _wrap_MapShortVectorDouble_keys, METH_O, "MapShortVectorDouble_keys(self) -> PyObject *"},
	 { "MapShortVectorDouble_values", _wrap_MapShortVectorDouble_values, METH_O, "MapShortVectorDouble_values(self) -> PyObject *"},
	 { "MapShortVectorDouble_items", _wrap_MapShortVectorDouble_items, METH_O, "MapShortVectorDouble_items(self) -> PyObject *"},
	 { "MapShortVectorDouble___contains__", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble___contains__, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble___contains__(self, key) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_key_iterator", _wrap_MapShortVectorDouble_key_iterator, METH_O, "MapShortVectorDouble_key_iterator(self) -> SwigPyIterator"},
	 { "MapShortVectorDouble_value_iterator", _wrap_MapShortVectorDouble_value_iterator, METH_O, "MapShortVectorDouble_value_iterator(self) -> SwigPyIterator"},
	 { "MapShortVectorDouble___setitem__", _wrap_MapShortVectorDouble___setitem__, METH_VARARGS, "\n"
		"MapShortVectorDouble___setitem__(self, key)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		"MapShortVectorDouble___setitem__(self, key, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< short,std::vector< double > >::key_type const &\n"
		"x: std::map< short,std::vector< double > >::mapped_type const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_asdict", _wrap_MapShortVectorDouble_asdict, METH_O, "MapShortVectorDouble_asdict(self) -> PyObject *"},
	 { "new_MapShortVectorDouble", _wrap_new_MapShortVectorDouble, METH_VARARGS, "\n"
		"MapShortVectorDouble(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::less< short > const &\n"
		"\n"
		"MapShortVectorDouble()\n"
		"new_MapShortVectorDouble(other) -> MapShortVectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::map< short,std::vector< double,std::allocator< double > > > const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_empty", _wrap_MapShortVectorDouble_empty, METH_O, "MapShortVectorDouble_empty(self) -> bool"},
	 { "MapShortVectorDouble_size", _wrap_MapShortVectorDouble_size, METH_O, "MapShortVectorDouble_size(self) -> std::map< short,std::vector< double > >::size_type"},
	 { "MapShortVectorDouble_swap", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::map< short,std::vector< double,std::allocator< double > > > &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_begin", _wrap_MapShortVectorDouble_begin, METH_O, "MapShortVectorDouble_begin(self) -> std::map< short,std::vector< double > >::iterator"},
	 { "MapShortVectorDouble_end", _wrap_MapShortVectorDouble_end, METH_O, "MapShortVectorDouble_end(self) -> std::map< short,std::vector< double > >::iterator"},
	 { "MapShortVectorDouble_rbegin", _wrap_MapShortVectorDouble_rbegin, METH_O, "MapShortVectorDouble_rbegin(self) -> std::map< short,std::vector< double > >::reverse_iterator"},
	 { "MapShortVectorDouble_rend", _wrap_MapShortVectorDouble_rend, METH_O, "MapShortVectorDouble_rend(self) -> std::map< short,std::vector< double > >::reverse_iterator"},
	 { "MapShortVectorDouble_clear", _wrap_MapShortVectorDouble_clear, METH_O, "MapShortVectorDouble_clear(self)"},
	 { "MapShortVectorDouble_get_allocator", _wrap_MapShortVectorDouble_get_allocator, METH_O, "MapShortVectorDouble_get_allocator(self) -> std::map< short,std::vector< double > >::allocator_type"},
	 { "MapShortVectorDouble_count", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble_count, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble_count(self, x) -> std::map< short,std::vector< double > >::size_type\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_erase", _wrap_MapShortVectorDouble_erase, METH_VARARGS, "\n"
		"MapShortVectorDouble_erase(self, x) -> std::map< short,std::vector< double > >::size_type\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		"MapShortVectorDouble_erase(self, position)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"position: std::map< short,std::vector< double > >::iterator\n"
		"\n"
		"MapShortVectorDouble_erase(self, first, last)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::map< short,std::vector< double > >::iterator\n"
		"last: std::map< short,std::vector< double > >::iterator\n"
		"\n"
		""},
	 { "MapShortVectorDouble_find", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble_find, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble_find(self, x) -> std::map< short,std::vector< double > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_lower_bound", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble_lower_bound, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble_lower_bound(self, x) -> std::map< short,std::vector< double > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		""},
	 { "MapShortVectorDouble_upper_bound", (PyCFunction)(void(*)(void))_wrap_MapShortVectorDouble_upper_bound, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapShortVectorDouble_upper_bound(self, x) -> std::map< short,std::vector< double > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< short,std::vector< double > >::key_type const &\n"
		"\n"
		""},
	 { "delete_MapShortVectorDouble", _wrap_delete_MapShortVectorDouble, METH_O, "delete_MapShortVectorDouble(self)"},
	 { "MapShortVectorDouble_swigregister", MapShortVectorDouble_swigregister, METH_O, NULL},
	 { "MapShortVectorDouble_swiginit", MapShortVectorDouble_swiginit, METH_VARARGS, NULL},
	 { "MapStringString_iterator", _wrap_MapStringString_iterator, METH_O, "MapStringString_iterator(self) -> SwigPyIterator"},
	 { "MapStringString___nonzero__", _wrap_MapStringString___nonzero__, METH_O, "MapStringString___nonzero__(self) -> bool"},
	 { "MapStringString___bool__", _wrap_MapStringString___bool__, METH_O, "MapStringString___bool__(self) -> bool"},
	 { "MapStringString___len__", _wrap_MapStringString___len__, METH_O, "MapStringString___len__(self) -> std::map< std::string,std::string >::size_type"},
	 { "MapStringString___getitem__", (PyCFunction)(void(*)(void))_wrap_MapStringString___getitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString___getitem__(self, key) -> std::map< std::string,std::string >::mapped_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		""},
	 { "MapStringString___delitem__", (PyCFunction)(void(*)(void))_wrap_MapStringString___delitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString___delitem__(self, key)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		""},
	 { "MapStringString_has_key", (PyCFunction)(void(*)(void))_wrap_MapStringString_has_key, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString_has_key(self, key) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		""},
	 { "MapStringString_keys", _wrap_MapStringString_keys, METH_O, "MapStringString_keys(self) -> PyObject *"},
	 { "MapStringString_values", _wrap_MapStringString_values, METH_O, "MapStringString_values(self) -> PyObject *"},
	 { "MapStringString_items", _wrap_MapStringString_items, METH_O, "MapStringString_items(self) -> PyObject *"},
	 { "MapStringString___contains__", (PyCFunction)(void(*)(void))_wrap_MapStringString___contains__, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString___contains__(self, key) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		""},
	 { "MapStringString_key_iterator", _wrap_MapStringString_key_iterator, METH_O, "MapStringString_key_iterator(self) -> SwigPyIterator"},
	 { "MapStringString_value_iterator", _wrap_MapStringString_value_iterator, METH_O, "MapStringString_value_iterator(self) -> SwigPyIterator"},
	 { "MapStringString___setitem__", _wrap_MapStringString___setitem__, METH_VARARGS, "\n"
		"MapStringString___setitem__(self, key)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		"MapStringString___setitem__(self, key, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"key: std::map< std::string,std::string >::key_type const &\n"
		"x: std::map< std::string,std::string >::mapped_type const &\n"
		"\n"
		""},
	 { "MapStringString_asdict", _wrap_MapStringString_asdict, METH_O, "MapStringString_asdict(self) -> PyObject *"},
	 { "new_MapStringString", _wrap_new_MapStringString, METH_VARARGS, "\n"
		"MapStringString(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::less< std::string > const &\n"
		"\n"
		"MapStringString()\n"
		"new_MapStringString(other) -> MapStringString\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::map< std::string,std::string > const &\n"
		"\n"
		""},
	 { "MapStringString_empty", _wrap_MapStringString_empty, METH_O, "MapStringString_empty(self) -> bool"},
	 { "MapStringString_size", _wrap_MapStringString_size, METH_O, "MapStringString_size(self) -> std::map< std::string,std::string >::size_type"},
	 { "MapStringString_swap", (PyCFunction)(void(*)(void))_wrap_MapStringString_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::map< std::string,std::string > &\n"
		"\n"
		""},
	 { "MapStringString_begin", _wrap_MapStringString_begin, METH_O, "MapStringString_begin(self) -> std::map< std::string,std::string >::iterator"},
	 { "MapStringString_end", _wrap_MapStringString_end, METH_O, "MapStringString_end(self) -> std::map< std::string,std::string >::iterator"},
	 { "MapStringString_rbegin", _wrap_MapStringString_rbegin, METH_O, "MapStringString_rbegin(self) -> std::map< std::string,std::string >::reverse_iterator"},
	 { "MapStringString_rend", _wrap_MapStringString_rend, METH_O, "MapStringString_rend(self) -> std::map< std::string,std::string >::reverse_iterator"},
	 { "MapStringString_clear", _wrap_MapStringString_clear, METH_O, "MapStringString_clear(self)"},
	 { "MapStringString_get_allocator", _wrap_MapStringString_get_allocator, METH_O, "MapStringString_get_allocator(self) -> std::map< std::string,std::string >::allocator_type"},
	 { "MapStringString_count", (PyCFunction)(void(*)(void))_wrap_MapStringString_count, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString_count(self, x) -> std::map< std::string,std::string >::size_type\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		""},
	 { "MapStringString_erase", _wrap_MapStringString_erase, METH_VARARGS, "\n"
		"MapStringString_erase(self, x) -> std::map< std::string,std::string >::size_type\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		"MapStringString_erase(self, position)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"position: std::map< std::string,std::string >::iterator\n"
		"\n"
		"MapStringString_erase(self, first, last)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::map< std::string,std::string >::iterator\n"
		"last: std::map< std::string,std::string >::iterator\n"
		"\n"
		""},
	 { "MapStringString_find", (PyCFunction)(void(*)(void))_wrap_MapStringString_find, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString_find(self, x) -> std::map< std::string,std::string >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		""},
	 { "MapStringString_lower_bound", (PyCFunction)(void(*)(void))_wrap_MapStringString_lower_bound, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString_lower_bound(self, x) -> std::map< std::string,std::string >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		""},
	 { "MapStringString_upper_bound", (PyCFunction)(void(*)(void))_wrap_MapStringString_upper_bound, METH_VARARGS|METH_KEYWORDS, "\n"
		"MapStringString_upper_bound(self, x) -> std::map< std::string,std::string >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::map< std::string,std::string >::key_type const &\n"
		"\n"
		""},
	 { "delete_MapStringString", _wrap_delete_MapStringString, METH_O, "delete_MapStringString(self)"},
	 { "MapStringString_swigregister", MapStringString_swigregister, METH_O, NULL},
	 { "MapStringString_swiginit", MapStringString_swiginit, METH_VARARGS, NULL},
	 { "VectorString_iterator", _wrap_VectorString_iterator, METH_O, "VectorString_iterator(self) -> SwigPyIterator"},
	 { "VectorString___nonzero__", _wrap_VectorString___nonzero__, METH_O, "VectorString___nonzero__(self) -> bool"},
	 { "VectorString___bool__", _wrap_VectorString___bool__, METH_O, "VectorString___bool__(self) -> bool"},
	 { "VectorString___len__", _wrap_VectorString___len__, METH_O, "VectorString___len__(self) -> std::vector< std::string >::size_type"},
	 { "VectorString___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorString___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorString___getslice__(self, i, j) -> VectorString\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::string >::difference_type\n"
		"j: std::vector< std::string >::difference_type\n"
		"\n"
		""},
	 { "VectorString___setslice__", _wrap_VectorString___setslice__, METH_VARARGS, "\n"
		"VectorString___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::string >::difference_type\n"
		"j: std::vector< std::string >::difference_type\n"
		"\n"
		"VectorString___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::string >::difference_type\n"
		"j: std::vector< std::string >::difference_type\n"
		"v: std::vector< std::string,std::allocator< std::string > > const &\n"
		"\n"
		""},
	 { "VectorString___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorString___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorString___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::string >::difference_type\n"
		"j: std::vector< std::string >::difference_type\n"
		"\n"
		""},
	 { "VectorString___delitem__", _wrap_VectorString___delitem__, METH_VARARGS, "\n"
		"VectorString___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::string >::difference_type\n"
		"\n"
		"VectorString___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorString___getitem__", _wrap_VectorString___getitem__, METH_VARARGS, "\n"
		"VectorString___getitem__(self, slice) -> VectorString\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorString___getitem__(self, i) -> std::vector< std::string >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::string >::difference_type\n"
		"\n"
		""},
	 { "VectorString___setitem__", _wrap_VectorString___setitem__, METH_VARARGS, "\n"
		"VectorString___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< std::string,std::allocator< std::string > > const &\n"
		"\n"
		"VectorString___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorString___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::string >::difference_type\n"
		"x: std::vector< std::string >::value_type const &\n"
		"\n"
		""},
	 { "VectorString_pop", _wrap_VectorString_pop, METH_O, "VectorString_pop(self) -> std::vector< std::string >::value_type"},
	 { "VectorString_append", (PyCFunction)(void(*)(void))_wrap_VectorString_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorString_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< std::string >::value_type const &\n"
		"\n"
		""},
	 { "VectorString_empty", _wrap_VectorString_empty, METH_O, "VectorString_empty(self) -> bool"},
	 { "VectorString_size", _wrap_VectorString_size, METH_O, "VectorString_size(self) -> std::vector< std::string >::size_type"},
	 { "VectorString_swap", (PyCFunction)(void(*)(void))_wrap_VectorString_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorString_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< std::string > &\n"
		"\n"
		""},
	 { "VectorString_begin", _wrap_VectorString_begin, METH_O, "VectorString_begin(self) -> std::vector< std::string >::iterator"},
	 { "VectorString_end", _wrap_VectorString_end, METH_O, "VectorString_end(self) -> std::vector< std::string >::iterator"},
	 { "VectorString_rbegin", _wrap_VectorString_rbegin, METH_O, "VectorString_rbegin(self) -> std::vector< std::string >::reverse_iterator"},
	 { "VectorString_rend", _wrap_VectorString_rend, METH_O, "VectorString_rend(self) -> std::vector< std::string >::reverse_iterator"},
	 { "VectorString_clear", _wrap_VectorString_clear, METH_O, "VectorString_clear(self)"},
	 { "VectorString_get_allocator", _wrap_VectorString_get_allocator, METH_O, "VectorString_get_allocator(self) -> std::vector< std::string >::allocator_type"},
	 { "VectorString_pop_back", _wrap_VectorString_pop_back, METH_O, "VectorString_pop_back(self)"},
	 { "VectorString_erase", _wrap_VectorString_erase, METH_VARARGS, "\n"
		"VectorString_erase(self, pos) -> std::vector< std::string >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::string >::iterator\n"
		"\n"
		"VectorString_erase(self, first, last) -> std::vector< std::string >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< std::string >::iterator\n"
		"last: std::vector< std::string >::iterator\n"
		"\n"
		""},
	 { "new_VectorString", _wrap_new_VectorString, METH_VARARGS, "\n"
		"VectorString()\n"
		"VectorString(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< std::string > const &\n"
		"\n"
		"VectorString(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< std::string >::size_type\n"
		"\n"
		"new_VectorString(size, value) -> VectorString\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< std::string >::size_type\n"
		"value: std::vector< std::string >::value_type const &\n"
		"\n"
		""},
	 { "VectorString_push_back", (PyCFunction)(void(*)(void))_wrap_VectorString_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorString_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< std::string >::value_type const &\n"
		"\n"
		""},
	 { "VectorString_front", _wrap_VectorString_front, METH_O, "VectorString_front(self) -> std::vector< std::string >::value_type const &"},
	 { "VectorString_back", _wrap_VectorString_back, METH_O, "VectorString_back(self) -> std::vector< std::string >::value_type const &"},
	 { "VectorString_assign", (PyCFunction)(void(*)(void))_wrap_VectorString_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorString_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< std::string >::size_type\n"
		"x: std::vector< std::string >::value_type const &\n"
		"\n"
		""},
	 { "VectorString_resize", _wrap_VectorString_resize, METH_VARARGS, "\n"
		"VectorString_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< std::string >::size_type\n"
		"\n"
		"VectorString_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< std::string >::size_type\n"
		"x: std::vector< std::string >::value_type const &\n"
		"\n"
		""},
	 { "VectorString_insert", _wrap_VectorString_insert, METH_VARARGS, "\n"
		"VectorString_insert(self, pos, x) -> std::vector< std::string >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::string >::iterator\n"
		"x: std::vector< std::string >::value_type const &\n"
		"\n"
		"VectorString_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::string >::iterator\n"
		"n: std::vector< std::string >::size_type\n"
		"x: std::vector< std::string >::value_type const &\n"
		"\n"
		""},
	 { "VectorString_reserve", (PyCFunction)(void(*)(void))_wrap_VectorString_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorString_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< std::string >::size_type\n"
		"\n"
		""},
	 { "VectorString_capacity", _wrap_VectorString_capacity, METH_O, "VectorString_capacity(self) -> std::vector< std::string >::size_type"},
	 { "delete_VectorString", _wrap_delete_VectorString, METH_O, "delete_VectorString(self)"},
	 { "VectorString_swigregister", VectorString_swigregister, METH_O, NULL},
	 { "VectorString_swiginit", VectorString_swiginit, METH_VARARGS, NULL},
	 { "VectorPairInt_iterator", _wrap_VectorPairInt_iterator, METH_O, "VectorPairInt_iterator(self) -> SwigPyIterator"},
	 { "VectorPairInt___nonzero__", _wrap_VectorPairInt___nonzero__, METH_O, "VectorPairInt___nonzero__(self) -> bool"},
	 { "VectorPairInt___bool__", _wrap_VectorPairInt___bool__, METH_O, "VectorPairInt___bool__(self) -> bool"},
	 { "VectorPairInt___len__", _wrap_VectorPairInt___len__, METH_O, "VectorPairInt___len__(self) -> std::vector< std::pair< int,int > >::size_type"},
	 { "VectorPairInt___getslice__", (PyCFunction)(void(*)(void))_wrap_VectorPairInt___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorPairInt___getslice__(self, i, j) -> VectorPairInt\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::pair< int,int > >::difference_type\n"
		"j: std::vector< std::pair< int,int > >::difference_type\n"
		"\n"
		""},
	 { "VectorPairInt___setslice__", _wrap_VectorPairInt___setslice__, METH_VARARGS, "\n"
		"VectorPairInt___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::pair< int,int > >::difference_type\n"
		"j: std::vector< std::pair< int,int > >::difference_type\n"
		"\n"
		"VectorPairInt___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::pair< int,int > >::difference_type\n"
		"j: std::vector< std::pair< int,int > >::difference_type\n"
		"v: std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &\n"
		"\n"
		""},
	 { "VectorPairInt___delslice__", (PyCFunction)(void(*)(void))_wrap_VectorPairInt___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorPairInt___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::pair< int,int > >::difference_type\n"
		"j: std::vector< std::pair< int,int > >::difference_type\n"
		"\n"
		""},
	 { "VectorPairInt___delitem__", _wrap_VectorPairInt___delitem__, METH_VARARGS, "\n"
		"VectorPairInt___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::pair< int,int > >::difference_type\n"
		"\n"
		"VectorPairInt___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "VectorPairInt___getitem__", _wrap_VectorPairInt___getitem__, METH_VARARGS, "\n"
		"VectorPairInt___getitem__(self, slice) -> VectorPairInt\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorPairInt___getitem__(self, i) -> std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::pair< int,int > >::difference_type\n"
		"\n"
		""},
	 { "VectorPairInt___setitem__", _wrap_VectorPairInt___setitem__, METH_VARARGS, "\n"
		"VectorPairInt___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &\n"
		"\n"
		"VectorPairInt___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"VectorPairInt___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< std::pair< int,int > >::difference_type\n"
		"x: std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		""},
	 { "VectorPairInt_pop", _wrap_VectorPairInt_pop, METH_O, "VectorPairInt_pop(self) -> std::vector< std::pair< int,int > >::value_type"},
	 { "VectorPairInt_append", (PyCFunction)(void(*)(void))_wrap_VectorPairInt_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorPairInt_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		""},
	 { "VectorPairInt_empty", _wrap_VectorPairInt_empty, METH_O, "VectorPairInt_empty(self) -> bool"},
	 { "VectorPairInt_size", _wrap_VectorPairInt_size, METH_O, "VectorPairInt_size(self) -> std::vector< std::pair< int,int > >::size_type"},
	 { "VectorPairInt_swap", (PyCFunction)(void(*)(void))_wrap_VectorPairInt_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorPairInt_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< std::pair< int,int > > &\n"
		"\n"
		""},
	 { "VectorPairInt_begin", _wrap_VectorPairInt_begin, METH_O, "VectorPairInt_begin(self) -> std::vector< std::pair< int,int > >::iterator"},
	 { "VectorPairInt_end", _wrap_VectorPairInt_end, METH_O, "VectorPairInt_end(self) -> std::vector< std::pair< int,int > >::iterator"},
	 { "VectorPairInt_rbegin", _wrap_VectorPairInt_rbegin, METH_O, "VectorPairInt_rbegin(self) -> std::vector< std::pair< int,int > >::reverse_iterator"},
	 { "VectorPairInt_rend", _wrap_VectorPairInt_rend, METH_O, "VectorPairInt_rend(self) -> std::vector< std::pair< int,int > >::reverse_iterator"},
	 { "VectorPairInt_clear", _wrap_VectorPairInt_clear, METH_O, "VectorPairInt_clear(self)"},
	 { "VectorPairInt_get_allocator", _wrap_VectorPairInt_get_allocator, METH_O, "VectorPairInt_get_allocator(self) -> std::vector< std::pair< int,int > >::allocator_type"},
	 { "VectorPairInt_pop_back", _wrap_VectorPairInt_pop_back, METH_O, "VectorPairInt_pop_back(self)"},
	 { "VectorPairInt_erase", _wrap_VectorPairInt_erase, METH_VARARGS, "\n"
		"VectorPairInt_erase(self, pos) -> std::vector< std::pair< int,int > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::pair< int,int > >::iterator\n"
		"\n"
		"VectorPairInt_erase(self, first, last) -> std::vector< std::pair< int,int > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< std::pair< int,int > >::iterator\n"
		"last: std::vector< std::pair< int,int > >::iterator\n"
		"\n"
		""},
	 { "new_VectorPairInt", _wrap_new_VectorPairInt, METH_VARARGS, "\n"
		"VectorPairInt()\n"
		"VectorPairInt(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< std::pair< int,int > > const &\n"
		"\n"
		"VectorPairInt(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< std::pair< int,int > >::size_type\n"
		"\n"
		"new_VectorPairInt(size, value) -> VectorPairInt\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< std::pair< int,int > >::size_type\n"
		"value: std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		""},
	 { "VectorPairInt_push_back", (PyCFunction)(void(*)(void))_wrap_VectorPairInt_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorPairInt_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		""},
	 { "VectorPairInt_front", _wrap_VectorPairInt_front, METH_O, "VectorPairInt_front(self) -> std::vector< std::pair< int,int > >::value_type const &"},
	 { "VectorPairInt_back", _wrap_VectorPairInt_back, METH_O, "VectorPairInt_back(self) -> std::vector< std::pair< int,int > >::value_type const &"},
	 { "VectorPairInt_assign", (PyCFunction)(void(*)(void))_wrap_VectorPairInt_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorPairInt_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< std::pair< int,int > >::size_type\n"
		"x: std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		""},
	 { "VectorPairInt_resize", _wrap_VectorPairInt_resize, METH_VARARGS, "\n"
		"VectorPairInt_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< std::pair< int,int > >::size_type\n"
		"\n"
		"VectorPairInt_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< std::pair< int,int > >::size_type\n"
		"x: std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		""},
	 { "VectorPairInt_insert", _wrap_VectorPairInt_insert, METH_VARARGS, "\n"
		"VectorPairInt_insert(self, pos, x) -> std::vector< std::pair< int,int > >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::pair< int,int > >::iterator\n"
		"x: std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		"VectorPairInt_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< std::pair< int,int > >::iterator\n"
		"n: std::vector< std::pair< int,int > >::size_type\n"
		"x: std::vector< std::pair< int,int > >::value_type const &\n"
		"\n"
		""},
	 { "VectorPairInt_reserve", (PyCFunction)(void(*)(void))_wrap_VectorPairInt_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"VectorPairInt_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< std::pair< int,int > >::size_type\n"
		"\n"
		""},
	 { "VectorPairInt_capacity", _wrap_VectorPairInt_capacity, METH_O, "VectorPairInt_capacity(self) -> std::vector< std::pair< int,int > >::size_type"},
	 { "delete_VectorPairInt", _wrap_delete_VectorPairInt, METH_O, "delete_VectorPairInt(self)"},
	 { "VectorPairInt_swigregister", VectorPairInt_swigregister, METH_O, NULL},
	 { "VectorPairInt_swiginit", VectorPairInt_swiginit, METH_VARARGS, NULL},
	 { "new_PairVectorDouble", _wrap_new_PairVectorDouble, METH_VARARGS, "\n"
		"PairVectorDouble()\n"
		"PairVectorDouble(first, second)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< double,std::allocator< double > >\n"
		"second: std::vector< double,std::allocator< double > >\n"
		"\n"
		"new_PairVectorDouble(other) -> PairVectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > const &\n"
		"\n"
		""},
	 { "PairVectorDouble_first_set", _wrap_PairVectorDouble_first_set, METH_VARARGS, "\n"
		"PairVectorDouble_first_set(self, first)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< double,std::allocator< double > > *\n"
		"\n"
		""},
	 { "PairVectorDouble_first_get", _wrap_PairVectorDouble_first_get, METH_O, "PairVectorDouble_first_get(self) -> VectorDouble"},
	 { "PairVectorDouble_second_set", _wrap_PairVectorDouble_second_set, METH_VARARGS, "\n"
		"PairVectorDouble_second_set(self, second)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"second: std::vector< double,std::allocator< double > > *\n"
		"\n"
		""},
	 { "PairVectorDouble_second_get", _wrap_PairVectorDouble_second_get, METH_O, "PairVectorDouble_second_get(self) -> VectorDouble"},
	 { "delete_PairVectorDouble", _wrap_delete_PairVectorDouble, METH_O, "delete_PairVectorDouble(self)"},
	 { "PairVectorDouble_swigregister", PairVectorDouble_swigregister, METH_O, NULL},
	 { "PairVectorDouble_swiginit", PairVectorDouble_swiginit, METH_VARARGS, NULL},
	 { "new_PairVectorInt64", _wrap_new_PairVectorInt64, METH_VARARGS, "\n"
		"PairVectorInt64()\n"
		"PairVectorInt64(first, second)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< unsigned long long,std::allocator< unsigned long long > >\n"
		"second: std::vector< unsigned long long,std::allocator< unsigned long long > >\n"
		"\n"
		"new_PairVectorInt64(other) -> PairVectorInt64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > const &\n"
		"\n"
		""},
	 { "PairVectorInt64_first_set", _wrap_PairVectorInt64_first_set, METH_VARARGS, "\n"
		"PairVectorInt64_first_set(self, first)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< unsigned long long,std::allocator< unsigned long long > > *\n"
		"\n"
		""},
	 { "PairVectorInt64_first_get", _wrap_PairVectorInt64_first_get, METH_O, "PairVectorInt64_first_get(self) -> VectorUint128"},
	 { "PairVectorInt64_second_set", _wrap_PairVectorInt64_second_set, METH_VARARGS, "\n"
		"PairVectorInt64_second_set(self, second)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"second: std::vector< unsigned long long,std::allocator< unsigned long long > > *\n"
		"\n"
		""},
	 { "PairVectorInt64_second_get", _wrap_PairVectorInt64_second_get, METH_O, "PairVectorInt64_second_get(self) -> VectorUint128"},
	 { "delete_PairVectorInt64", _wrap_delete_PairVectorInt64, METH_O, "delete_PairVectorInt64(self)"},
	 { "PairVectorInt64_swigregister", PairVectorInt64_swigregister, METH_O, NULL},
	 { "PairVectorInt64_swiginit", PairVectorInt64_swiginit, METH_VARARGS, NULL},
	 { "utf8_to_native", (PyCFunction)(void(*)(void))_wrap_utf8_to_native, METH_VARARGS|METH_KEYWORDS, "\n"
		"utf8_to_native(utf8_str) -> std::string\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"utf8_str: std::string const &\n"
		"\n"
		"\n"
		"\n"
		"Converts a UTF-8 encoded string to the system's native encoding for file\n"
		"operations.  \n"
		"\n"
		"This utility function converts a string from UTF-8 encoding to the system's\n"
		"native encoding to ensure proper handling of non-ASCII characters in filenames.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `utf8_str` :  \n"
		"    The UTF-8 encoded string to convert.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The string converted to the system's native encoding.  \n"
		"\n"
		""},
	 { "native_to_utf8", (PyCFunction)(void(*)(void))_wrap_native_to_utf8, METH_VARARGS|METH_KEYWORDS, "\n"
		"native_to_utf8(native_str) -> std::string\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"native_str: std::string const &\n"
		"\n"
		"\n"
		"\n"
		"Converts a string from the system's native encoding to UTF-8.  \n"
		"\n"
		"This utility function converts a string from the system's native encoding to\n"
		"UTF-8 encoding to ensure proper handling of non-ASCII characters in filenames.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `native_str` :  \n"
		"    The native encoded string to convert.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The string converted to UTF-8 encoding.  \n"
		"\n"
		""},
	 { "open_file", (PyCFunction)(void(*)(void))_wrap_open_file, METH_VARARGS|METH_KEYWORDS, "\n"
		"open_file(filename, mode) -> FILE *\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: std::string const &\n"
		"mode: char const *\n"
		"\n"
		"\n"
		"\n"
		"Opens a file with support for non-ASCII filenames.  \n"
		"\n"
		"This function handles filename encoding conversions needed for proper handling\n"
		"of non-ASCII characters across different platforms.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filename` :  \n"
		"    The name of the file to open (UTF-8 encoded).  \n"
		"* `mode` :  \n"
		"    The file opening mode (e.g., \"rb\", \"w\", etc.).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"A FILE pointer to the opened file, or nullptr if the file could not be opened.  \n"
		"\n"
		""},
	 { "isHDF5File", (PyCFunction)(void(*)(void))_wrap_isHDF5File, METH_VARARGS|METH_KEYWORDS, "\n"
		"isHDF5File(filename) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: std::string const &\n"
		"\n"
		"\n"
		"\n"
		"Checks if the given file is an HDF5 file.  \n"
		"\n"
		"This function opens the specified file and performs checks to determine if it\n"
		"conforms to the HDF5 file format.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filename` :  \n"
		"    The name of the file to check.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"true if the file is an HDF5 file, false otherwise.  \n"
		"\n"
		""},
	 { "isSMFile", (PyCFunction)(void(*)(void))_wrap_isSMFile, METH_VARARGS|METH_KEYWORDS, "\n"
		"isSMFile(filename) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: std::string const &\n"
		"\n"
		"\n"
		"\n"
		"Checks if the given file is an SM file.  \n"
		"\n"
		"This function opens the specified file and reads the first 64 bits to determine\n"
		"if the file is an SM file, specifically checking if the value equals 2.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filename` :  \n"
		"    The name of the file to check.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"true if the file is an SM file, false otherwise.  \n"
		"\n"
		""},
	 { "isPTUFile", (PyCFunction)(void(*)(void))_wrap_isPTUFile, METH_VARARGS|METH_KEYWORDS, "\n"
		"isPTUFile(filename) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: std::string const &\n"
		"\n"
		"\n"
		"\n"
		"Checks if the given file is a PTU file.  \n"
		"\n"
		"This function opens the specified file and reads the first 8 bytes (Magic) to\n"
		"verify if the file is a PTU file by checking if it starts with \"PQTTTR\".  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filename` :  \n"
		"    The name of the file to check.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"true if the file is a PTU file, false otherwise.  \n"
		"\n"
		""},
	 { "isHT3File", (PyCFunction)(void(*)(void))_wrap_isHT3File, METH_VARARGS|METH_KEYWORDS, "\n"
		"isHT3File(filename) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: std::string const &\n"
		"\n"
		"\n"
		"\n"
		"Checks if the given file is an HT3 file.  \n"
		"\n"
		"This function opens the specified file and reads the header to check if the file\n"
		"format version is \"1.0\", which is required for HT3 files.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filename` :  \n"
		"    The name of the file to check.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"true if the file is an HT3 file, false otherwise.  \n"
		"\n"
		""},
	 { "isBH132File", (PyCFunction)(void(*)(void))_wrap_isBH132File, METH_VARARGS|METH_KEYWORDS, "\n"
		"isBH132File(filename) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: std::string const &\n"
		"\n"
		"\n"
		"\n"
		"Checks if the given file is a BH132 file.  \n"
		"\n"
		"This function opens the specified file and reads the header to determine if it\n"
		"is a BH132 file by checking if the `macro_time_clock` is in the range (0, 10000)\n"
		"and if the `invalid` flag is set to true.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filename` :  \n"
		"    The name of the file to check.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"true if the file is a BH132 file, false otherwise.  \n"
		"\n"
		""},
	 { "inferTTTRFileType", (PyCFunction)(void(*)(void))_wrap_inferTTTRFileType, METH_VARARGS|METH_KEYWORDS, "\n"
		"inferTTTRFileType(fn) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fn: char const *\n"
		"\n"
		"\n"
		"\n"
		"Determines the type of the TTTR file based on its content.  \n"
		"\n"
		"This function uses various type-checking functions to infer the type of the\n"
		"given TTTR file. It performs checks in a specific order to identify the file\n"
		"type. Returns a container identifier corresponding to the file type.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fn` :  \n"
		"    The name of the file to check.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"An integer representing the type of the TTTR file, or -1 if the type cannot be\n"
		"determined.  \n"
		"\n"
		""},
	 { "isCZConfocor3File", (PyCFunction)(void(*)(void))_wrap_isCZConfocor3File, METH_VARARGS|METH_KEYWORDS, "\n"
		"isCZConfocor3File(filename) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: std::string const &\n"
		"\n"
		"\n"
		"\n"
		"Determines if the given file is a Carl Zeiss Confocor3 (CZ Confocor3) raw data\n"
		"file.  \n"
		"\n"
		"This function reads the header of the file and checks for specific patterns to\n"
		"determine if the file is of type CZ Confocor3. It performs the necessary checks\n"
		"and returns true if the file type is identified, otherwise false.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filename` :  \n"
		"    The name of the file to check.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"True if the file is a CZ Confocor3 file, false otherwise.  \n"
		"\n"
		""},
	 { "get_supported_filetypes", _wrap_get_supported_filetypes, METH_NOARGS, "\n"
		"get_supported_filetypes() -> VectorString\n"
		"\n"
		"\n"
		"Returns a list of supported file extensions.  \n"
		"\n"
		"This function returns a vector containing all the file extensions (file endings)\n"
		"that are supported by the library.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"std::vector<std::string> A vector of supported file extensions.  \n"
		"\n"
		""},
	 { "TTTRHeader_get_tag", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_get_tag, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_get_tag(json_data, name, idx=-1) -> nlohmann::json\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"json_data: nlohmann::json\n"
		"name: std::string const &\n"
		"idx: int\n"
		"\n"
		"\n"
		"TTTRHeader::get_tag\n"
		"Get a tag / entry from the meta data list in a JSON dict  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `json_data` :  \n"
		"* `name` :  \n"
		"* `idx` :  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "TTTRHeader_find_tag", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_find_tag, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_find_tag(json_data, name, idx=-1) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"json_data: nlohmann::json &\n"
		"name: std::string const &\n"
		"idx: int\n"
		"\n"
		"\n"
		"TTTRHeader::find_tag\n"
		"Find the index of a tag in the JSON data by name type and index  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `json_data` :  \n"
		"* `name` :  \n"
		"* `type` :  \n"
		"* `idx` :  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "TTTRHeader_add_tag", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_add_tag, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_add_tag(json_data, name, value, type=tyAnsiString, idx=-1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"json_data: nlohmann::json &\n"
		"name: std::string const &\n"
		"value: std::any\n"
		"type: unsigned int\n"
		"idx: int\n"
		"\n"
		"\n"
		"TTTRHeader::add_tag\n"
		"Add a meta data tag. If the tag already exists the value of the meta data tag is\n"
		"replaced.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `json_data` :  \n"
		"* `name` :  \n"
		"* `value` :  \n"
		"* `type` :  \n"
		"* `idx` :  \n"
		"\n"
		""},
	 { "TTTRHeader_get_bytes_per_record", _wrap_TTTRHeader_get_bytes_per_record, METH_O, "\n"
		"TTTRHeader_get_bytes_per_record(self) -> size_t\n"
		"\n"
		"TTTRHeader::get_bytes_per_record\n"
		"Stores the bytes per TTTR record of the associated TTTR file This attribute is\n"
		"changed when a header is read  \n"
		"\n"
		""},
	 { "TTTRHeader_end", _wrap_TTTRHeader_end, METH_O, "\n"
		"TTTRHeader_end(self) -> size_t\n"
		"\n"
		"TTTRHeader::end\n"
		""},
	 { "TTTRHeader_size", _wrap_TTTRHeader_size, METH_O, "\n"
		"TTTRHeader_size(self) -> size_t\n"
		"\n"
		"TTTRHeader::size\n"
		"Number of meta data entries  \n"
		"\n"
		""},
	 { "TTTRHeader_get_pixel_duration", _wrap_TTTRHeader_get_pixel_duration, METH_O, "\n"
		"TTTRHeader_get_pixel_duration(self) -> int\n"
		"\n"
		"TTTRHeader::get_pixel_duration\n"
		"Duration of a pixel in LSM in units of macro time clock.  \n"
		"\n"
		""},
	 { "TTTRHeader_get_line_duration", _wrap_TTTRHeader_get_line_duration, METH_O, "\n"
		"TTTRHeader_get_line_duration(self) -> int\n"
		"\n"
		"TTTRHeader::get_line_duration\n"
		"Duration of a line in LSM in units of macro time clock.  \n"
		"\n"
		""},
	 { "TTTRHeader_get_effective_number_of_micro_time_channels", _wrap_TTTRHeader_get_effective_number_of_micro_time_channels, METH_O, "\n"
		"TTTRHeader_get_effective_number_of_micro_time_channels(self) -> unsigned int\n"
		"\n"
		"TTTRHeader::get_effective_number_of_micro_time_channels\n"
		"The number of micro time channels that fit between two macro times.  \n"
		"\n"
		"The total (possible) number of TAC channels can exceed the number that fit\n"
		"between two macro time channels. This function returns the effective number,\n"
		"i.e., the number of micro time channels between two macro times. The micro time\n"
		"channels that are outside of this bound should (usually) not be filled.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"effective_tac_channels (that fit between to macro times)  \n"
		"\n"
		""},
	 { "new_TTTRHeader", _wrap_new_TTTRHeader, METH_VARARGS, "\n"
		"TTTRHeader()\n"
		"TTTRHeader(tttr_container_type)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_container_type: int\n"
		"\n"
		"TTTRHeader(p2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2: TTTRHeader const &\n"
		"\n"
		"new_TTTRHeader(fn, tttr_container_type=0) -> TTTRHeader\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fn: std::string\n"
		"tttr_container_type: int\n"
		"\n"
		"\n"
		"TTTRHeader::TTTRHeader\n"
		""},
	 { "delete_TTTRHeader", _wrap_delete_TTTRHeader, METH_O, "\n"
		"delete_TTTRHeader(self)\n"
		"\n"
		"TTTRHeader::~TTTRHeader\n"
		""},
	 { "TTTRHeader_read_ptu_header", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_read_ptu_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_read_ptu_header(fpin, tttr_record_type, json_data, rewind=True) -> size_t\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fpin: std::FILE *\n"
		"tttr_record_type: int &\n"
		"json_data: nlohmann::json &\n"
		"rewind: bool\n"
		"\n"
		"\n"
		"TTTRHeader::read_ptu_header\n"
		"Reads the header of a PTU file and sets the reading routing.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fpin` :  \n"
		"    File pointer to the PTU file.  \n"
		"* `tttr_record_type` :  \n"
		"    Output parameter for the TTTR record type.  \n"
		"* `json_data` :  \n"
		"    Output parameter for JSON data.  \n"
		"* `rewind` :  \n"
		"    Flag to indicate whether to rewind the file (default is true).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The position of the file pointer at the end of the header.  \n"
		"\n"
		""},
	 { "TTTRHeader_read_photon_hdf5_setup", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_read_photon_hdf5_setup, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_read_photon_hdf5_setup(self, fn) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fn: char const *\n"
		"\n"
		"\n"
		"TTTRHeader::read_photon_hdf5_setup\n"
		""},
	 { "TTTRHeader_read_ht3_header", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_read_ht3_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_read_ht3_header(fpin, data, rewind=True) -> size_t\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fpin: std::FILE *\n"
		"data: nlohmann::json &\n"
		"rewind: bool\n"
		"\n"
		"\n"
		"TTTRHeader::read_ht3_header\n"
		"Reads the header of an HT3 file and sets the reading routing.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fpin` :  \n"
		"    File pointer to the HT3 file.  \n"
		"* `data` :  \n"
		"    Output parameter for JSON data.  \n"
		"* `rewind` :  \n"
		"    Flag to indicate whether to rewind the file (default is true).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The position of the file pointer at the end of the header.  \n"
		"\n"
		""},
	 { "TTTRHeader_read_sm_header", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_read_sm_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_read_sm_header(file, j) -> size_t\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"file: FILE *\n"
		"j: nlohmann::json &\n"
		"\n"
		"\n"
		"TTTRHeader::read_sm_header\n"
		"Reads and parses the header of an SM (Single molecule) record from the given\n"
		"file. The parsed information is stored in the provided JSON object `j`.  \n"
		"\n"
		"This function performs the following tasks:  \n"
		"\n"
		"1.  Adds a tag to the JSON object `j` for the record type.  \n"
		"2.  Reads and processes the header information from the file.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `file` :  \n"
		"    A pointer to the file from which the header is read.  \n"
		"* `j` :  \n"
		"    A reference to a nlohmann::json object where parsed information will be\n"
		"    stored.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The file position after reading the header.  \n"
		"\n"
		""},
	 { "TTTRHeader_read_bh132_header", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_read_bh132_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_read_bh132_header(fpin, data, rewind=True) -> size_t\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fpin: std::FILE *\n"
		"data: nlohmann::json &\n"
		"rewind: bool\n"
		"\n"
		"\n"
		"TTTRHeader::read_bh132_header\n"
		"Reads the header of a Becker & Hickl SPC132 file and sets the reading routing.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fpin` :  \n"
		"    File pointer to the SPC132 file.  \n"
		"* `data` :  \n"
		"    Output parameter for JSON data.  \n"
		"* `rewind` :  \n"
		"    Flag to indicate whether to rewind the file (default is true).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The position of the file pointer at the end of the header.  \n"
		"\n"
		""},
	 { "TTTRHeader_read_cz_confocor3_header", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_read_cz_confocor3_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_read_cz_confocor3_header(fpin, data, rewind=True) -> size_t\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fpin: std::FILE *\n"
		"data: nlohmann::json &\n"
		"rewind: bool\n"
		"\n"
		"\n"
		"TTTRHeader::read_cz_confocor3_header\n"
		"Reads the header of a Carl Zeiss (CZ) Confocor3 file and sets the reading\n"
		"routing.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fpin` :  \n"
		"    File pointer to the Confocor3 file.  \n"
		"* `data` :  \n"
		"    Output parameter for JSON data.  \n"
		"* `rewind` :  \n"
		"    Flag to indicate whether to rewind the file (default is true).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The position of the file pointer at the end of the header.  \n"
		"\n"
		""},
	 { "TTTRHeader_write_spc132_header", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_write_spc132_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_write_spc132_header(fn, header, modes=\"w\")\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fn: std::string\n"
		"header: TTTRHeader *\n"
		"modes: std::string\n"
		"\n"
		"\n"
		"TTTRHeader::write_spc132_header\n"
		"Write a spc132 header to a file  \n"
		"\n"
		"WARNING: If the default write mode is \"wb\". Existing files are overwritten.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fn` :  \n"
		"    filename  \n"
		"* `header` :  \n"
		"    pointer to the TTTRHeader object that is written to the file  \n"
		"* `modes` :  \n"
		"    the writing modes (default 'w+b')  \n"
		"\n"
		""},
	 { "TTTRHeader_write_ptu_header", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_write_ptu_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_write_ptu_header(fn, header, modes=\"wb\")\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fn: std::string\n"
		"header: TTTRHeader *\n"
		"modes: std::string\n"
		"\n"
		"\n"
		"TTTRHeader::write_ptu_header\n"
		"Write a PTU header to a file  \n"
		"\n"
		"WARNING: If the default write mode is \"wb\". Existing files are overwritten.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fn` :  \n"
		"    filename  \n"
		"* `header` :  \n"
		"    pointer to the TTTRHeader object that is written to the file  \n"
		"* `modes` :  \n"
		"    the writing modes (default 'wb')  \n"
		"\n"
		""},
	 { "TTTRHeader_write_ht3_header", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_write_ht3_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_write_ht3_header(fn, header, modes=\"wb\")\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fn: std::string\n"
		"header: TTTRHeader *\n"
		"modes: std::string\n"
		"\n"
		"\n"
		"TTTRHeader::write_ht3_header\n"
		"Write a HT3 header to a file  \n"
		"\n"
		"WARNING: If the default write mode is \"wb\". Existing files are overwritten.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fn` :  \n"
		"    filename  \n"
		"* `header` :  \n"
		"    pointer to the TTTRHeader object that is written to the file  \n"
		"* `modes` :  \n"
		"    the writing modes (default 'wb')  \n"
		"\n"
		""},
	 { "TTTRHeader_get_json", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_get_json, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_get_json(self, tag_name=\"\", idx=-1, indent=1) -> std::string\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tag_name: std::string\n"
		"idx: int\n"
		"indent: int\n"
		"\n"
		"\n"
		"TTTRHeader::get_json\n"
		"Get a representation of the TTTRHeader meta data as a JSON string  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tag_name` :  \n"
		"    name of requested tag (if no name is provided) the entire information in the\n"
		"    TTTRHeader is returned  \n"
		"* `idx` :  \n"
		"    index of the tag  \n"
		"* `indent` :  \n"
		"    an integer that controls the indent in the returned JSON string  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "TTTRHeader_set_json", (PyCFunction)(void(*)(void))_wrap_TTTRHeader_set_json, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRHeader_set_json(self, json_string)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"json_string: std::string\n"
		"\n"
		"\n"
		"TTTRHeader::set_json\n"
		"Set / update the TTTRHeader meta data using a JSON string  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `json_string` :  \n"
		"\n"
		""},
	 { "TTTRHeader_number_of_micro_time_channels_get", _wrap_TTTRHeader_number_of_micro_time_channels_get, METH_O, "TTTRHeader_number_of_micro_time_channels_get(self) -> size_t"},
	 { "TTTRHeader_macro_time_resolution_get", _wrap_TTTRHeader_macro_time_resolution_get, METH_O, "TTTRHeader_macro_time_resolution_get(self) -> double"},
	 { "TTTRHeader_micro_time_resolution_get", _wrap_TTTRHeader_micro_time_resolution_get, METH_O, "TTTRHeader_micro_time_resolution_get(self) -> double"},
	 { "TTTRHeader_tttr_record_type_set", _wrap_TTTRHeader_tttr_record_type_set, METH_VARARGS, "\n"
		"TTTRHeader_tttr_record_type_set(self, tttr_record_type)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_record_type: int\n"
		"\n"
		""},
	 { "TTTRHeader_tttr_record_type_get", _wrap_TTTRHeader_tttr_record_type_get, METH_O, "TTTRHeader_tttr_record_type_get(self) -> int"},
	 { "TTTRHeader_tttr_container_type_set", _wrap_TTTRHeader_tttr_container_type_set, METH_VARARGS, "\n"
		"TTTRHeader_tttr_container_type_set(self, tttr_container_type)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_container_type: int\n"
		"\n"
		""},
	 { "TTTRHeader_tttr_container_type_get", _wrap_TTTRHeader_tttr_container_type_get, METH_O, "TTTRHeader_tttr_container_type_get(self) -> int"},
	 { "TTTRHeader_swigregister", TTTRHeader_swigregister, METH_O, NULL},
	 { "TTTRHeader_swiginit", TTTRHeader_swiginit, METH_VARARGS, NULL},
	 { "new_TTTRRange", (PyCFunction)(void(*)(void))_wrap_new_TTTRRange, METH_VARARGS|METH_KEYWORDS, "\n"
		"new_TTTRRange(start=-1, stop=-1, other=None) -> TTTRRange\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"start: int\n"
		"stop: int\n"
		"other: TTTRRange *\n"
		"\n"
		"\n"
		"TTTRRange::TTTRRange\n"
		"Copy constructor.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `p2` :  \n"
		"    Reference to another TTTRRange to copy.  \n"
		"\n"
		""},
	 { "TTTRRange_size", _wrap_TTTRRange_size, METH_O, "\n"
		"TTTRRange_size(self) -> size_t\n"
		"\n"
		"TTTRRange::size\n"
		"Gets the number of TTTR indices in the range.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The size of the `tttr_indices` set.  \n"
		"\n"
		""},
	 { "TTTRRange_get_stop_time", (PyCFunction)(void(*)(void))_wrap_TTTRRange_get_stop_time, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_get_stop_time(self, tttr) -> unsigned long\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"\n"
		"\n"
		"TTTRRange::get_stop_time\n"
		"Gets the stop time of the TTTR range.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to a TTTR object.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The stop time or 0 if tttr is nullptr or the set is empty.  \n"
		"\n"
		""},
	 { "TTTRRange_get_start_time", (PyCFunction)(void(*)(void))_wrap_TTTRRange_get_start_time, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_get_start_time(self, tttr) -> unsigned long\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"\n"
		"\n"
		"TTTRRange::get_start_time\n"
		"Gets the start time of the TTTR range.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to a TTTR object.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The start time or 0 if tttr is nullptr or the set is empty.  \n"
		"\n"
		""},
	 { "TTTRRange_get_start_stop_time", (PyCFunction)(void(*)(void))_wrap_TTTRRange_get_start_stop_time, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_get_start_stop_time(self, tttr) -> VectorUint64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"\n"
		"\n"
		"TTTRRange::get_start_stop_time\n"
		"Gets a vector of the start and stop times of the TTTR range.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to a TTTR object.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"A vector containing the start and stop times.  \n"
		"\n"
		""},
	 { "TTTRRange_get_duration", (PyCFunction)(void(*)(void))_wrap_TTTRRange_get_duration, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_get_duration(self, tttr) -> unsigned int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"\n"
		"\n"
		"TTTRRange::get_duration\n"
		"Gets the duration between the start and stop times of the TTTR range.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to a TTTR object.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The duration or 0 if tttr is nullptr or the set is empty.  \n"
		"\n"
		""},
	 { "TTTRRange_insert", (PyCFunction)(void(*)(void))_wrap_TTTRRange_insert, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_insert(self, idx)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"idx: int\n"
		"\n"
		"\n"
		"TTTRRange::insert\n"
		"Inserts an index into the TTTR index vector.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `idx` :  \n"
		"    The index to insert.  \n"
		"\n"
		""},
	 { "TTTRRange_clear", _wrap_TTTRRange_clear, METH_O, "\n"
		"TTTRRange_clear(self)\n"
		"\n"
		"TTTRRange::clear\n"
		"Clears the TTTR index set.  \n"
		"\n"
		""},
	 { "TTTRRange_strip", (PyCFunction)(void(*)(void))_wrap_TTTRRange_strip, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_strip(self, tttr_indices, offset=0) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_indices: std::vector< int,std::allocator< int > > const &\n"
		"offset: int\n"
		"\n"
		"\n"
		"TTTRRange::strip\n"
		"Strips TTTR indices from a range starting at tttr_indices[offset].  \n"
		"\n"
		"The tttr_indices need to be sorted in ascending size.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_indices` :  \n"
		"    Vector of TTTR indices.  \n"
		"* `offset` :  \n"
		"    Offset index.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Updated offset index.  \n"
		"\n"
		""},
	 { "TTTRRange_get_mean_microtime", (PyCFunction)(void(*)(void))_wrap_TTTRRange_get_mean_microtime, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_get_mean_microtime(self, tttr_data, microtime_resolution=-1.0, minimum_number_of_photons=1) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"microtime_resolution: double\n"
		"minimum_number_of_photons: int\n"
		"\n"
		"\n"
		"TTTRRange::get_mean_microtime\n"
		"Computes the mean microtime in units of the microtime resolution.  \n"
		"\n"
		"If there are fewer than the minimum number of photons in a TTTRRange, the\n"
		"function returns zero.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `microtime_resolution` :  \n"
		"    Microtime resolution.  \n"
		"* `minimum_number_of_photons` :  \n"
		"    Minimum number of photons in a micro time.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The mean microtime.  \n"
		"\n"
		""},
	 { "TTTRRange_get_microtime_histogram", (PyCFunction)(void(*)(void))_wrap_TTTRRange_get_microtime_histogram, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_get_microtime_histogram(self, tttr, micro_time_coarsening, minlength)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"micro_time_coarsening: unsigned short\n"
		"minlength: int\n"
		"\n"
		"\n"
		"TTTRRange::get_microtime_histogram\n"
		"Gets the microtime histogram for the TTTRRange.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `histogram` :  \n"
		"    Pointer to the histogram array.  \n"
		"* `n_histogram` :  \n"
		"    Pointer to the size of the histogram array.  \n"
		"* `time` :  \n"
		"    Pointer to the time array.  \n"
		"* `n_time` :  \n"
		"    Pointer to the size of the time array.  \n"
		"* `micro_time_coarsening` :  \n"
		"    Microtime coarsening factor.  \n"
		"\n"
		""},
	 { "TTTRRange_get_mean_lifetime", (PyCFunction)(void(*)(void))_wrap_TTTRRange_get_mean_lifetime, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_get_mean_lifetime(self, tttr_data, minimum_number_of_photons=3, tttr_irf=None, m0_irf=1.0, m1_irf=1.0, dt=1.0, background=None, m0_bg=0.0, m1_bg=0.0, background_fraction=-1.0) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"minimum_number_of_photons: int\n"
		"tttr_irf: TTTR *\n"
		"m0_irf: double\n"
		"m1_irf: double\n"
		"dt: double\n"
		"background: std::vector< double,std::allocator< double > > *\n"
		"m0_bg: double\n"
		"m1_bg: double\n"
		"background_fraction: double\n"
		"\n"
		"\n"
		"TTTRRange::get_mean_lifetime\n"
		"Computes the mean lifetime for the TTTRRange.  \n"
		"\n"
		"If a TTTRRange has not enough photons, returns -1.  \n"
		"\n"
		"By default, fluorescence lifetimes are computed in units of the micro time if no\n"
		"dt is provided.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `minimum_number_of_photons` :  \n"
		"    Minimum number of photons in a micro time.  \n"
		"* `tttr_irf` :  \n"
		"    Pointer to a TTTR object of the IRF.  \n"
		"* `m0_irf` :  \n"
		"    Zero moment of the IRF (optional, default=1).  \n"
		"* `m1_irf` :  \n"
		"    First moment of the IRF (optional, default=1).  \n"
		"* `dt` :  \n"
		"    Time resolution of the micro time.  \n"
		"* `background` :  \n"
		"    Vector of background values (optional).  \n"
		"* `m0_bg` :  \n"
		"    Zero moment of the background (optional, default=0).  \n"
		"* `m1_bg` :  \n"
		"    First moment of the background (optional, default=0).  \n"
		"* `background_fraction` :  \n"
		"    Fraction of background pattern in data (if negative, no background).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The mean lifetime.  \n"
		"\n"
		""},
	 { "TTTRRange_compute_mean_lifetime", (PyCFunction)(void(*)(void))_wrap_TTTRRange_compute_mean_lifetime, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange_compute_mean_lifetime(tttr_indices, tttr_data, minimum_number_of_photons=3, tttr_irf=None, m0_irf=1.0, m1_irf=1.0, dt=1.0, background=None, m0_bg=0.0, m1_bg=0.0, background_fraction=-1.0) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_indices: std::vector< int,std::allocator< int > > &\n"
		"tttr_data: TTTR *\n"
		"minimum_number_of_photons: int\n"
		"tttr_irf: TTTR *\n"
		"m0_irf: double\n"
		"m1_irf: double\n"
		"dt: double\n"
		"background: std::vector< double,std::allocator< double > > *\n"
		"m0_bg: double\n"
		"m1_bg: double\n"
		"background_fraction: double\n"
		"\n"
		"\n"
		"TTTRRange::compute_mean_lifetime\n"
		"Computes the mean lifetime for a set of TTTR indices.  \n"
		"\n"
		"The average lifetimes are computed (not fitted) by the methods of moments (Irvin\n"
		"Isenberg, 1973, Biophysical journal).  \n"
		"\n"
		"If a TTTRRange has not enough photons, it is filled with zeros.  \n"
		"\n"
		"By default, fluorescence lifetimes are computed in units of the micro time if no\n"
		"dt is provided.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_indices` :  \n"
		"    Vector of TTTR indices.  \n"
		"* `tttr_data` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `minimum_number_of_photons` :  \n"
		"    Minimum number of photons in a micro time.  \n"
		"* `tttr_irf` :  \n"
		"    Pointer to a TTTR object of the IRF.  \n"
		"* `m0_irf` :  \n"
		"    Zero moment of the IRF (optional, default=1).  \n"
		"* `m1_irf` :  \n"
		"    First moment of the IRF (optional, default=1).  \n"
		"* `dt` :  \n"
		"    Time resolution of the micro time.  \n"
		"* `background` :  \n"
		"    Vector of background values (optional).  \n"
		"* `m0_bg` :  \n"
		"    Zero moment of the background (optional, default=0).  \n"
		"* `m1_bg` :  \n"
		"    First moment of the background (optional, default=0).  \n"
		"* `background_fraction` :  \n"
		"    Fraction of background pattern in data (if negative, no background).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The mean lifetime.  \n"
		"\n"
		""},
	 { "TTTRRange___eq__", (PyCFunction)(void(*)(void))_wrap_TTTRRange___eq__, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange___eq__(self, other) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: TTTRRange const &\n"
		"\n"
		""},
	 { "TTTRRange___ne__", (PyCFunction)(void(*)(void))_wrap_TTTRRange___ne__, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange___ne__(self, other) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: TTTRRange const &\n"
		"\n"
		""},
	 { "TTTRRange___iadd__", (PyCFunction)(void(*)(void))_wrap_TTTRRange___iadd__, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRRange___iadd__(self, rhs) -> TTTRRange\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"rhs: TTTRRange const &\n"
		"\n"
		""},
	 { "TTTRRange_tttr_indices_get", _wrap_TTTRRange_tttr_indices_get, METH_O, "TTTRRange_tttr_indices_get(self) -> VectorInt32"},
	 { "TTTRRange_start_stop_get", _wrap_TTTRRange_start_stop_get, METH_O, "TTTRRange_start_stop_get(self) -> VectorInt32"},
	 { "TTTRRange_start_get", _wrap_TTTRRange_start_get, METH_O, "TTTRRange_start_get(self) -> int"},
	 { "TTTRRange_stop_get", _wrap_TTTRRange_stop_get, METH_O, "TTTRRange_stop_get(self) -> int"},
	 { "delete_TTTRRange", _wrap_delete_TTTRRange, METH_O, "delete_TTTRRange(self)"},
	 { "TTTRRange_swigregister", TTTRRange_swigregister, METH_O, NULL},
	 { "TTTRRange_swiginit", TTTRRange_swiginit, METH_VARARGS, NULL},
	 { "TTTRSelection_get_tttr", _wrap_TTTRSelection_get_tttr, METH_O, "\n"
		"TTTRSelection_get_tttr(self) -> std::shared_ptr< TTTR >\n"
		"\n"
		"TTTRSelection::get_tttr\n"
		""},
	 { "TTTRSelection_set_tttr", (PyCFunction)(void(*)(void))_wrap_TTTRSelection_set_tttr, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRSelection_set_tttr(self, tttr)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"\n"
		"\n"
		"TTTRSelection::set_tttr\n"
		""},
	 { "new_TTTRSelection", _wrap_new_TTTRSelection, METH_VARARGS, "\n"
		"TTTRSelection(start, stop, tttr)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"start: int\n"
		"stop: int\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"\n"
		"TTTRSelection(p2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2: TTTRSelection const &\n"
		"\n"
		"new_TTTRSelection(tttr=0) -> TTTRSelection\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"\n"
		"\n"
		"TTTRSelection::TTTRSelection\n"
		""},
	 { "TTTRSelection_tttr_indices_get", _wrap_TTTRSelection_tttr_indices_get, METH_O, "TTTRSelection_tttr_indices_get(self) -> VectorInt32"},
	 { "delete_TTTRSelection", _wrap_delete_TTTRSelection, METH_O, "delete_TTTRSelection(self)"},
	 { "TTTRSelection_swigregister", TTTRSelection_swigregister, METH_O, NULL},
	 { "TTTRSelection_swiginit", TTTRSelection_swiginit, METH_VARARGS, NULL},
	 { "selection_by_count_rate", (PyCFunction)(void(*)(void))_wrap_selection_by_count_rate, METH_VARARGS|METH_KEYWORDS, "\n"
		"selection_by_count_rate(time, time_window, n_ph_max, macro_time_calibration=1.0, invert=False, make_mask=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"time: unsigned long long *\n"
		"time_window: double\n"
		"n_ph_max: int\n"
		"macro_time_calibration: double\n"
		"invert: bool\n"
		"make_mask: bool\n"
		"\n"
		"\n"
		"\n"
		"A count rate (cr) filter that returns an array containing a list of indices\n"
		"where the cr was smaller than a specified cr.  \n"
		"\n"
		"The filter is applied to a series of consecutive time events. The time events\n"
		"are sliced into time windows tw) which have at least a duration as specified by\n"
		"time_window. The tttr indices of the time windows are written to the output\n"
		"parameter output. Moreover, for every tw the number of photons is determined. If\n"
		"in a tw the number of photons exceeds n_ph_max and invert is false (default) the\n"
		"tw is not written to output. If If in a tw the number of photons is less then\n"
		"n_ph_max and invert is true the tw is not written to output.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    output array  \n"
		"* `n_output` :  \n"
		"    number of elements in output array  \n"
		"* `time` :  \n"
		"    array of times  \n"
		"* `n_time` :  \n"
		"    number of times  \n"
		"* `time_window` :  \n"
		"    length of the time window  \n"
		"* `n_ph_max` :  \n"
		"    maximum number of photons in a time window  \n"
		"* `macro_time_calibration` :  \n"
		"* `invert` :  \n"
		"    if invert is true (default false) only indices where the number  \n"
		"* `make_mask` :  \n"
		"    if true (default false) returns array filled with -1 or idx of length n_time\n"
		"    of photons exceeds n_ph_max are selected  \n"
		"\n"
		""},
	 { "ranges_by_time_window", (PyCFunction)(void(*)(void))_wrap_ranges_by_time_window, METH_VARARGS|METH_KEYWORDS, "\n"
		"ranges_by_time_window(input, minimum_window_length, maximum_window_length=-1, minimum_number_of_photons_in_time_window=-1, maximum_number_of_photons_in_time_window=-1, macro_time_calibration=1.0, invert=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: unsigned long long *\n"
		"minimum_window_length: double\n"
		"maximum_window_length: double\n"
		"minimum_number_of_photons_in_time_window: int\n"
		"maximum_number_of_photons_in_time_window: int\n"
		"macro_time_calibration: double\n"
		"invert: bool\n"
		"\n"
		"\n"
		"\n"
		"Returns time windows (tw), i.e., the start and stop indices for a minimum tw\n"
		"size and a minimum number of photons in a tw.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    [out] Array containing the interleaved start and stop indices of the time\n"
		"    windows in the TTTR object.  \n"
		"* `n_output` :  \n"
		"    [out] Length of the output array.  \n"
		"* `input` :  \n"
		"    [in] Array containing the macro times.  \n"
		"* `n_input` :  \n"
		"    [in] Number of macro times.  \n"
		"* `minimum_window_length` :  \n"
		"    [in] Minimum length of a time window (mandatory).  \n"
		"* `maximum_window_length` :  \n"
		"    [in] Maximum length of a time window (optional).  \n"
		"* `minimum_number_of_photons_in_time_window` :  \n"
		"    [in] Minimum number of photons a selected time window must contain\n"
		"    (optional).  \n"
		"* `maximum_number_of_photons_in_time_window` :  \n"
		"    [in] Maximum number of photons a selected time window can contain\n"
		"    (optional).  \n"
		"* `macro_time_calibration` :  \n"
		"    [in] Calibration factor for macro times (default is 1.0).  \n"
		"* `invert` :  \n"
		"    [in] If set to true, the selection criteria are inverted.  \n"
		"\n"
		""},
	 { "compute_intensity_trace", (PyCFunction)(void(*)(void))_wrap_compute_intensity_trace, METH_VARARGS|METH_KEYWORDS, "\n"
		"compute_intensity_trace(input, time_window_length, macro_time_resolution=1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: unsigned long long *\n"
		"time_window_length: double\n"
		"macro_time_resolution: double\n"
		"\n"
		"\n"
		"\n"
		"Compute an intensity trace from sorted timestamps.  \n"
		"\n"
		"Parameters: output - pointer to the returned array of counts n_output - pointer\n"
		"to the number of bins returned input - sorted array of timestamps (same units as\n"
		"time_window) n_input - number of timestamps in `input[]` time_window - if\n"
		"overlapping==1: length of each sliding window; if overlapping==0: total time to\n"
		"cover (will be compared with t_max) macro_time_resolution - if overlapping==1:\n"
		"step size between successive window starts; if overlapping==0: non‐overlapping\n"
		"bin width overlapping - 1 ⇒ compute a sliding (overlapping) intensity trace; 0 ⇒\n"
		"compute non‐overlapping histogram bins  \n"
		"\n"
		"Behavior when overlapping==1 (“sliding‐window”):  \n"
		"\n"
		"*   Each window j spans [j·res, j·res + time_window), for j =\n"
		"    0..floor(t_max/res).  \n"
		"*   n_output = floor(t_max / res) + 1.  \n"
		"*   At each j, count how many timestamps fall into that window.  \n"
		"\n"
		"Behavior when overlapping==0 (“non‐overlapping bins”):  \n"
		"\n"
		"*   We cover up to max(t_max, time_window). Define total_span =\n"
		"    fmax((double)t_max, time_window).  \n"
		"*   n_output = ceil(total_span / macro_time_resolution).  \n"
		"*   Bin j spans [j·res, (j+1)·res). Count how many timestamps fall into each\n"
		"    bin.  \n"
		"\n"
		""},
	 { "TTTR___mod__", (PyCFunction)(void(*)(void))_wrap_TTTR___mod__, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR___mod__(self, mod_value) -> TTTR\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"mod_value: unsigned short\n"
		"\n"
		""},
	 { "TTTR___lshift__", (PyCFunction)(void(*)(void))_wrap_TTTR___lshift__, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR___lshift__(self, offset) -> TTTR\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"offset: long long\n"
		"\n"
		""},
	 { "TTTR_Get", _wrap_TTTR_Get, METH_O, "\n"
		"TTTR_Get(self) -> std::shared_ptr< TTTR >\n"
		"\n"
		"TTTR::Get\n"
		"Returns a shared pointer to the current instance of TTTR.  \n"
		"\n"
		"This function is used to create a shared pointer to the current instance of the\n"
		"TTTR class. It allows managing the ownership of the object using shared\n"
		"pointers.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"A shared pointer to the current instance of TTTR.  \n"
		"\n"
		""},
	 { "TTTR_copy_from", (PyCFunction)(void(*)(void))_wrap_TTTR_copy_from, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_copy_from(self, p2, include_big_data=True)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2: TTTR const &\n"
		"include_big_data: bool\n"
		"\n"
		"\n"
		"TTTR::copy_from\n"
		"Copies information from another TTTR object.  \n"
		"\n"
		"This function allows copying information from another TTTR object, including\n"
		"optional components based on the specified parameters.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `p2` :  \n"
		"    The TTTR object from which the information is copied.  \n"
		"* `include_big_data` :  \n"
		"    If true, macro time, micro time, etc., are also copied. Otherwise, only\n"
		"    essential information is copied.  \n"
		"\n"
		""},
	 { "TTTR_read_file", (PyCFunction)(void(*)(void))_wrap_TTTR_read_file, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_read_file(self, fn=None, container_type=-1) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fn: char const *\n"
		"container_type: int\n"
		"\n"
		"\n"
		"TTTR::read_file\n"
		"Reads TTTR data from a file into the TTTR object.  \n"
		"\n"
		"This function reads TTTR data from the specified file into the TTTR object. If\n"
		"the filename is not provided (default is nullptr), the filename attribute of the\n"
		"TTTR object is used. The container_type parameter specifies the type of\n"
		"container used in the file.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fn` :  \n"
		"    The filename to read. If nullptr (default), the TTTR object's filename is\n"
		"    used.  \n"
		"* `container_type` :  \n"
		"    The container type.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Returns 1 if the file is read without errors; otherwise, returns 0.  \n"
		"\n"
		""},
	 { "TTTR_get_number_of_records_by_file_size", (PyCFunction)(void(*)(void))_wrap_TTTR_get_number_of_records_by_file_size, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_number_of_records_by_file_size(fp, offset, bytes_per_record) -> size_t\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fp: std::FILE *\n"
		"offset: size_t\n"
		"bytes_per_record: size_t\n"
		"\n"
		"\n"
		"TTTR::get_number_of_records_by_file_size\n"
		"Determines the number of records in a TTTR file (not for use with HDF5).  \n"
		"\n"
		"Calculates the number of records in the file based on the file size. If the\n"
		"offset is passed, the number of records is calculated using the file size,\n"
		"offset, and bytes_per_record. If the offset is not specified, the current\n"
		"location of the file pointer is used. If bytes_per_record is not specified, the\n"
		"attribute value bytes_per_record of the class instance is used.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fp` :  \n"
		"    The file pointer to the TTTR file.  \n"
		"* `offset` :  \n"
		"    The offset for calculating the number of records.  \n"
		"* `bytes_per_record` :  \n"
		"    The number of bytes per record.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Returns the calculated number of records.  \n"
		"\n"
		""},
	 { "TTTR_append_events", (PyCFunction)(void(*)(void))_wrap_TTTR_append_events, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_append_events(self, macro_times, micro_times, routing_channels, event_types, shift_macro_time=True, macro_time_offset=0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"macro_times: unsigned long long *\n"
		"micro_times: unsigned short *\n"
		"routing_channels: signed char *\n"
		"event_types: signed char *\n"
		"shift_macro_time: bool\n"
		"macro_time_offset: long long\n"
		"\n"
		"\n"
		"TTTR::append_events\n"
		"Appends events to the TTTR object.  \n"
		"\n"
		"Appends events represented by macro_times, micro_times, routing_channels, and\n"
		"event_types to the TTTR object. The sizes of the input arrays (n_macrotimes,\n"
		"n_microtimes, n_routing_channels, n_event_types) must be equal.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `macro_times` :  \n"
		"    Array of macro time values.  \n"
		"* `n_macrotimes` :  \n"
		"    Number of elements in the macro_times array.  \n"
		"* `micro_times` :  \n"
		"    Array of micro time values.  \n"
		"* `n_microtimes` :  \n"
		"    Number of elements in the micro_times array.  \n"
		"* `routing_channels` :  \n"
		"    Array of routing channel values.  \n"
		"* `n_routing_channels` :  \n"
		"    Number of elements in the routing_channels array.  \n"
		"* `event_types` :  \n"
		"    Array of event type values.  \n"
		"* `n_event_types` :  \n"
		"    Number of elements in the event_types array.  \n"
		"* `shift_macro_time` :  \n"
		"    Flag indicating whether to shift macro times.  \n"
		"* `macro_time_offset` :  \n"
		"    Offset applied to macro times if shift_macro_time is true.  \n"
		"\n"
		""},
	 { "TTTR_alex_to_microtime", (PyCFunction)(void(*)(void))_wrap_TTTR_alex_to_microtime, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_alex_to_microtime(self, alex_period, period_shift=0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"alex_period: unsigned long\n"
		"period_shift: int\n"
		"\n"
		"\n"
		"TTTR::alex_to_microtime\n"
		"Assigns a microtime based on the alternating-laser excitation (ALEX) period.  \n"
		"\n"
		"This method computes a microtime for each macrotime value by taking the modulo\n"
		"operation of the macrotime with respect to the specified ALEX period.\n"
		"Optionally, a period shift can be applied to adjust the macrotime before the\n"
		"computation.  \n"
		"\n"
		"microtime = (macrotime - period_shift) modulo alex_period  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `alex_period` :  \n"
		"    The ALEX period in units of macrotime.  \n"
		"* `period_shift` :  \n"
		"    An optional shift applied to the macrotime before computing the microtime.\n"
		"    Default is 0.  \n"
		"\n"
		""},
	 { "TTTR_append_event", (PyCFunction)(void(*)(void))_wrap_TTTR_append_event, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_append_event(self, macro_time, micro_time, routing_channel, event_type, shift_macro_time=True, macro_time_offset=0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"macro_time: unsigned long long\n"
		"micro_time: unsigned short\n"
		"routing_channel: signed char\n"
		"event_type: signed char\n"
		"shift_macro_time: bool\n"
		"macro_time_offset: long long\n"
		"\n"
		"\n"
		"TTTR::append_event\n"
		"Appends a single event to the TTTR object.  \n"
		"\n"
		"Appends a single event represented by macro_time, micro_time, routing_channel,\n"
		"and event_type to the TTTR object.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `macro_time` :  \n"
		"    Macro time value for the event.  \n"
		"* `micro_time` :  \n"
		"    Micro time value for the event.  \n"
		"* `routing_channel` :  \n"
		"    Routing channel value for the event.  \n"
		"* `event_type` :  \n"
		"    Event type value for the event.  \n"
		"* `shift_macro_time` :  \n"
		"    Flag indicating whether to shift macro time.  \n"
		"* `macro_time_offset` :  \n"
		"    Offset applied to macro time if shift_macro_time is true.  \n"
		"\n"
		""},
	 { "TTTR_append", (PyCFunction)(void(*)(void))_wrap_TTTR_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_append(self, other, shift_macro_time=True, macro_time_offset=0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: TTTR const *\n"
		"shift_macro_time: bool\n"
		"macro_time_offset: long long\n"
		"\n"
		"\n"
		"TTTR::append\n"
		"Appends events from another TTTR object to the current TTTR object.  \n"
		"\n"
		"Appends events from another TTTR object (`other`) to the current TTTR object.\n"
		"Optionally shifts macro times and applies an offset to the macro times.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `other` :  \n"
		"    Pointer to the TTTR object containing events to append.  \n"
		"* `shift_macro_time` :  \n"
		"    Flag indicating whether to shift macro times.  \n"
		"* `macro_time_offset` :  \n"
		"    Offset applied to macro times if shift_macro_time is true.  \n"
		"\n"
		""},
	 { "TTTR_shift_micro_time_by_channel", (PyCFunction)(void(*)(void))_wrap_TTTR_shift_micro_time_by_channel, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_shift_micro_time_by_channel(self, channel, shift_value)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"channel: signed char\n"
		"shift_value: unsigned short\n"
		"\n"
		"\n"
		"TTTR::shift_micro_time_by_channel\n"
		"Shift the micro‐time of all events on a given routing channel.  \n"
		"\n"
		"Wraps around modulo the number of micro‐time channels.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `channel` :  \n"
		"    The routing channel to apply the shift to.  \n"
		"* `shift_value` :  \n"
		"    Number of micro‐time bins to add (can be larger than the number of bins).  \n"
		"\n"
		""},
	 { "TTTR_size", _wrap_TTTR_size, METH_O, "\n"
		"TTTR_size(self) -> size_t\n"
		"\n"
		"TTTR::size\n"
		"Returns the number of valid events in the TTTR data.  \n"
		"\n"
		"This function is a wrapper for the get_n_valid_events() method and returns the\n"
		"total number of valid events in the TTTR data.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The number of valid events.  \n"
		"\n"
		""},
	 { "TTTR_burst_search", (PyCFunction)(void(*)(void))_wrap_TTTR_burst_search, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_burst_search(self, L, m, T) -> VectorInt64\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"L: int\n"
		"m: int\n"
		"T: double\n"
		"\n"
		"\n"
		"TTTR::burst_search\n"
		"Sliding window burst search.  \n"
		"\n"
		"Finds bursts in the macro time array. A burst starts when the photon rate is\n"
		"above a minimum threshold, and ends when the rate falls below the same\n"
		"threshold. The rate-threshold is defined by the ratio `m`/`T` (`m` photons in a\n"
		"time interval `T`). A burst is discarded if it has less than `L` photons.  \n"
		"\n"
		"Arguments: L (int): minimum number of photons in a burst. Bursts with size (or\n"
		"counts) < L are discarded. m (int): number of consecutive photons used to\n"
		"compute the rate. T (double): max time separation of `m` photons to be inside a\n"
		"burst (in seconds).  \n"
		"\n"
		"Returns: vector<int64_t>: A vector of interleaved start and stop indices.  \n"
		"\n"
		""},
	 { "TTTR_get_used_routing_channels", _wrap_TTTR_get_used_routing_channels, METH_O, "\n"
		"TTTR_get_used_routing_channels(self)\n"
		"\n"
		"TTTR::get_used_routing_channels\n"
		"Retrieves the used routing channel numbers from the TTTR data.  \n"
		"\n"
		"This function populates the provided output array with the routing channel\n"
		"numbers that are used in the TTTR file. The number of elements in the output\n"
		"array is stored in the n_output parameter.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the output array to be populated.  \n"
		"* `n_output` :  \n"
		"    Pointer to the number of elements in the output array.  \n"
		"\n"
		""},
	 { "TTTR_get_macro_times", _wrap_TTTR_get_macro_times, METH_O, "\n"
		"TTTR_get_macro_times(self)\n"
		"\n"
		"TTTR::get_macro_times\n"
		"Retrieves the macro times of valid TTTR events.  \n"
		"\n"
		"This function populates the provided output array with the macro times of the\n"
		"valid TTTR events. The number of elements in the output array is stored in the\n"
		"n_output parameter.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the output array to be populated.  \n"
		"* `n_output` :  \n"
		"    Pointer to the number of elements in the output array.  \n"
		"\n"
		""},
	 { "TTTR_get_micro_times", _wrap_TTTR_get_micro_times, METH_O, "\n"
		"TTTR_get_micro_times(self)\n"
		"\n"
		"TTTR::get_micro_times\n"
		"Retrieves the micro times of valid TTTR events.  \n"
		"\n"
		"This function populates the provided output array with the micro times of the\n"
		"valid TTTR events. The number of elements in the output array is stored in the\n"
		"n_output parameter.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the output array to be populated.  \n"
		"* `n_output` :  \n"
		"    Pointer to the number of elements in the output array.  \n"
		"\n"
		""},
	 { "TTTR_get_intensity_trace", (PyCFunction)(void(*)(void))_wrap_TTTR_get_intensity_trace, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_intensity_trace(self, time_window_length=0.001)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"time_window_length: double\n"
		"\n"
		"\n"
		"TTTR::get_intensity_trace\n"
		"Computes and returns an intensity trace for a specified integration window.  \n"
		"\n"
		"The intensity trace is calculated based on the integration time windows, and the\n"
		"result is stored in the output array. The number of points in the intensity\n"
		"trace is returned through the n_output parameter.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the array to store the intensity trace.  \n"
		"* `n_output` :  \n"
		"    Pointer to the number of points in the intensity trace.  \n"
		"* `time_window_length` :  \n"
		"    The length of the integration time windows in units of seconds.  \n"
		"\n"
		""},
	 { "TTTR_get_routing_channel", _wrap_TTTR_get_routing_channel, METH_O, "\n"
		"TTTR_get_routing_channel(self)\n"
		"\n"
		"TTTR::get_routing_channel\n"
		"Returns an array containing the routing channel numbers of the valid TTTR\n"
		"events.  \n"
		"\n"
		"The routing channel numbers are stored in the output array, and the number of\n"
		"elements in the array is returned through the n_output parameter.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the array to store the routing channel numbers.  \n"
		"* `n_output` :  \n"
		"    Pointer to the number of elements in the output array.  \n"
		"\n"
		""},
	 { "TTTR_get_event_type", _wrap_TTTR_get_event_type, METH_O, "\n"
		"TTTR_get_event_type(self)\n"
		"\n"
		"TTTR::get_event_type\n"
		"Returns an array containing the event types of the valid TTTR events.  \n"
		"\n"
		"The event types are stored in the output array, and the number of elements in\n"
		"the array is returned through the n_output parameter.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the array to store the event types.  \n"
		"* `n_output` :  \n"
		"    Pointer to the number of elements in the output array.  \n"
		"\n"
		""},
	 { "TTTR_get_number_of_micro_time_channels", _wrap_TTTR_get_number_of_micro_time_channels, METH_O, "\n"
		"TTTR_get_number_of_micro_time_channels(self) -> unsigned int\n"
		"\n"
		"TTTR::get_number_of_micro_time_channels\n"
		"Returns the number of micro time channels that fit between two macro time\n"
		"clocks.  \n"
		"\n"
		"This function calculates and returns the maximum valid number of micro time\n"
		"channels that fit between two macro time clocks.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Maximum valid number of micro time channels.  \n"
		"\n"
		""},
	 { "TTTR_get_n_valid_events", _wrap_TTTR_get_n_valid_events, METH_O, "\n"
		"TTTR_get_n_valid_events(self) -> size_t\n"
		"\n"
		"TTTR::get_n_valid_events\n"
		"Returns the number of valid events in the TTTR file.  \n"
		"\n"
		"This function retrieves and returns the total number of valid events present in\n"
		"the TTTR (Time-Tagged Time-Resolved) file.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Number of valid events in the TTTR file.  \n"
		"\n"
		""},
	 { "TTTR_get_tttr_container_type", _wrap_TTTR_get_tttr_container_type, METH_O, "\n"
		"TTTR_get_tttr_container_type(self) -> std::string\n"
		"\n"
		"TTTR::get_tttr_container_type\n"
		"Returns the container type used to open the TTTR file.  \n"
		"\n"
		"This function retrieves and returns the container type that was used to open the\n"
		"TTTR (Time-Tagged Time-Resolved) file.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Container type used to open the TTTR file.  \n"
		"\n"
		""},
	 { "TTTR_get_supported_container_names", _wrap_TTTR_get_supported_container_names, METH_NOARGS, "\n"
		"TTTR_get_supported_container_names() -> VectorString\n"
		"\n"
		"TTTR::get_supported_container_names\n"
		"Retrieves a list of supported container names.  \n"
		"\n"
		"This function returns a list of supported container names, e.g. 'PTU',\n"
		"'SPC-130', etc..  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"std::vector<std::string> A list of supported container names.  \n"
		"\n"
		""},
	 { "TTTR_select", (PyCFunction)(void(*)(void))_wrap_TTTR_select, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_select(self, selection) -> std::shared_ptr< TTTR >\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"selection: int *\n"
		"\n"
		"\n"
		"TTTR::select\n"
		"Creates a new TTTR object by selecting specific events based on the provided\n"
		"indices.  \n"
		"\n"
		"This function creates a new TTTR (Time-Tagged Time-Resolved) object by selecting\n"
		"specific events from the current TTTR object based on the provided indices.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `selection` :  \n"
		"    Pointer to an array containing the indices of selected events.  \n"
		"* `n_selection` :  \n"
		"    Number of elements in the selection array.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Shared pointer to the newly created TTTR object containing selected events.  \n"
		"\n"
		""},
	 { "new_TTTR", _wrap_new_TTTR, METH_VARARGS, "\n"
		"TTTR()\n"
		"TTTR(p2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2: TTTR const &\n"
		"\n"
		"TTTR(filename, container_type, read_input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: char const *\n"
		"container_type: int\n"
		"read_input: bool\n"
		"\n"
		"TTTR(filename)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: char const *\n"
		"\n"
		"TTTR(filename, container_type)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: char const *\n"
		"container_type: int\n"
		"\n"
		"TTTR(filename, container_type)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: char const *\n"
		"container_type: char const *\n"
		"\n"
		"TTTR(macro_times, micro_times, routing_channels, event_types, find_used_channels=True)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"macro_times: unsigned long long *\n"
		"micro_times: unsigned short *\n"
		"routing_channels: signed char *\n"
		"event_types: signed char *\n"
		"find_used_channels: bool\n"
		"\n"
		"new_TTTR(parent, selection, find_used_channels=True) -> TTTR\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"parent: TTTR const &\n"
		"selection: int *\n"
		"find_used_channels: bool\n"
		"\n"
		"\n"
		"TTTR::TTTR\n"
		"Constructor for creating a new TTTR object containing records specified in the\n"
		"selection array.  \n"
		"\n"
		"The selection array is an array of indices. The events with indices in the\n"
		"selection array are copied in the order of the selection array to a new TTTR\n"
		"object.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `parent` :  \n"
		"    Parent TTTR object from which to select records.  \n"
		"* `selection` :  \n"
		"    Array of indices specifying the selected records.  \n"
		"* `n_selection` :  \n"
		"    Number of elements in the selection array.  \n"
		"* `find_used_channels` :  \n"
		"    If set to true (default), searches all indices to find the used routing\n"
		"    channels.  \n"
		"\n"
		""},
	 { "delete_TTTR", _wrap_delete_TTTR, METH_O, "\n"
		"delete_TTTR(self)\n"
		"\n"
		"TTTR::~TTTR\n"
		"Destructor for TTTR class. Releases any allocated resources and cleans up the\n"
		"TTTR object.  \n"
		"\n"
		""},
	 { "TTTR_get_filename", _wrap_TTTR_get_filename, METH_O, "\n"
		"TTTR_get_filename(self) -> std::string\n"
		"\n"
		"TTTR::get_filename\n"
		"Getter for the filename of the TTTR file.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The filename of the TTTR file.  \n"
		"\n"
		""},
	 { "TTTR_get_tttr_by_selection", (PyCFunction)(void(*)(void))_wrap_TTTR_get_tttr_by_selection, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_tttr_by_selection(self, selection) -> std::shared_ptr< TTTR >\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"selection: int *\n"
		"\n"
		"\n"
		"TTTR::get_tttr_by_selection\n"
		"Get a pointer to a TTTR object that is based on a selection on the current TTTR\n"
		"object. A selection is an array of indices of the TTTR events.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `selection` :  \n"
		"    Array of indices of TTTR events.  \n"
		"* `n_selection` :  \n"
		"    Number of elements in the selection array.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"A shared pointer to a new TTTR object based on the specified selection.  \n"
		"\n"
		""},
	 { "TTTR_get_ranges_by_time_window", (PyCFunction)(void(*)(void))_wrap_TTTR_get_ranges_by_time_window, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_ranges_by_time_window(self, minimum_window_length, maximum_window_length=-1, minimum_number_of_photons_in_time_window=-1, maximum_number_of_photons_in_time_window=-1, macro_time_calibration=-1, invert=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"minimum_window_length: double\n"
		"maximum_window_length: double\n"
		"minimum_number_of_photons_in_time_window: int\n"
		"maximum_number_of_photons_in_time_window: int\n"
		"macro_time_calibration: double\n"
		"invert: bool\n"
		"\n"
		"\n"
		"TTTR::get_ranges_by_time_window\n"
		"Returns time windows (tw), i.e., the start and the stop indices for a minimum tw\n"
		"size, a minimum number of photons in a tw.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    [out] Array containing the interleaved start and stop indices of the tws in\n"
		"    the TTTR object.  \n"
		"* `n_output` :  \n"
		"    [out] Length of the output array  \n"
		"* `minimum_window_length` :  \n"
		"    [in] Minimum length of a tw (mandatory).  \n"
		"* `maximum_window_length` :  \n"
		"    [in] Maximum length of a tw (optional).  \n"
		"* `minimum_number_of_photons_in_time_window` :  \n"
		"    [in] Minimum number of photons a selected tw contains (optional)  \n"
		"* `maximum_number_of_photons_in_time_window` :  \n"
		"    [in] Maximum number of photons a selected tw contains (optional)  \n"
		"* `macro_time_calibration` :  \n"
		"    [in] Macro time calibration in units of the macro time resolution. If\n"
		"    negative, the macro time resolution from the TTTR header is used.  \n"
		"* `invert` :  \n"
		"    [in] If set to true, the selection criteria are inverted.  \n"
		"\n"
		""},
	 { "TTTR_get_selection_by_channel", (PyCFunction)(void(*)(void))_wrap_TTTR_get_selection_by_channel, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_selection_by_channel(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: signed char *\n"
		"\n"
		"\n"
		"TTTR::get_selection_by_channel\n"
		"Get events indices by the routing channel number.  \n"
		"\n"
		"This method retrieves an array containing the event/ photon indices of events\n"
		"with routing channel numbers found in the selection input array.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    [out] Indices of the selected events  \n"
		"* `n_output` :  \n"
		"    [out] Number of selected events  \n"
		"* `input` :  \n"
		"    [in] Routing channel numbers for selecting events  \n"
		"* `n_input` :  \n"
		"    [in] Number of routing channels for selection  \n"
		"\n"
		""},
	 { "TTTR_get_tttr_by_channel", (PyCFunction)(void(*)(void))_wrap_TTTR_get_tttr_by_channel, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_tttr_by_channel(self, input) -> std::shared_ptr< TTTR >\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: signed char *\n"
		"\n"
		"\n"
		"TTTR::get_tttr_by_channel\n"
		"Get a TTTR object based on a selection by routing channel numbers.  \n"
		"\n"
		"This method creates and returns a shared pointer to a TTTR object that contains\n"
		"only the events with routing channel numbers specified in the input array.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `input` :  \n"
		"    [in] Routing channel numbers for selecting events  \n"
		"* `n_input` :  \n"
		"    [in] Number of routing channels for selection  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Shared pointer to the new TTTR object based on the specified selection  \n"
		"\n"
		""},
	 { "TTTR_get_selection_by_count_rate", (PyCFunction)(void(*)(void))_wrap_TTTR_get_selection_by_count_rate, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_selection_by_count_rate(self, time_window, n_ph_max, invert=False, make_mask=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"time_window: double\n"
		"n_ph_max: int\n"
		"invert: bool\n"
		"make_mask: bool\n"
		"\n"
		"\n"
		"TTTR::get_selection_by_count_rate\n"
		"Get indices where the count rate is below a specified maximum.  \n"
		"\n"
		"This method returns an array of indices where the count rate, calculated within\n"
		"a sliding time window, is below a specified maximum.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    [out] Array containing the selected indices  \n"
		"* `n_output` :  \n"
		"    [out] Number of elements in the output array  \n"
		"* `time_window` :  \n"
		"    [in] Length of the time window in milliseconds  \n"
		"* `n_ph_max` :  \n"
		"    [in] Maximum number of photons within a time window  \n"
		"* `invert` :  \n"
		"    [in] If set to true, the selection criteria are inverted  \n"
		"* `make_mask` :  \n"
		"    [in] If set to true, the output array will be a boolean mask  \n"
		"\n"
		""},
	 { "TTTR_get_tttr_by_count_rate", (PyCFunction)(void(*)(void))_wrap_TTTR_get_tttr_by_count_rate, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_tttr_by_count_rate(self, time_window, n_ph_max, invert=False, make_mask=False) -> std::shared_ptr< TTTR >\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"time_window: double\n"
		"n_ph_max: int\n"
		"invert: bool\n"
		"make_mask: bool\n"
		"\n"
		"\n"
		"TTTR::get_tttr_by_count_rate\n"
		"Get a TTTR object filtered by count rate criteria.  \n"
		"\n"
		"This method returns a TTTR object filtered based on count rate criteria.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `time_window` :  \n"
		"    [in] Length of the time window in milliseconds  \n"
		"* `n_ph_max` :  \n"
		"    [in] Maximum number of photons within a time window  \n"
		"* `invert` :  \n"
		"    [in] If set to true, the count rate criteria are inverted  \n"
		"* `make_mask` :  \n"
		"    [in] If set to true, the output array will be a boolean mask  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"A shared pointer to the filtered TTTR object  \n"
		"\n"
		""},
	 { "TTTR_get_time_window_ranges", (PyCFunction)(void(*)(void))_wrap_TTTR_get_time_window_ranges, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_time_window_ranges(self, minimum_window_length, minimum_number_of_photons_in_time_window, maximum_number_of_photons_in_time_window=-1, maximum_window_length=-1.0, macro_time_calibration=-1, invert=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"minimum_window_length: double\n"
		"minimum_number_of_photons_in_time_window: int\n"
		"maximum_number_of_photons_in_time_window: int\n"
		"maximum_window_length: double\n"
		"macro_time_calibration: double\n"
		"invert: bool\n"
		"\n"
		"\n"
		"TTTR::get_time_window_ranges\n"
		"Get time windows (tw) based on specified criteria.  \n"
		"\n"
		"Returns time windows (tw), i.e., the start and stop indices for a minimum tw\n"
		"size, a minimum number of photons in a tw.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output[out]` :  \n"
		"    Array containing the interleaved start and stop indices of the tws in the\n"
		"    TTTR object.  \n"
		"* `n_output[out]` :  \n"
		"    Length of the output array  \n"
		"* `minimum_window_length[in]` :  \n"
		"    Minimum length of a tw in units of ms (mandatory).  \n"
		"* `minimum_number_of_photons_in_time_window[in]` :  \n"
		"    Minimum number of photons a selected tw contains (optional) in units of\n"
		"    seconds  \n"
		"* `maximum_number_of_photons_in_time_window[in]` :  \n"
		"    Maximum number of photons a selected tw contains (optional)  \n"
		"* `maximum_window_length[in]` :  \n"
		"    Maximum length of a tw (optional).  \n"
		"* `macro_time_calibration[in]` :  \n"
		"    Macro time calibration in units of seconds. If negative, the macro time\n"
		"    resolution from the header is used.  \n"
		"* `invert[in]` :  \n"
		"    If set to true, the selection criteria are inverted.  \n"
		"\n"
		""},
	 { "TTTR_get_header", _wrap_TTTR_get_header, METH_O, "\n"
		"TTTR_get_header(self) -> TTTRHeader\n"
		"\n"
		"TTTR::get_header\n"
		"Get the header as a map of strings.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Pointer to the TTTRHeader object representing the header information. If no\n"
		"header is present, returns nullptr.  \n"
		"\n"
		""},
	 { "TTTR_set_header", (PyCFunction)(void(*)(void))_wrap_TTTR_set_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_set_header(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: TTTRHeader *\n"
		"\n"
		"\n"
		"TTTR::set_header\n"
		"Set the header for the TTTR object.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `v` :  \n"
		"    Pointer to the TTTRHeader object containing the header information.  \n"
		"\n"
		""},
	 { "TTTR_get_n_events", _wrap_TTTR_get_n_events, METH_O, "\n"
		"TTTR_get_n_events(self) -> size_t\n"
		"\n"
		"TTTR::get_n_events\n"
		"Returns the number of events in the TTTR file, or the number of selected events\n"
		"if a selection is applied.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Number of events in the TTTR file or the number of selected events.  \n"
		"\n"
		""},
	 { "TTTR_write", (PyCFunction)(void(*)(void))_wrap_TTTR_write, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_write(self, filename, header=None) -> bool\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filename: std::string\n"
		"header: TTTRHeader *\n"
		"\n"
		"\n"
		"TTTR::write\n"
		"Writes the contents of an opened TTTR file to a new TTTR file.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filename` :  \n"
		"    The filename for the new TTTR file.  \n"
		"* `header` :  \n"
		"    Optional TTTRHeader to be written. If set to nullptr, no header is written\n"
		"    (default is nullptr).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"True if the write operation is successful, false otherwise.  \n"
		"\n"
		""},
	 { "TTTR_write_spc132_events", (PyCFunction)(void(*)(void))_wrap_TTTR_write_spc132_events, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_write_spc132_events(self, fp, tttr)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fp: FILE *\n"
		"tttr: TTTR *\n"
		"\n"
		"\n"
		"TTTR::write_spc132_events\n"
		"Write events from the TTTR object to a file as SPC-132.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fp` :  \n"
		"    The FILE pointer for the output file.  \n"
		"* `tttr` :  \n"
		"    The TTTR object containing the events to be written.  \n"
		"\n"
		""},
	 { "TTTR_write_hht3v2_events", (PyCFunction)(void(*)(void))_wrap_TTTR_write_hht3v2_events, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_write_hht3v2_events(self, fp, tttr)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fp: FILE *\n"
		"tttr: TTTR *\n"
		"\n"
		"\n"
		"TTTR::write_hht3v2_events\n"
		"Write events from the TTTR object to a file as HHT3v2.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fp` :  \n"
		"    The FILE pointer for the output file.  \n"
		"* `tttr` :  \n"
		"    The TTTR object containing the events to be written.  \n"
		"\n"
		""},
	 { "TTTR_write_header", (PyCFunction)(void(*)(void))_wrap_TTTR_write_header, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_write_header(self, fn, header=None)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fn: std::string &\n"
		"header: TTTRHeader *\n"
		"\n"
		"\n"
		"TTTR::write_header\n"
		"Writes the header information to a TTTR file.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `fn` :  \n"
		"    The filename to write the header to.  \n"
		"* `header` :  \n"
		"    Pointer to the TTTRHeader object containing header information.  \n"
		"\n"
		""},
	 { "TTTR_shift_macro_time", (PyCFunction)(void(*)(void))_wrap_TTTR_shift_macro_time, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_shift_macro_time(self, shift)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"shift: int\n"
		"\n"
		"\n"
		"TTTR::shift_macro_time\n"
		"Shifts the macro time by adding an integer value to each macro time entry.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `shift` :  \n"
		"    The integer value added to each macro time entry.  \n"
		"\n"
		""},
	 { "TTTR___add__", (PyCFunction)(void(*)(void))_wrap_TTTR___add__, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR___add__(self, other) -> TTTR\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: TTTR const *\n"
		"\n"
		""},
	 { "TTTR_compute_microtime_histogram", (PyCFunction)(void(*)(void))_wrap_TTTR_compute_microtime_histogram, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_compute_microtime_histogram(tttr_data, micro_time_coarsening=1, tttr_indices=None, channels=None, minlength=-1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"micro_time_coarsening: unsigned short\n"
		"tttr_indices: std::vector< int,std::allocator< int > > *\n"
		"channels: std::vector< int,std::allocator< int > > *\n"
		"minlength: int\n"
		"\n"
		"\n"
		"TTTR::compute_microtime_histogram\n"
		"Computes a histogram of the TTTR data's micro times.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to the TTTR object containing the data.  \n"
		"* `output` :  \n"
		"    Pointer to which the histogram will be written (memory is allocated by the\n"
		"    method).  \n"
		"* `n_output` :  \n"
		"    Pointer to the number of points in the histogram.  \n"
		"* `time` :  \n"
		"    Pointer to the time axis of the histogram (memory is allocated by the\n"
		"    method).  \n"
		"* `n_time` :  \n"
		"    Pointer to the number of points in the time axis.  \n"
		"* `micro_time_coarsening` :  \n"
		"    A factor by which the micro times in the TTTR object are divided (default\n"
		"    value is 1).  \n"
		"* `tttr_indices` :  \n"
		"    Optional pointer to store the indices of TTTR events used in the histogram.  \n"
		"* `channels` :  \n"
		"    Optional list of routing channels to filter photons.  \n"
		"* `minlength` :  \n"
		"    Minimal length of output array (optional)  \n"
		"\n"
		""},
	 { "TTTR_get_microtime_histogram", (PyCFunction)(void(*)(void))_wrap_TTTR_get_microtime_histogram, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_microtime_histogram(self, micro_time_coarsening=1, channels=std::vector< int >(), minlength=-1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"micro_time_coarsening: unsigned short\n"
		"channels: std::vector< int,std::allocator< int > >\n"
		"minlength: int\n"
		"\n"
		"\n"
		"TTTR::get_microtime_histogram\n"
		"Computes and returns a histogram of the TTTR data's micro times.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `histogram` :  \n"
		"    Pointer to which the histogram will be written (memory is allocated by the\n"
		"    method).  \n"
		"* `n_histogram` :  \n"
		"    Pointer to the number of points in the histogram.  \n"
		"* `time` :  \n"
		"    Pointer to the time axis of the histogram (memory is allocated by the\n"
		"    method).  \n"
		"* `n_time` :  \n"
		"    Pointer to the number of points in the time axis.  \n"
		"* `micro_time_coarsening` :  \n"
		"    A factor by which the micro times in the TTTR object are divided (default\n"
		"    value is 1).  \n"
		"* `channels` :  \n"
		"    Optional list of routing channels to filter photons.  \n"
		"\n"
		""},
	 { "TTTR_compute_mean_lifetime", (PyCFunction)(void(*)(void))_wrap_TTTR_compute_mean_lifetime, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_compute_mean_lifetime(tttr_data, tttr_irf=None, m0_irf=1, m1_irf=0, tttr_indices=None, dt=-1.0, minimum_number_of_photons=1, background=None, m0_bg=0.0, m1_bg=0.0, background_fraction=-1.0) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"tttr_irf: TTTR *\n"
		"m0_irf: double\n"
		"m1_irf: double\n"
		"tttr_indices: std::vector< int,std::allocator< int > > *\n"
		"dt: double\n"
		"minimum_number_of_photons: int\n"
		"background: std::vector< double,std::allocator< double > > *\n"
		"m0_bg: double\n"
		"m1_bg: double\n"
		"background_fraction: double\n"
		"\n"
		"\n"
		"TTTR::compute_mean_lifetime\n"
		"Computes the mean lifetime by the moments of the decay and the instrument\n"
		"response function.  \n"
		"\n"
		"The computed lifetime is the first lifetime determined by the method of moments\n"
		"(Irvin Isenberg, 1973, Biophysical journal).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    TTTR object for which the lifetime is computed.  \n"
		"* `tttr_irf` :  \n"
		"    TTTR object that is used as IRF.  \n"
		"* `m0_irf` :  \n"
		"    Number of counts in the IRF (used if no TTTR object for IRF provided).  \n"
		"* `m1_irf` :  \n"
		"    First moment of the IRF (used if no TTTR object for IRF provided).  \n"
		"* `tttr_indices` :  \n"
		"    Optional list of indices for selecting a subset of the TTTR.  \n"
		"* `dt` :  \n"
		"    Time resolution of the micro time. If not provided, extracted from the\n"
		"    header (slow).  \n"
		"* `minimum_number_of_photons` :  \n"
		"    Minimum number of photons. If fewer photons are in the dataset, returns -1\n"
		"    as computed lifetime.  \n"
		"* `background` :  \n"
		"    Background pattern.  \n"
		"* `m0_bg` :  \n"
		"    Sum of background photons (overwritten if the background pattern is not\n"
		"    empty).  \n"
		"* `m1_bg` :  \n"
		"    First moment of the background pattern (overwritten if the background\n"
		"    pattern is not empty).  \n"
		"* `background_fraction` :  \n"
		"    Background fraction (if negative, the background is not scaled).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The computed lifetime.  \n"
		"\n"
		""},
	 { "TTTR_mean_lifetime", (PyCFunction)(void(*)(void))_wrap_TTTR_mean_lifetime, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_mean_lifetime(self, tttr_irf=None, m0_irf=1, m1_irf=1, tttr_indices=None, dt=-1.0, min_ph=1) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_irf: TTTR *\n"
		"m0_irf: int\n"
		"m1_irf: int\n"
		"tttr_indices: std::vector< int,std::allocator< int > > *\n"
		"dt: double\n"
		"min_ph: int\n"
		"\n"
		"\n"
		"TTTR::mean_lifetime\n"
		"Computes the mean lifetime by moments of decay and instrument response.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_irf` :  \n"
		"    TTTR object used as IRF.  \n"
		"* `m0_irf` :  \n"
		"    Counts in the IRF (used if no TTTR object for IRF provided).  \n"
		"* `m1_irf` :  \n"
		"    First moment of the IRF (used if no TTTR object for IRF provided).  \n"
		"* `tttr_indices` :  \n"
		"    Optional indices for selecting a subset of the TTTR.  \n"
		"* `dt` :  \n"
		"    Time resolution of the micro time. If not provided, extracted from the\n"
		"    header (slow).  \n"
		"* `min_ph` :  \n"
		"    Minimum number of photons. If fewer photons are in the dataset, returns -1\n"
		"    as computed lifetime.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Computed mean lifetime.  \n"
		"\n"
		""},
	 { "TTTR_compute_count_rate", (PyCFunction)(void(*)(void))_wrap_TTTR_compute_count_rate, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_compute_count_rate(tttr_data, tttr_indices=None, macrotime_resolution=-1.0) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"tttr_indices: std::vector< int,std::allocator< int > > *\n"
		"macrotime_resolution: double\n"
		"\n"
		"\n"
		"TTTR::compute_count_rate\n"
		"Computes the count rate.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    TTTR object for which the count rate is computed.  \n"
		"* `tttr_indices` :  \n"
		"    Optional indices for selecting a subset of the TTTR.  \n"
		"* `macrotime_resolution` :  \n"
		"    If negative (default), reads macrotime resolution from header (slow).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Count rate.  \n"
		"\n"
		""},
	 { "TTTR_get_count_rate", (PyCFunction)(void(*)(void))_wrap_TTTR_get_count_rate, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_count_rate(self, tttr_indices=None, macrotime_resolution=-1.0) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_indices: std::vector< int,std::allocator< int > > *\n"
		"macrotime_resolution: double\n"
		"\n"
		"\n"
		"TTTR::get_count_rate\n"
		"Gets the count rate.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_indices` :  \n"
		"    Optional indices for selecting a subset of the TTTR.  \n"
		"* `macrotime_resolution` :  \n"
		"    If negative (default), reads macrotime resolution from header (slow).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Count rate.  \n"
		"\n"
		""},
	 { "TTTR_compute_mean_microtime", (PyCFunction)(void(*)(void))_wrap_TTTR_compute_mean_microtime, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_compute_mean_microtime(tttr_data, tttr_indices=None, microtime_resolution=-1.0, minimum_number_of_photons=1) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"tttr_indices: std::vector< int,std::allocator< int > > *\n"
		"microtime_resolution: double\n"
		"minimum_number_of_photons: int\n"
		"\n"
		"\n"
		"TTTR::compute_mean_microtime\n"
		"Computes the mean microtime.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    TTTR object for which the mean microtime is computed.  \n"
		"* `tttr_indices` :  \n"
		"    Optional indices for selecting a subset of the TTTR.  \n"
		"* `microtime_resolution` :  \n"
		"    If negative (default), reads microtime resolution from header (slow).  \n"
		"* `minimum_number_of_photons` :  \n"
		"    Minimum number of photons. If less, returns -1 as computed mean microtime.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The computed mean microtime.  \n"
		"\n"
		""},
	 { "TTTR_get_mean_microtime", (PyCFunction)(void(*)(void))_wrap_TTTR_get_mean_microtime, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTR_get_mean_microtime(self, tttr_indices=None, microtime_resolution=-1.0, minimum_number_of_photons=1) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_indices: std::vector< int,std::allocator< int > > *\n"
		"microtime_resolution: double\n"
		"minimum_number_of_photons: int\n"
		"\n"
		"\n"
		"TTTR::get_mean_microtime\n"
		"Gets the mean microtime.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_indices` :  \n"
		"    Optional indices for selecting a subset of the TTTR.  \n"
		"* `microtime_resolution` :  \n"
		"    If negative (default), reads microtime resolution from header (slow).  \n"
		"* `minimum_number_of_photons` :  \n"
		"    Minimum number of photons. If less, returns -1 as computed mean microtime.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The computed mean microtime.  \n"
		"\n"
		""},
	 { "TTTR_swigregister", TTTR_swigregister, METH_O, NULL},
	 { "TTTR_swiginit", TTTR_swiginit, METH_VARARGS, NULL},
	 { "delete_TTTRMask", _wrap_delete_TTTRMask, METH_O, "\n"
		"delete_TTTRMask(self)\n"
		"\n"
		"TTTRMask::~TTTRMask\n"
		""},
	 { "new_TTTRMask", _wrap_new_TTTRMask, METH_VARARGS, "\n"
		"TTTRMask()\n"
		"new_TTTRMask(data) -> TTTRMask\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data: TTTR *\n"
		"\n"
		"\n"
		"TTTRMask::TTTRMask\n"
		""},
	 { "TTTRMask_size", _wrap_TTTRMask_size, METH_O, "\n"
		"TTTRMask_size(self) -> int\n"
		"\n"
		"TTTRMask::size\n"
		""},
	 { "TTTRMask_flip", _wrap_TTTRMask_flip, METH_O, "\n"
		"TTTRMask_flip(self)\n"
		"\n"
		"TTTRMask::flip\n"
		""},
	 { "TTTRMask_set_mask", (PyCFunction)(void(*)(void))_wrap_TTTRMask_set_mask, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRMask_set_mask(self, mask)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"mask: std::vector< bool,std::allocator< bool > >\n"
		"\n"
		"\n"
		"TTTRMask::set_mask\n"
		""},
	 { "TTTRMask_get_mask", _wrap_TTTRMask_get_mask, METH_O, "\n"
		"TTTRMask_get_mask(self) -> VectorBool\n"
		"\n"
		"TTTRMask::get_mask\n"
		""},
	 { "TTTRMask_set_tttr", (PyCFunction)(void(*)(void))_wrap_TTTRMask_set_tttr, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRMask_set_tttr(self, tttr)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: TTTR *\n"
		"\n"
		"\n"
		"TTTRMask::set_tttr\n"
		""},
	 { "TTTRMask_select_channels", (PyCFunction)(void(*)(void))_wrap_TTTRMask_select_channels, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRMask_select_channels(self, tttr, routing_channels, mask=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: TTTR *\n"
		"routing_channels: signed char *\n"
		"mask: bool\n"
		"\n"
		"\n"
		"TTTRMask::select_channels\n"
		"Selects a subset of indices by a list of routing channel numbers.  \n"
		"\n"
		"The returned set of indices will have routing channel numbers that are in the\n"
		"list of the provided routing channel numbers.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to TTTR object.  \n"
		"* `routing_channels` :  \n"
		"    Array of routing channel numbers. A subset of this array will be selected by\n"
		"    the input.  \n"
		"* `n_routing_channels` :  \n"
		"    Length of the routing channel number array.  \n"
		"* `mask` :  \n"
		"    Default value if a channel is selected.  \n"
		"\n"
		""},
	 { "TTTRMask_select_count_rate", (PyCFunction)(void(*)(void))_wrap_TTTRMask_select_count_rate, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRMask_select_count_rate(self, tttr, time_window, n_ph_max, invert)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: TTTR *\n"
		"time_window: double\n"
		"n_ph_max: int\n"
		"invert: bool\n"
		"\n"
		"\n"
		"TTTRMask::select_count_rate\n"
		"Selects a subset of indices a count rate of a sliding time-window  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    pointer to TTTR object  \n"
		"* `time_window` :  \n"
		"    time window size in units of seconds  \n"
		"* `n_ph_max` :  \n"
		"    maximum number of photons in time window  \n"
		"* `invert` :  \n"
		"    boolean used to invert selection  \n"
		"\n"
		""},
	 { "TTTRMask_select_microtime_ranges", (PyCFunction)(void(*)(void))_wrap_TTTRMask_select_microtime_ranges, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRMask_select_microtime_ranges(self, tttr, micro_time_ranges=std::vector< std::pair< int,int > >())\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: TTTR *\n"
		"micro_time_ranges: std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >\n"
		"\n"
		"\n"
		"TTTRMask::select_microtime_ranges\n"
		"Masks outside the provides micro time ranges  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"* `micro_time_ranges` :  \n"
		"* `mask` :  \n"
		"\n"
		""},
	 { "TTTRMask_get_indices", (PyCFunction)(void(*)(void))_wrap_TTTRMask_get_indices, METH_VARARGS|METH_KEYWORDS, "\n"
		"TTTRMask_get_indices(self, selected=True) -> VectorInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"selected: bool\n"
		"\n"
		"\n"
		"TTTRMask::get_indices\n"
		"Parameters\n"
		"----------\n"
		"* `selected` :  \n"
		"    if selected is true returns selected (unmasked) indices otherwise masked\n"
		"    indices are returned  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "TTTRMask_get_selected_ranges", _wrap_TTTRMask_get_selected_ranges, METH_O, "\n"
		"TTTRMask_get_selected_ranges(self) -> VectorInt32\n"
		"\n"
		"TTTRMask::get_selected_ranges\n"
		""},
	 { "TTTRMask_swigregister", TTTRMask_swigregister, METH_O, NULL},
	 { "TTTRMask_swiginit", TTTRMask_swiginit, METH_VARARGS, NULL},
	 { "bincount1D", (PyCFunction)(void(*)(void))_wrap_bincount1D, METH_VARARGS|METH_KEYWORDS, "\n"
		"bincount1D(data, bins, n_bins)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data: int *\n"
		"bins: int *\n"
		"n_bins: int\n"
		"\n"
		"\n"
		"\n"
		""},
	 { "histogram1D_int", (PyCFunction)(void(*)(void))_wrap_histogram1D_int, METH_VARARGS|METH_KEYWORDS, "\n"
		"histogram1D_int(data, weights, bin_edges, hist, axis_type, use_weights)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data: int *\n"
		"weights: double *\n"
		"bin_edges: int *\n"
		"hist: double *\n"
		"axis_type: char const *\n"
		"use_weights: bool\n"
		"\n"
		"\n"
		"\n"
		"templateparam\n"
		"-------------\n"
		"* `T` :  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `data` :  \n"
		"* `n_data` :  \n"
		"* `weights` :  \n"
		"* `n_weights` :  \n"
		"* `bin_edges` :  \n"
		"    contains the edges of the histogram in ascending order (from small to large)  \n"
		"* `n_bins` :  \n"
		"    the number of bins in the histogram  \n"
		"* `hist` :  \n"
		"* `n_hist` :  \n"
		"* `axis_type` :  \n"
		"* `use_weights` :  \n"
		"    if true the weights specified by  \n"
		"* `weights` :  \n"
		"    are used for the calculation of the histogram instead of simply counting the\n"
		"    frequency.  \n"
		"\n"
		""},
	 { "histogram1D_double", (PyCFunction)(void(*)(void))_wrap_histogram1D_double, METH_VARARGS|METH_KEYWORDS, "\n"
		"histogram1D_double(data, weights, bin_edges, hist, axis_type, use_weights)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data: double *\n"
		"weights: double *\n"
		"bin_edges: double *\n"
		"hist: double *\n"
		"axis_type: char const *\n"
		"use_weights: bool\n"
		"\n"
		"\n"
		"\n"
		"templateparam\n"
		"-------------\n"
		"* `T` :  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `data` :  \n"
		"* `n_data` :  \n"
		"* `weights` :  \n"
		"* `n_weights` :  \n"
		"* `bin_edges` :  \n"
		"    contains the edges of the histogram in ascending order (from small to large)  \n"
		"* `n_bins` :  \n"
		"    the number of bins in the histogram  \n"
		"* `hist` :  \n"
		"* `n_hist` :  \n"
		"* `axis_type` :  \n"
		"* `use_weights` :  \n"
		"    if true the weights specified by  \n"
		"* `weights` :  \n"
		"    are used for the calculation of the histogram instead of simply counting the\n"
		"    frequency.  \n"
		"\n"
		""},
	 { "doubleAxis_update", _wrap_doubleAxis_update, METH_O, "\n"
		"doubleAxis_update(self)\n"
		"\n"
		"HistogramAxis::update\n"
		"Recalculates the bin edges of the axis  \n"
		"\n"
		""},
	 { "doubleAxis_setAxisType", (PyCFunction)(void(*)(void))_wrap_doubleAxis_setAxisType, METH_VARARGS|METH_KEYWORDS, "\n"
		"doubleAxis_setAxisType(self, axis_type)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"axis_type: std::string const &\n"
		"\n"
		"\n"
		"HistogramAxis::setAxisType\n"
		""},
	 { "doubleAxis_getNumberOfBins", _wrap_doubleAxis_getNumberOfBins, METH_O, "\n"
		"doubleAxis_getNumberOfBins(self) -> int\n"
		"\n"
		"HistogramAxis::getNumberOfBins\n"
		""},
	 { "doubleAxis_getBinIdx", (PyCFunction)(void(*)(void))_wrap_doubleAxis_getBinIdx, METH_VARARGS|METH_KEYWORDS, "\n"
		"doubleAxis_getBinIdx(self, value) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"value: double\n"
		"\n"
		"\n"
		"HistogramAxis::getBinIdx\n"
		""},
	 { "doubleAxis_getBins", _wrap_doubleAxis_getBins, METH_VARARGS, "\n"
		"doubleAxis_getBins(self) -> double\n"
		"doubleAxis_getBins(self, bin_edges)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"bin_edges: double *\n"
		"\n"
		"\n"
		"HistogramAxis::getBins\n"
		""},
	 { "doubleAxis_getName", _wrap_doubleAxis_getName, METH_O, "\n"
		"doubleAxis_getName(self) -> std::string const &\n"
		"\n"
		"HistogramAxis::getName\n"
		""},
	 { "doubleAxis_setName", (PyCFunction)(void(*)(void))_wrap_doubleAxis_setName, METH_VARARGS|METH_KEYWORDS, "\n"
		"doubleAxis_setName(self, name)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"name: std::string const &\n"
		"\n"
		"\n"
		"HistogramAxis::setName\n"
		""},
	 { "new_doubleAxis", _wrap_new_doubleAxis, METH_VARARGS, "\n"
		"doubleAxis()\n"
		"new_doubleAxis(name, begin, end, n_bins, axis_type) -> doubleAxis\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"name: std::string\n"
		"begin: double\n"
		"end: double\n"
		"n_bins: int\n"
		"axis_type: std::string\n"
		"\n"
		"\n"
		"HistogramAxis::HistogramAxis\n"
		""},
	 { "delete_doubleAxis", _wrap_delete_doubleAxis, METH_O, "delete_doubleAxis(self)"},
	 { "doubleAxis_swigregister", doubleAxis_swigregister, METH_O, NULL},
	 { "doubleAxis_swiginit", doubleAxis_swiginit, METH_VARARGS, NULL},
	 { "doubleHistogram_update", (PyCFunction)(void(*)(void))_wrap_doubleHistogram_update, METH_VARARGS|METH_KEYWORDS, "\n"
		"doubleHistogram_update(self, data)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data: double *\n"
		"\n"
		"\n"
		"Histogram::update\n"
		""},
	 { "doubleHistogram_get_histogram", _wrap_doubleHistogram_get_histogram, METH_O, "\n"
		"doubleHistogram_get_histogram(self)\n"
		"\n"
		"Histogram::get_histogram\n"
		""},
	 { "doubleHistogram_set_axis", _wrap_doubleHistogram_set_axis, METH_VARARGS, "\n"
		"doubleHistogram_set_axis(self, data_column, new_axis)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data_column: size_t\n"
		"new_axis: HistogramAxis< double > &\n"
		"\n"
		"doubleHistogram_set_axis(self, data_column, name, begin, end, n_bins, axis_type)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data_column: size_t\n"
		"name: std::string\n"
		"begin: double\n"
		"end: double\n"
		"n_bins: int\n"
		"axis_type: std::string\n"
		"\n"
		"\n"
		"Histogram::set_axis\n"
		""},
	 { "doubleHistogram_get_axis", (PyCFunction)(void(*)(void))_wrap_doubleHistogram_get_axis, METH_VARARGS|METH_KEYWORDS, "\n"
		"doubleHistogram_get_axis(self, axis_index) -> doubleAxis\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"axis_index: size_t\n"
		"\n"
		"\n"
		"Histogram::get_axis\n"
		""},
	 { "new_doubleHistogram", _wrap_new_doubleHistogram, METH_NOARGS, "\n"
		"new_doubleHistogram() -> doubleHistogram\n"
		"\n"
		"Histogram::Histogram\n"
		""},
	 { "delete_doubleHistogram", _wrap_delete_doubleHistogram, METH_O, "\n"
		"delete_doubleHistogram(self)\n"
		"\n"
		"Histogram::~Histogram\n"
		""},
	 { "doubleHistogram_swigregister", doubleHistogram_swigregister, METH_O, NULL},
	 { "doubleHistogram_swiginit", doubleHistogram_swiginit, METH_VARARGS, NULL},
	 { "new_TTTRPair", _wrap_new_TTTRPair, METH_VARARGS, "\n"
		"TTTRPair()\n"
		"TTTRPair(first, second)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::shared_ptr< TTTR >\n"
		"second: std::shared_ptr< TTTR >\n"
		"\n"
		"new_TTTRPair(other) -> TTTRPair\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > const &\n"
		"\n"
		""},
	 { "TTTRPair_first_set", _wrap_TTTRPair_first_set, METH_VARARGS, "\n"
		"TTTRPair_first_set(self, first)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::shared_ptr< TTTR > const &\n"
		"\n"
		""},
	 { "TTTRPair_first_get", _wrap_TTTRPair_first_get, METH_O, "TTTRPair_first_get(self) -> std::shared_ptr< TTTR > const &"},
	 { "TTTRPair_second_set", _wrap_TTTRPair_second_set, METH_VARARGS, "\n"
		"TTTRPair_second_set(self, second)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"second: std::shared_ptr< TTTR > const &\n"
		"\n"
		""},
	 { "TTTRPair_second_get", _wrap_TTTRPair_second_get, METH_O, "TTTRPair_second_get(self) -> std::shared_ptr< TTTR > const &"},
	 { "delete_TTTRPair", _wrap_delete_TTTRPair, METH_O, "delete_TTTRPair(self)"},
	 { "TTTRPair_swigregister", TTTRPair_swigregister, METH_O, NULL},
	 { "TTTRPair_swiginit", TTTRPair_swiginit, METH_VARARGS, NULL},
	 { "new_CorrelatorPhotonStream", _wrap_new_CorrelatorPhotonStream, METH_VARARGS, "\n"
		"CorrelatorPhotonStream()\n"
		"new_CorrelatorPhotonStream(a) -> CorrelatorPhotonStream\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"a: CorrelatorPhotonStream const &\n"
		"\n"
		"\n"
		"CorrelatorPhotonStream::CorrelatorPhotonStream\n"
		"Copy constructor for CorrelatorPhotonStream.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `a` :  \n"
		"    Another CorrelatorPhotonStream object to copy.  \n"
		"\n"
		""},
	 { "delete_CorrelatorPhotonStream", _wrap_delete_CorrelatorPhotonStream, METH_O, "\n"
		"delete_CorrelatorPhotonStream(self)\n"
		"\n"
		"CorrelatorPhotonStream::~CorrelatorPhotonStream\n"
		"Default destructor for CorrelatorPhotonStream.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_times_set", _wrap_CorrelatorPhotonStream_times_set, METH_VARARGS, "\n"
		"CorrelatorPhotonStream_times_set(self, times)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"times: std::vector< unsigned long long,std::allocator< unsigned long long > > *\n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_times_get", _wrap_CorrelatorPhotonStream_times_get, METH_O, "CorrelatorPhotonStream_times_get(self) -> VectorUint128"},
	 { "CorrelatorPhotonStream_weights_set", _wrap_CorrelatorPhotonStream_weights_set, METH_VARARGS, "\n"
		"CorrelatorPhotonStream_weights_set(self, weights)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"weights: std::vector< double,std::allocator< double > > *\n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_weights_get", _wrap_CorrelatorPhotonStream_weights_get, METH_O, "CorrelatorPhotonStream_weights_get(self) -> VectorDouble"},
	 { "CorrelatorPhotonStream_empty", _wrap_CorrelatorPhotonStream_empty, METH_O, "\n"
		"CorrelatorPhotonStream_empty(self) -> bool\n"
		"\n"
		"CorrelatorPhotonStream::empty\n"
		"Check if the CorrelatorPhotonStream is empty.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"True if both the times and weights arrays are empty, false otherwise.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_size", _wrap_CorrelatorPhotonStream_size, METH_O, "\n"
		"CorrelatorPhotonStream_size(self) -> size_t\n"
		"\n"
		"CorrelatorPhotonStream::size\n"
		"Get the size of the CorrelatorPhotonStream.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The number of elements in the times array.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_clear", _wrap_CorrelatorPhotonStream_clear, METH_O, "\n"
		"CorrelatorPhotonStream_clear(self)\n"
		"\n"
		"CorrelatorPhotonStream::clear\n"
		"Clear the CorrelatorPhotonStream.  \n"
		"\n"
		"Clears the times and weights arrays, making them empty.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_resize", (PyCFunction)(void(*)(void))_wrap_CorrelatorPhotonStream_resize, METH_VARARGS|METH_KEYWORDS, "\n"
		"CorrelatorPhotonStream_resize(self, n, x=1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: size_t\n"
		"x: double\n"
		"\n"
		"\n"
		"CorrelatorPhotonStream::resize\n"
		"Resize the CorrelatorPhotonStream.  \n"
		"\n"
		"Resizes the times and weights arrays to the specified size, setting the initial\n"
		"value of weights to the provided value.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `n` :  \n"
		"    The new size for the arrays.  \n"
		"* `x` :  \n"
		"    The initial value of the weights (default is 1.0).  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_make_fine_times", (PyCFunction)(void(*)(void))_wrap_CorrelatorPhotonStream_make_fine_times, METH_VARARGS|METH_KEYWORDS, "\n"
		"CorrelatorPhotonStream_make_fine_times(t, n_times, tac, n_tac)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"t: unsigned long long *\n"
		"n_times: unsigned int\n"
		"tac: unsigned short *\n"
		"n_tac: unsigned int\n"
		"\n"
		"\n"
		"CorrelatorPhotonStream::make_fine_times\n"
		"Make time events fine by adding micro time to macro time.  \n"
		"\n"
		"Changes the time events by adding the micro time to the macro time. The micro\n"
		"times should match the macro time, i.e., the length of the micro time array\n"
		"should be at least the same length as the macro time array.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `t` :  \n"
		"    An array containing the time events (macro times).  \n"
		"* `n_times` :  \n"
		"    The number of macro times.  \n"
		"* `tac` :  \n"
		"    An array containing the micro times corresponding to macro times.  \n"
		"* `n_tac` :  \n"
		"    The number of micro times.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_make_fine", (PyCFunction)(void(*)(void))_wrap_CorrelatorPhotonStream_make_fine, METH_VARARGS|METH_KEYWORDS, "\n"
		"CorrelatorPhotonStream_make_fine(self, tac, number_of_microtime_channels)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tac: unsigned short *\n"
		"number_of_microtime_channels: unsigned int\n"
		"\n"
		"\n"
		"CorrelatorPhotonStream::make_fine\n"
		"Make time events fine by adding micro time to macro time.  \n"
		"\n"
		"Changes the time events by adding the micro time to the macro time. The micro\n"
		"times should match the macro time, i.e., the length of the micro time array\n"
		"should be at least the same length as the macro time array.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tac` :  \n"
		"    An array containing the micro times corresponding to macro times.  \n"
		"* `n_tac` :  \n"
		"    The number of micro times.  \n"
		"* `number_of_microtime_channels` :  \n"
		"    The maximum number of TAC channels of the micro times.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_set_weights", (PyCFunction)(void(*)(void))_wrap_CorrelatorPhotonStream_set_weights, METH_VARARGS|METH_KEYWORDS, "\n"
		"CorrelatorPhotonStream_set_weights(self, filter, micro_times=std::vector< unsigned int >(), routing_channels=std::vector< signed char >())\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filter: std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > const &\n"
		"micro_times: std::vector< unsigned int,std::allocator< unsigned int > >\n"
		"routing_channels: std::vector< signed char,std::allocator< signed char > >\n"
		"\n"
		"\n"
		"CorrelatorPhotonStream::set_weights\n"
		"Set weights using a filter for time events.  \n"
		"\n"
		"The weights are set based on a filter map and optional micro times and routing\n"
		"channels.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filter` :  \n"
		"    Map of filters. The first element in the map is the routing channel number,\n"
		"    and the second element of the map is a vector that maps a micro time to a\n"
		"    filter value.  \n"
		"* `micro_times` :  \n"
		"    Optional array containing micro times.  \n"
		"* `routing_channels` :  \n"
		"    Optional array containing routing channels.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_set_events", (PyCFunction)(void(*)(void))_wrap_CorrelatorPhotonStream_set_events, METH_VARARGS|METH_KEYWORDS, "\n"
		"CorrelatorPhotonStream_set_events(self, t, n_t, weight, n_weight)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"t: unsigned long long *\n"
		"n_t: int\n"
		"weight: double *\n"
		"n_weight: int\n"
		"\n"
		"\n"
		"CorrelatorPhotonStream::set_events\n"
		"Set time events and weights.  \n"
		"\n"
		"Sets the time events and their corresponding weights based on provided arrays.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `t` :  \n"
		"    Array containing time events.  \n"
		"* `n_t` :  \n"
		"    Number of time events.  \n"
		"* `weight` :  \n"
		"    Array containing weights.  \n"
		"* `n_weight` :  \n"
		"    Number of weights.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_coarsen", _wrap_CorrelatorPhotonStream_coarsen, METH_O, "\n"
		"CorrelatorPhotonStream_coarsen(self)\n"
		"\n"
		"CorrelatorPhotonStream::coarsen\n"
		"Coarsen the time events.  \n"
		"\n"
		"Coarsens the time events by dividing the times by two. If two consecutive time\n"
		"events have the same time, the weights of the two events are added to the\n"
		"following weight element, and the value of the previous weight is set to zero.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_dt", _wrap_CorrelatorPhotonStream_dt, METH_O, "\n"
		"CorrelatorPhotonStream_dt(self) -> unsigned long long\n"
		"\n"
		"CorrelatorPhotonStream::dt\n"
		"Compute the time difference in macro time units between the first and last\n"
		"event.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The time difference between the first and last event.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_sum_of_weights", _wrap_CorrelatorPhotonStream_sum_of_weights, METH_O, "\n"
		"CorrelatorPhotonStream_sum_of_weights(self) -> double\n"
		"\n"
		"CorrelatorPhotonStream::sum_of_weights\n"
		"Compute the sum of weights in the correlation stream.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The sum of weights in the correlation stream.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_mean_count_rate", _wrap_CorrelatorPhotonStream_mean_count_rate, METH_O, "\n"
		"CorrelatorPhotonStream_mean_count_rate(self) -> double\n"
		"\n"
		"CorrelatorPhotonStream::mean_count_rate\n"
		"Compute the mean count rate in the correlation stream.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The mean count rate in counts per macro time clock.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_set_time_axis_calibration", (PyCFunction)(void(*)(void))_wrap_CorrelatorPhotonStream_set_time_axis_calibration, METH_VARARGS|METH_KEYWORDS, "\n"
		"CorrelatorPhotonStream_set_time_axis_calibration(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: double\n"
		"\n"
		"\n"
		"CorrelatorPhotonStream::set_time_axis_calibration\n"
		"Set the time axis calibration.  \n"
		"\n"
		"The time axis calibration represents the duration between two sync signals\n"
		"(macro time clock).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `v` :  \n"
		"    The time axis calibration in seconds.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_get_time_axis_calibration", _wrap_CorrelatorPhotonStream_get_time_axis_calibration, METH_O, "\n"
		"CorrelatorPhotonStream_get_time_axis_calibration(self) -> double\n"
		"\n"
		"CorrelatorPhotonStream::get_time_axis_calibration\n"
		"Get the calibration of the time axis.  \n"
		"\n"
		"Returns the calibration of the time axis in seconds, which represents the\n"
		"duration of a sync signal (macro time clock).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The calibration of the time axis in seconds.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_set_tttr", (PyCFunction)(void(*)(void))_wrap_CorrelatorPhotonStream_set_tttr, METH_VARARGS|METH_KEYWORDS, "\n"
		"CorrelatorPhotonStream_set_tttr(self, tttr, make_fine=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"make_fine: bool\n"
		"\n"
		"\n"
		"CorrelatorPhotonStream::set_tttr\n"
		"Set the TTTR object for the CorrelatorPhotonStream.  \n"
		"\n"
		"Sets the TTTR object for the CorrelatorPhotonStream and optionally makes the\n"
		"time events fine by adding the micro time to the macro time.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    The TTTR object to set.  \n"
		"* `make_fine` :  \n"
		"    If true, makes the time events fine by adding the micro time to the macro\n"
		"    time.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_get_tttr", _wrap_CorrelatorPhotonStream_get_tttr, METH_O, "\n"
		"CorrelatorPhotonStream_get_tttr(self) -> std::shared_ptr< TTTR >\n"
		"\n"
		"CorrelatorPhotonStream::get_tttr\n"
		"Get the TTTR object associated with the CorrelatorPhotonStream.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The shared pointer to the TTTR object.  \n"
		"\n"
		""},
	 { "CorrelatorPhotonStream_swigregister", CorrelatorPhotonStream_swigregister, METH_O, NULL},
	 { "CorrelatorPhotonStream_swiginit", CorrelatorPhotonStream_swiginit, METH_VARARGS, NULL},
	 { "CorrelationCurveSettings_macro_time_duration_set", _wrap_CorrelationCurveSettings_macro_time_duration_set, METH_VARARGS, "\n"
		"CorrelationCurveSettings_macro_time_duration_set(self, macro_time_duration)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"macro_time_duration: double\n"
		"\n"
		""},
	 { "CorrelationCurveSettings_macro_time_duration_get", _wrap_CorrelationCurveSettings_macro_time_duration_get, METH_O, "CorrelationCurveSettings_macro_time_duration_get(self) -> double"},
	 { "CorrelationCurveSettings_n_casc_set", _wrap_CorrelationCurveSettings_n_casc_set, METH_VARARGS, "\n"
		"CorrelationCurveSettings_n_casc_set(self, n_casc)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n_casc: unsigned int\n"
		"\n"
		""},
	 { "CorrelationCurveSettings_n_casc_get", _wrap_CorrelationCurveSettings_n_casc_get, METH_O, "CorrelationCurveSettings_n_casc_get(self) -> unsigned int"},
	 { "CorrelationCurveSettings_n_bins_set", _wrap_CorrelationCurveSettings_n_bins_set, METH_VARARGS, "\n"
		"CorrelationCurveSettings_n_bins_set(self, n_bins)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n_bins: unsigned int\n"
		"\n"
		""},
	 { "CorrelationCurveSettings_n_bins_get", _wrap_CorrelationCurveSettings_n_bins_get, METH_O, "CorrelationCurveSettings_n_bins_get(self) -> unsigned int"},
	 { "CorrelationCurveSettings_get_ncorr", _wrap_CorrelationCurveSettings_get_ncorr, METH_O, "\n"
		"CorrelationCurveSettings_get_ncorr(self) -> unsigned int\n"
		"\n"
		"CorrelationCurveSettings::get_ncorr\n"
		"The number of points in a correlation curve.  \n"
		"\n"
		""},
	 { "CorrelationCurveSettings_correlation_method_set", _wrap_CorrelationCurveSettings_correlation_method_set, METH_VARARGS, "\n"
		"CorrelationCurveSettings_correlation_method_set(self, correlation_method)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"correlation_method: std::string const &\n"
		"\n"
		""},
	 { "CorrelationCurveSettings_correlation_method_get", _wrap_CorrelationCurveSettings_correlation_method_get, METH_O, "CorrelationCurveSettings_correlation_method_get(self) -> std::string const &"},
	 { "new_CorrelationCurveSettings", _wrap_new_CorrelationCurveSettings, METH_NOARGS, "\n"
		"new_CorrelationCurveSettings() -> CorrelationCurveSettings\n"
		"\n"
		"\n"
		"C++ includes: CorrelatorCurve.h\n"
		"\n"
		""},
	 { "delete_CorrelationCurveSettings", _wrap_delete_CorrelationCurveSettings, METH_O, "delete_CorrelationCurveSettings(self)"},
	 { "CorrelationCurveSettings_swigregister", CorrelationCurveSettings_swigregister, METH_O, NULL},
	 { "CorrelationCurveSettings_swiginit", CorrelationCurveSettings_swiginit, METH_VARARGS, NULL},
	 { "CorrelatorCurve_settings_set", _wrap_CorrelatorCurve_settings_set, METH_VARARGS, "\n"
		"CorrelatorCurve_settings_set(self, settings)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"settings: CorrelationCurveSettings *\n"
		"\n"
		""},
	 { "CorrelatorCurve_settings_get", _wrap_CorrelatorCurve_settings_get, METH_O, "CorrelatorCurve_settings_get(self) -> CorrelationCurveSettings"},
	 { "CorrelatorCurve_size", _wrap_CorrelatorCurve_size, METH_O, "\n"
		"CorrelatorCurve_size(self) -> size_t\n"
		"\n"
		"CorrelatorCurve::size\n"
		"Get the size of the correlation curve.  \n"
		"\n"
		"This method returns the size of the correlation curve, which corresponds to the\n"
		"number of elements in the x-axis and correlation vectors.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"The size of the correlation curve.  \n"
		"\n"
		"Example Usage:  \n"
		"\n"
		""},
	 { "CorrelatorCurve_get_x_axis", _wrap_CorrelatorCurve_get_x_axis, METH_O, "\n"
		"CorrelatorCurve_get_x_axis(self)\n"
		"\n"
		"CorrelatorCurve::get_x_axis\n"
		"Get the x-axis of the correlation.  \n"
		"\n"
		"This method retrieves the x-axis (time axis) of the correlation curve.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    A pointer to an array that will contain the x-axis.  \n"
		"* `n_output` :  \n"
		"    A pointer to an integer that will contain the number of elements in the\n"
		"    x-axis.  \n"
		"\n"
		""},
	 { "CorrelatorCurve_set_x_axis", (PyCFunction)(void(*)(void))_wrap_CorrelatorCurve_set_x_axis, METH_VARARGS|METH_KEYWORDS, "\n"
		"CorrelatorCurve_set_x_axis(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: std::vector< unsigned long long,std::allocator< unsigned long long > >\n"
		"\n"
		"\n"
		"CorrelatorCurve::set_x_axis\n"
		"Set the x-axis to arbitrary bin values.  \n"
		"\n"
		"Attention: Make sure that the correlation method supports arbitrary bin spacing.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `input` :  \n"
		"    A vector of long long unsigned integers representing the desired bin values.  \n"
		"\n"
		""},
	 { "CorrelatorCurve_get_corr", _wrap_CorrelatorCurve_get_corr, METH_O, "\n"
		"CorrelatorCurve_get_corr(self)\n"
		"\n"
		"CorrelatorCurve::get_corr\n"
		"Get the non-normalized correlation values.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    A pointer to an array that will contain the non-normalized correlation\n"
		"    values.  \n"
		"* `n_output` :  \n"
		"    A pointer to an integer that will contain the number of elements in the\n"
		"    correlation array.  \n"
		"\n"
		""},
	 { "CorrelatorCurve_get_corr_normalized", _wrap_CorrelatorCurve_get_corr_normalized, METH_O, "\n"
		"CorrelatorCurve_get_corr_normalized(self)\n"
		"\n"
		"CorrelatorCurve::get_corr_normalized\n"
		"Get the normalized correlation values.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    A pointer to an array that will contain the normalized correlation values.  \n"
		"* `n_output` :  \n"
		"    A pointer to an integer that will contain the number of elements in the\n"
		"    normalized correlation array.  \n"
		"\n"
		""},
	 { "CorrelatorCurve_n_bins_set", _wrap_CorrelatorCurve_n_bins_set, METH_VARARGS, "\n"
		"CorrelatorCurve_n_bins_set(self, n_bins)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n_bins: int\n"
		"\n"
		""},
	 { "CorrelatorCurve_n_bins_get", _wrap_CorrelatorCurve_n_bins_get, METH_O, "CorrelatorCurve_n_bins_get(self) -> int"},
	 { "CorrelatorCurve_n_casc_set", _wrap_CorrelatorCurve_n_casc_set, METH_VARARGS, "\n"
		"CorrelatorCurve_n_casc_set(self, n_casc)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n_casc: int\n"
		"\n"
		""},
	 { "CorrelatorCurve_n_casc_get", _wrap_CorrelatorCurve_n_casc_get, METH_O, "CorrelatorCurve_n_casc_get(self) -> int"},
	 { "new_CorrelatorCurve", _wrap_new_CorrelatorCurve, METH_NOARGS, "\n"
		"new_CorrelatorCurve() -> CorrelatorCurve\n"
		"\n"
		"\n"
		"C++ includes: CorrelatorCurve.h\n"
		"\n"
		""},
	 { "delete_CorrelatorCurve", _wrap_delete_CorrelatorCurve, METH_O, "delete_CorrelatorCurve(self)"},
	 { "CorrelatorCurve_swigregister", CorrelatorCurve_swigregister, METH_O, NULL},
	 { "CorrelatorCurve_swiginit", CorrelatorCurve_swiginit, METH_VARARGS, NULL},
	 { "Correlator_p1_set", _wrap_Correlator_p1_set, METH_VARARGS, "\n"
		"Correlator_p1_set(self, p1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p1: CorrelatorPhotonStream *\n"
		"\n"
		""},
	 { "Correlator_p1_get", _wrap_Correlator_p1_get, METH_O, "Correlator_p1_get(self) -> CorrelatorPhotonStream"},
	 { "Correlator_p2_set", _wrap_Correlator_p2_set, METH_VARARGS, "\n"
		"Correlator_p2_set(self, p2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2: CorrelatorPhotonStream *\n"
		"\n"
		""},
	 { "Correlator_p2_get", _wrap_Correlator_p2_get, METH_O, "Correlator_p2_get(self) -> CorrelatorPhotonStream"},
	 { "Correlator_curve_set", _wrap_Correlator_curve_set, METH_VARARGS, "\n"
		"Correlator_curve_set(self, curve)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"curve: CorrelatorCurve *\n"
		"\n"
		""},
	 { "Correlator_curve_get", _wrap_Correlator_curve_get, METH_O, "Correlator_curve_get(self) -> CorrelatorCurve"},
	 { "Correlator_dt", _wrap_Correlator_dt, METH_O, "\n"
		"Correlator_dt(self) -> uint64_t\n"
		"\n"
		"Correlator::dt\n"
		"Compute the time difference in macro time units between the first and the last\n"
		"event.  \n"
		"\n"
		"This function calculates the time difference in macro time units between the\n"
		"first and the last event in the event stream.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Time difference in macro time units.  \n"
		"\n"
		""},
	 { "new_Correlator", (PyCFunction)(void(*)(void))_wrap_new_Correlator, METH_VARARGS|METH_KEYWORDS, "\n"
		"new_Correlator(tttr=0, method=\"wahl\", n_bins=17, n_casc=25, make_fine=False) -> Correlator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"method: std::string\n"
		"n_bins: int\n"
		"n_casc: int\n"
		"make_fine: bool\n"
		"\n"
		"\n"
		"Correlator::Correlator\n"
		"Correlator Constructor.  \n"
		"\n"
		"Constructs a Correlator object with the specified parameters.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Optional TTTR object. If provided, the macro and micro time calibration of\n"
		"    the TTTR object header calibrate the correlator.  \n"
		"* `method` :  \n"
		"    Name of the correlation method used by the correlator.  \n"
		"* `n_bins` :  \n"
		"    Number of equally spaced correlation bins per block (determines correlation\n"
		"    bins).  \n"
		"* `n_casc` :  \n"
		"    Number of blocks (determines correlation bins).  \n"
		"* `make_fine` :  \n"
		"    If true, macro and micro time are combined.  \n"
		"\n"
		""},
	 { "delete_Correlator", _wrap_delete_Correlator, METH_O, "\n"
		"delete_Correlator(self)\n"
		"\n"
		"Correlator::~Correlator\n"
		""},
	 { "Correlator_get_curve", _wrap_Correlator_get_curve, METH_O, "\n"
		"Correlator_get_curve(self) -> CorrelatorCurve\n"
		"\n"
		"Correlator::get_curve\n"
		"Get the correlation curve.  \n"
		"\n"
		"Computes the correlation (if necessary) and returns the correlation curve.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Correlation curve.  \n"
		"\n"
		""},
	 { "Correlator_set_microtimes", (PyCFunction)(void(*)(void))_wrap_Correlator_set_microtimes, METH_VARARGS|METH_KEYWORDS, "\n"
		"Correlator_set_microtimes(self, tac_1, tac_2, number_of_microtime_channels)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tac_1: unsigned short *\n"
		"tac_2: unsigned short *\n"
		"number_of_microtime_channels: unsigned int\n"
		"\n"
		"\n"
		"Correlator::set_microtimes\n"
		"Add microtime information to the event stream.  \n"
		"\n"
		"This function adds microtime information to the event stream for correlation\n"
		"analysis.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tac_1` :  \n"
		"    The micro times of the first correlation channel.  \n"
		"* `n_tac_1` :  \n"
		"    The number of events in the first correlation channel.  \n"
		"* `tac_2` :  \n"
		"    The micro times of the second correlation channel.  \n"
		"* `n_tac_2` :  \n"
		"    The number of events in the second correlation channel.  \n"
		"* `number_of_microtime_channels` :  \n"
		"    The maximum number of TAC channels of the micro times.  \n"
		"\n"
		""},
	 { "Correlator_set_macrotimes", (PyCFunction)(void(*)(void))_wrap_Correlator_set_macrotimes, METH_VARARGS|METH_KEYWORDS, "\n"
		"Correlator_set_macrotimes(self, t1, t2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"t1: unsigned long long *\n"
		"t2: unsigned long long *\n"
		"\n"
		"\n"
		"Correlator::set_macrotimes\n"
		"Add macrotimes information to the event stream.  \n"
		"\n"
		"This function adds macrotimes information to the event stream for correlation\n"
		"analysis.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `t1` :  \n"
		"    Time events in the first correlation channel.  \n"
		"* `n_t1` :  \n"
		"    The number of time events in the first channel.  \n"
		"* `t2` :  \n"
		"    Time events in the second correlation channel.  \n"
		"* `n_t2` :  \n"
		"    The number of time events in the second channel.  \n"
		"\n"
		""},
	 { "Correlator_get_macrotimes", _wrap_Correlator_get_macrotimes, METH_O, "\n"
		"Correlator_get_macrotimes(self) -> PairVectorInt64\n"
		"\n"
		"Correlator::get_macrotimes\n"
		"Get event times of the first and second correlation channel.  \n"
		"\n"
		"This function returns the event times of the first and second correlation\n"
		"channel.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"A pair of vectors containing event times of the first and second correlation\n"
		"channel.  \n"
		"\n"
		""},
	 { "Correlator_set_events", (PyCFunction)(void(*)(void))_wrap_Correlator_set_events, METH_VARARGS|METH_KEYWORDS, "\n"
		"Correlator_set_events(self, t1, weight_ch1, t2, weight_ch2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"t1: unsigned long long *\n"
		"weight_ch1: double *\n"
		"t2: unsigned long long *\n"
		"weight_ch2: double *\n"
		"\n"
		"\n"
		"Correlator::set_events\n"
		"Set time events and weights for the first and second correlation channels.  \n"
		"\n"
		"This function sets the time events and weights for the first and second\n"
		"correlation channels.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `t1` :  \n"
		"    An array containing the time events of the first channel.  \n"
		"* `n_t1` :  \n"
		"    The number of time events in the first channel.  \n"
		"* `weight_ch1` :  \n"
		"    A vector of weights for the time events of the first channel.  \n"
		"* `n_weights_ch1` :  \n"
		"    The number of weights for the first channel.  \n"
		"* `t2` :  \n"
		"    An array containing the time events of the second channel.  \n"
		"* `n_t2` :  \n"
		"    The number of time events in the second channel.  \n"
		"* `weight_ch2` :  \n"
		"    A vector of weights for the time events of the second channel.  \n"
		"* `n_weights_ch2` :  \n"
		"    The number of weights for the second channel.  \n"
		"\n"
		""},
	 { "Correlator_set_weights", (PyCFunction)(void(*)(void))_wrap_Correlator_set_weights, METH_VARARGS|METH_KEYWORDS, "\n"
		"Correlator_set_weights(self, weight_ch1, weight_ch2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"weight_ch1: double *\n"
		"weight_ch2: double *\n"
		"\n"
		"\n"
		"Correlator::set_weights\n"
		"Set weights used for correlation.  \n"
		"\n"
		"This function sets and updates weights for the events in the first and second\n"
		"correlation channels.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `weight_ch1` :  \n"
		"    A vector of weights for the time events of the first channel.  \n"
		"* `n_weights_ch1` :  \n"
		"    The number of weights for the first channel.  \n"
		"* `weight_ch2` :  \n"
		"    A vector of weights for the time events of the second channel.  \n"
		"* `n_weights_ch2` :  \n"
		"    The number of weights for the second channel.  \n"
		"\n"
		""},
	 { "Correlator_get_weights", _wrap_Correlator_get_weights, METH_O, "\n"
		"Correlator_get_weights(self) -> PairVectorDouble\n"
		"\n"
		"Correlator::get_weights\n"
		"Get weights used for correlation.  \n"
		"\n"
		"This function retrieves the weights for the events in the first and second\n"
		"correlation channels.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"A pair of vectors containing weights for the first and second correlation\n"
		"channels, respectively.  \n"
		"\n"
		""},
	 { "Correlator_get_x_axis", _wrap_Correlator_get_x_axis, METH_O, "\n"
		"Correlator_get_x_axis(self)\n"
		"\n"
		"Correlator::get_x_axis\n"
		"Get correlation bins (axis)  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    x_axis / time axis of the correlation  \n"
		"* `n_output` :  \n"
		"    number of elements in the axis of the x-axis  \n"
		"\n"
		""},
	 { "Correlator_get_corr_normalized", _wrap_Correlator_get_corr_normalized, METH_O, "\n"
		"Correlator_get_corr_normalized(self)\n"
		"\n"
		"Correlator::get_corr_normalized\n"
		"Get the normalized correlation.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    an array that containing normalized correlation  \n"
		"* `n_output` :  \n"
		"    the number of elements of output  \n"
		"\n"
		""},
	 { "Correlator_get_corr", _wrap_Correlator_get_corr, METH_O, "\n"
		"Correlator_get_corr(self)\n"
		"\n"
		"Correlator::get_corr\n"
		"Get the (unnormalized) correlation.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    a pointer to an array that will contain the correlation  \n"
		"* `n_output` :  \n"
		"    a pointer to the an integer that will contain the number of elements of the\n"
		"    x-axis  \n"
		"\n"
		""},
	 { "Correlator_run", _wrap_Correlator_run, METH_O, "\n"
		"Correlator_run(self)\n"
		"\n"
		"Correlator::run\n"
		"compute the correlation  \n"
		"\n"
		"Compute the correlation function. Usually calling this method is not necessary\n"
		"the the validity of the correlation function is tracked by the attribute\n"
		"is_valid.  \n"
		"\n"
		""},
	 { "Correlator_set_tttr", (PyCFunction)(void(*)(void))_wrap_Correlator_set_tttr, METH_VARARGS|METH_KEYWORDS, "\n"
		"Correlator_set_tttr(self, tttr_1, tttr_2=0, make_fine=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_1: std::shared_ptr< TTTR >\n"
		"tttr_2: std::shared_ptr< TTTR >\n"
		"make_fine: bool\n"
		"\n"
		"\n"
		"Correlator::set_tttr\n"
		"Sets the time and the weights using TTTR objects.  \n"
		"\n"
		"Set the event times (and weights) using TTTR objects. By default the weights are\n"
		"all set to one.  \n"
		"\n"
		"The header of the first TTTR object is used for calibration. Both TTTR objects\n"
		"should have the same calibration (this is not checked).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_1` :  \n"
		"* `tttr_2` :  \n"
		"* `make_fine` :  \n"
		"    if true a full correlation is computed that uses the micro time in the TTTR\n"
		"    objects (default is false).  \n"
		"\n"
		""},
	 { "Correlator_get_tttr", _wrap_Correlator_get_tttr, METH_O, "\n"
		"Correlator_get_tttr(self) -> TTTRPair\n"
		"\n"
		"Correlator::get_tttr\n"
		""},
	 { "Correlator_set_filter", (PyCFunction)(void(*)(void))_wrap_Correlator_set_filter, METH_VARARGS|METH_KEYWORDS, "\n"
		"Correlator_set_filter(self, filter, micro_times_1, routing_channels_1, micro_times_2, routing_channels_2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"filter: std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > const &\n"
		"micro_times_1: std::vector< unsigned int,std::allocator< unsigned int > > const &\n"
		"routing_channels_1: std::vector< signed char,std::allocator< signed char > > const &\n"
		"micro_times_2: std::vector< unsigned int,std::allocator< unsigned int > > const &\n"
		"routing_channels_2: std::vector< signed char,std::allocator< signed char > > const &\n"
		"\n"
		"\n"
		"Correlator::set_filter\n"
		"Update weights based on a filter map and event information.  \n"
		"\n"
		"This function updates the weights. Non-zero weights are assigned a filter value\n"
		"based on a filter map and the micro time of the event.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `filter[in]` :  \n"
		"    A map of filters where the first element in the map is the routing channel\n"
		"    number, and the second element is a vector that maps a micro time to a\n"
		"    filter value.  \n"
		"* `micro_times_1[in]` :  \n"
		"    Micro times of events in the first correlation channel.  \n"
		"* `routing_channels_1[in]` :  \n"
		"    Routing channels of events in the first correlation channel.  \n"
		"* `micro_times_2[in]` :  \n"
		"    Micro times of events in the second correlation channel.  \n"
		"* `routing_channels_2[in]` :  \n"
		"    Routing channels of events in the second correlation channel.  \n"
		"\n"
		""},
	 { "Correlator_n_bins_set", _wrap_Correlator_n_bins_set, METH_VARARGS, "\n"
		"Correlator_n_bins_set(self, n_bins)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n_bins: int\n"
		"\n"
		""},
	 { "Correlator_n_bins_get", _wrap_Correlator_n_bins_get, METH_O, "Correlator_n_bins_get(self) -> int"},
	 { "Correlator_n_casc_set", _wrap_Correlator_n_casc_set, METH_VARARGS, "\n"
		"Correlator_n_casc_set(self, n_casc)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n_casc: int\n"
		"\n"
		""},
	 { "Correlator_n_casc_get", _wrap_Correlator_n_casc_get, METH_O, "Correlator_n_casc_get(self) -> int"},
	 { "Correlator_method_set", _wrap_Correlator_method_set, METH_VARARGS, "\n"
		"Correlator_method_set(self, method)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"method: std::string const &\n"
		"\n"
		""},
	 { "Correlator_method_get", _wrap_Correlator_method_get, METH_O, "Correlator_method_get(self) -> std::string const &"},
	 { "Correlator_swigregister", Correlator_swigregister, METH_O, NULL},
	 { "Correlator_swiginit", Correlator_swiginit, METH_VARARGS, NULL},
	 { "vector_CLSMFrame_iterator", _wrap_vector_CLSMFrame_iterator, METH_O, "vector_CLSMFrame_iterator(self) -> SwigPyIterator"},
	 { "vector_CLSMFrame___nonzero__", _wrap_vector_CLSMFrame___nonzero__, METH_O, "vector_CLSMFrame___nonzero__(self) -> bool"},
	 { "vector_CLSMFrame___bool__", _wrap_vector_CLSMFrame___bool__, METH_O, "vector_CLSMFrame___bool__(self) -> bool"},
	 { "vector_CLSMFrame___len__", _wrap_vector_CLSMFrame___len__, METH_O, "vector_CLSMFrame___len__(self) -> std::vector< CLSMFrame * >::size_type"},
	 { "vector_CLSMFrame___getslice__", (PyCFunction)(void(*)(void))_wrap_vector_CLSMFrame___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMFrame___getslice__(self, i, j) -> vector_CLSMFrame\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMFrame * >::difference_type\n"
		"j: std::vector< CLSMFrame * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame___setslice__", _wrap_vector_CLSMFrame___setslice__, METH_VARARGS, "\n"
		"vector_CLSMFrame___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMFrame * >::difference_type\n"
		"j: std::vector< CLSMFrame * >::difference_type\n"
		"\n"
		"vector_CLSMFrame___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMFrame * >::difference_type\n"
		"j: std::vector< CLSMFrame * >::difference_type\n"
		"v: std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &\n"
		"\n"
		""},
	 { "vector_CLSMFrame___delslice__", (PyCFunction)(void(*)(void))_wrap_vector_CLSMFrame___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMFrame___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMFrame * >::difference_type\n"
		"j: std::vector< CLSMFrame * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame___delitem__", _wrap_vector_CLSMFrame___delitem__, METH_VARARGS, "\n"
		"vector_CLSMFrame___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMFrame * >::difference_type\n"
		"\n"
		"vector_CLSMFrame___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "vector_CLSMFrame___getitem__", _wrap_vector_CLSMFrame___getitem__, METH_VARARGS, "\n"
		"vector_CLSMFrame___getitem__(self, slice) -> vector_CLSMFrame\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"vector_CLSMFrame___getitem__(self, i) -> CLSMFrame\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMFrame * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame___setitem__", _wrap_vector_CLSMFrame___setitem__, METH_VARARGS, "\n"
		"vector_CLSMFrame___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > const &\n"
		"\n"
		"vector_CLSMFrame___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"vector_CLSMFrame___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMFrame * >::difference_type\n"
		"x: std::vector< CLSMFrame * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame_pop", _wrap_vector_CLSMFrame_pop, METH_O, "vector_CLSMFrame_pop(self) -> CLSMFrame"},
	 { "vector_CLSMFrame_append", (PyCFunction)(void(*)(void))_wrap_vector_CLSMFrame_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMFrame_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< CLSMFrame * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame_empty", _wrap_vector_CLSMFrame_empty, METH_O, "vector_CLSMFrame_empty(self) -> bool"},
	 { "vector_CLSMFrame_size", _wrap_vector_CLSMFrame_size, METH_O, "vector_CLSMFrame_size(self) -> std::vector< CLSMFrame * >::size_type"},
	 { "vector_CLSMFrame_swap", (PyCFunction)(void(*)(void))_wrap_vector_CLSMFrame_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMFrame_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< CLSMFrame * > &\n"
		"\n"
		""},
	 { "vector_CLSMFrame_begin", _wrap_vector_CLSMFrame_begin, METH_O, "vector_CLSMFrame_begin(self) -> std::vector< CLSMFrame * >::iterator"},
	 { "vector_CLSMFrame_end", _wrap_vector_CLSMFrame_end, METH_O, "vector_CLSMFrame_end(self) -> std::vector< CLSMFrame * >::iterator"},
	 { "vector_CLSMFrame_rbegin", _wrap_vector_CLSMFrame_rbegin, METH_O, "vector_CLSMFrame_rbegin(self) -> std::vector< CLSMFrame * >::reverse_iterator"},
	 { "vector_CLSMFrame_rend", _wrap_vector_CLSMFrame_rend, METH_O, "vector_CLSMFrame_rend(self) -> std::vector< CLSMFrame * >::reverse_iterator"},
	 { "vector_CLSMFrame_clear", _wrap_vector_CLSMFrame_clear, METH_O, "vector_CLSMFrame_clear(self)"},
	 { "vector_CLSMFrame_get_allocator", _wrap_vector_CLSMFrame_get_allocator, METH_O, "vector_CLSMFrame_get_allocator(self) -> std::vector< CLSMFrame * >::allocator_type"},
	 { "vector_CLSMFrame_pop_back", _wrap_vector_CLSMFrame_pop_back, METH_O, "vector_CLSMFrame_pop_back(self)"},
	 { "vector_CLSMFrame_erase", _wrap_vector_CLSMFrame_erase, METH_VARARGS, "\n"
		"vector_CLSMFrame_erase(self, pos) -> std::vector< CLSMFrame * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMFrame * >::iterator\n"
		"\n"
		"vector_CLSMFrame_erase(self, first, last) -> std::vector< CLSMFrame * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< CLSMFrame * >::iterator\n"
		"last: std::vector< CLSMFrame * >::iterator\n"
		"\n"
		""},
	 { "new_vector_CLSMFrame", _wrap_new_vector_CLSMFrame, METH_VARARGS, "\n"
		"vector_CLSMFrame()\n"
		"vector_CLSMFrame(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< CLSMFrame * > const &\n"
		"\n"
		"vector_CLSMFrame(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< CLSMFrame * >::size_type\n"
		"\n"
		"new_vector_CLSMFrame(size, value) -> vector_CLSMFrame\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< CLSMFrame * >::size_type\n"
		"value: std::vector< CLSMFrame * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame_push_back", (PyCFunction)(void(*)(void))_wrap_vector_CLSMFrame_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMFrame_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< CLSMFrame * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame_front", _wrap_vector_CLSMFrame_front, METH_O, "vector_CLSMFrame_front(self) -> CLSMFrame"},
	 { "vector_CLSMFrame_back", _wrap_vector_CLSMFrame_back, METH_O, "vector_CLSMFrame_back(self) -> CLSMFrame"},
	 { "vector_CLSMFrame_assign", (PyCFunction)(void(*)(void))_wrap_vector_CLSMFrame_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMFrame_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< CLSMFrame * >::size_type\n"
		"x: std::vector< CLSMFrame * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame_resize", _wrap_vector_CLSMFrame_resize, METH_VARARGS, "\n"
		"vector_CLSMFrame_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< CLSMFrame * >::size_type\n"
		"\n"
		"vector_CLSMFrame_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< CLSMFrame * >::size_type\n"
		"x: std::vector< CLSMFrame * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame_insert", _wrap_vector_CLSMFrame_insert, METH_VARARGS, "\n"
		"vector_CLSMFrame_insert(self, pos, x) -> std::vector< CLSMFrame * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMFrame * >::iterator\n"
		"x: std::vector< CLSMFrame * >::value_type\n"
		"\n"
		"vector_CLSMFrame_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMFrame * >::iterator\n"
		"n: std::vector< CLSMFrame * >::size_type\n"
		"x: std::vector< CLSMFrame * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame_reserve", (PyCFunction)(void(*)(void))_wrap_vector_CLSMFrame_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMFrame_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< CLSMFrame * >::size_type\n"
		"\n"
		""},
	 { "vector_CLSMFrame_capacity", _wrap_vector_CLSMFrame_capacity, METH_O, "vector_CLSMFrame_capacity(self) -> std::vector< CLSMFrame * >::size_type"},
	 { "delete_vector_CLSMFrame", _wrap_delete_vector_CLSMFrame, METH_O, "delete_vector_CLSMFrame(self)"},
	 { "vector_CLSMFrame_swigregister", vector_CLSMFrame_swigregister, METH_O, NULL},
	 { "vector_CLSMFrame_swiginit", vector_CLSMFrame_swiginit, METH_VARARGS, NULL},
	 { "vector_CLSMLine_iterator", _wrap_vector_CLSMLine_iterator, METH_O, "vector_CLSMLine_iterator(self) -> SwigPyIterator"},
	 { "vector_CLSMLine___nonzero__", _wrap_vector_CLSMLine___nonzero__, METH_O, "vector_CLSMLine___nonzero__(self) -> bool"},
	 { "vector_CLSMLine___bool__", _wrap_vector_CLSMLine___bool__, METH_O, "vector_CLSMLine___bool__(self) -> bool"},
	 { "vector_CLSMLine___len__", _wrap_vector_CLSMLine___len__, METH_O, "vector_CLSMLine___len__(self) -> std::vector< CLSMLine * >::size_type"},
	 { "vector_CLSMLine___getslice__", (PyCFunction)(void(*)(void))_wrap_vector_CLSMLine___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMLine___getslice__(self, i, j) -> vector_CLSMLine\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMLine * >::difference_type\n"
		"j: std::vector< CLSMLine * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMLine___setslice__", _wrap_vector_CLSMLine___setslice__, METH_VARARGS, "\n"
		"vector_CLSMLine___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMLine * >::difference_type\n"
		"j: std::vector< CLSMLine * >::difference_type\n"
		"\n"
		"vector_CLSMLine___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMLine * >::difference_type\n"
		"j: std::vector< CLSMLine * >::difference_type\n"
		"v: std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &\n"
		"\n"
		""},
	 { "vector_CLSMLine___delslice__", (PyCFunction)(void(*)(void))_wrap_vector_CLSMLine___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMLine___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMLine * >::difference_type\n"
		"j: std::vector< CLSMLine * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMLine___delitem__", _wrap_vector_CLSMLine___delitem__, METH_VARARGS, "\n"
		"vector_CLSMLine___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMLine * >::difference_type\n"
		"\n"
		"vector_CLSMLine___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "vector_CLSMLine___getitem__", _wrap_vector_CLSMLine___getitem__, METH_VARARGS, "\n"
		"vector_CLSMLine___getitem__(self, slice) -> vector_CLSMLine\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"vector_CLSMLine___getitem__(self, i) -> CLSMLine\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMLine * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMLine___setitem__", _wrap_vector_CLSMLine___setitem__, METH_VARARGS, "\n"
		"vector_CLSMLine___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< CLSMLine *,std::allocator< CLSMLine * > > const &\n"
		"\n"
		"vector_CLSMLine___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"vector_CLSMLine___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMLine * >::difference_type\n"
		"x: std::vector< CLSMLine * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMLine_pop", _wrap_vector_CLSMLine_pop, METH_O, "vector_CLSMLine_pop(self) -> CLSMLine"},
	 { "vector_CLSMLine_append", (PyCFunction)(void(*)(void))_wrap_vector_CLSMLine_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMLine_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< CLSMLine * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMLine_empty", _wrap_vector_CLSMLine_empty, METH_O, "vector_CLSMLine_empty(self) -> bool"},
	 { "vector_CLSMLine_size", _wrap_vector_CLSMLine_size, METH_O, "vector_CLSMLine_size(self) -> std::vector< CLSMLine * >::size_type"},
	 { "vector_CLSMLine_swap", (PyCFunction)(void(*)(void))_wrap_vector_CLSMLine_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMLine_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< CLSMLine * > &\n"
		"\n"
		""},
	 { "vector_CLSMLine_begin", _wrap_vector_CLSMLine_begin, METH_O, "vector_CLSMLine_begin(self) -> std::vector< CLSMLine * >::iterator"},
	 { "vector_CLSMLine_end", _wrap_vector_CLSMLine_end, METH_O, "vector_CLSMLine_end(self) -> std::vector< CLSMLine * >::iterator"},
	 { "vector_CLSMLine_rbegin", _wrap_vector_CLSMLine_rbegin, METH_O, "vector_CLSMLine_rbegin(self) -> std::vector< CLSMLine * >::reverse_iterator"},
	 { "vector_CLSMLine_rend", _wrap_vector_CLSMLine_rend, METH_O, "vector_CLSMLine_rend(self) -> std::vector< CLSMLine * >::reverse_iterator"},
	 { "vector_CLSMLine_clear", _wrap_vector_CLSMLine_clear, METH_O, "vector_CLSMLine_clear(self)"},
	 { "vector_CLSMLine_get_allocator", _wrap_vector_CLSMLine_get_allocator, METH_O, "vector_CLSMLine_get_allocator(self) -> std::vector< CLSMLine * >::allocator_type"},
	 { "vector_CLSMLine_pop_back", _wrap_vector_CLSMLine_pop_back, METH_O, "vector_CLSMLine_pop_back(self)"},
	 { "vector_CLSMLine_erase", _wrap_vector_CLSMLine_erase, METH_VARARGS, "\n"
		"vector_CLSMLine_erase(self, pos) -> std::vector< CLSMLine * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMLine * >::iterator\n"
		"\n"
		"vector_CLSMLine_erase(self, first, last) -> std::vector< CLSMLine * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< CLSMLine * >::iterator\n"
		"last: std::vector< CLSMLine * >::iterator\n"
		"\n"
		""},
	 { "new_vector_CLSMLine", _wrap_new_vector_CLSMLine, METH_VARARGS, "\n"
		"vector_CLSMLine()\n"
		"vector_CLSMLine(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< CLSMLine * > const &\n"
		"\n"
		"vector_CLSMLine(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< CLSMLine * >::size_type\n"
		"\n"
		"new_vector_CLSMLine(size, value) -> vector_CLSMLine\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< CLSMLine * >::size_type\n"
		"value: std::vector< CLSMLine * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMLine_push_back", (PyCFunction)(void(*)(void))_wrap_vector_CLSMLine_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMLine_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< CLSMLine * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMLine_front", _wrap_vector_CLSMLine_front, METH_O, "vector_CLSMLine_front(self) -> CLSMLine"},
	 { "vector_CLSMLine_back", _wrap_vector_CLSMLine_back, METH_O, "vector_CLSMLine_back(self) -> CLSMLine"},
	 { "vector_CLSMLine_assign", (PyCFunction)(void(*)(void))_wrap_vector_CLSMLine_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMLine_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< CLSMLine * >::size_type\n"
		"x: std::vector< CLSMLine * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMLine_resize", _wrap_vector_CLSMLine_resize, METH_VARARGS, "\n"
		"vector_CLSMLine_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< CLSMLine * >::size_type\n"
		"\n"
		"vector_CLSMLine_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< CLSMLine * >::size_type\n"
		"x: std::vector< CLSMLine * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMLine_insert", _wrap_vector_CLSMLine_insert, METH_VARARGS, "\n"
		"vector_CLSMLine_insert(self, pos, x) -> std::vector< CLSMLine * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMLine * >::iterator\n"
		"x: std::vector< CLSMLine * >::value_type\n"
		"\n"
		"vector_CLSMLine_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMLine * >::iterator\n"
		"n: std::vector< CLSMLine * >::size_type\n"
		"x: std::vector< CLSMLine * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMLine_reserve", (PyCFunction)(void(*)(void))_wrap_vector_CLSMLine_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMLine_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< CLSMLine * >::size_type\n"
		"\n"
		""},
	 { "vector_CLSMLine_capacity", _wrap_vector_CLSMLine_capacity, METH_O, "vector_CLSMLine_capacity(self) -> std::vector< CLSMLine * >::size_type"},
	 { "delete_vector_CLSMLine", _wrap_delete_vector_CLSMLine, METH_O, "delete_vector_CLSMLine(self)"},
	 { "vector_CLSMLine_swigregister", vector_CLSMLine_swigregister, METH_O, NULL},
	 { "vector_CLSMLine_swiginit", vector_CLSMLine_swiginit, METH_VARARGS, NULL},
	 { "vector_CLSMPixel_iterator", _wrap_vector_CLSMPixel_iterator, METH_O, "vector_CLSMPixel_iterator(self) -> SwigPyIterator"},
	 { "vector_CLSMPixel___nonzero__", _wrap_vector_CLSMPixel___nonzero__, METH_O, "vector_CLSMPixel___nonzero__(self) -> bool"},
	 { "vector_CLSMPixel___bool__", _wrap_vector_CLSMPixel___bool__, METH_O, "vector_CLSMPixel___bool__(self) -> bool"},
	 { "vector_CLSMPixel___len__", _wrap_vector_CLSMPixel___len__, METH_O, "vector_CLSMPixel___len__(self) -> std::vector< CLSMPixel * >::size_type"},
	 { "vector_CLSMPixel___getslice__", (PyCFunction)(void(*)(void))_wrap_vector_CLSMPixel___getslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMPixel___getslice__(self, i, j) -> vector_CLSMPixel\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMPixel * >::difference_type\n"
		"j: std::vector< CLSMPixel * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel___setslice__", _wrap_vector_CLSMPixel___setslice__, METH_VARARGS, "\n"
		"vector_CLSMPixel___setslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMPixel * >::difference_type\n"
		"j: std::vector< CLSMPixel * >::difference_type\n"
		"\n"
		"vector_CLSMPixel___setslice__(self, i, j, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMPixel * >::difference_type\n"
		"j: std::vector< CLSMPixel * >::difference_type\n"
		"v: std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &\n"
		"\n"
		""},
	 { "vector_CLSMPixel___delslice__", (PyCFunction)(void(*)(void))_wrap_vector_CLSMPixel___delslice__, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMPixel___delslice__(self, i, j)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMPixel * >::difference_type\n"
		"j: std::vector< CLSMPixel * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel___delitem__", _wrap_vector_CLSMPixel___delitem__, METH_VARARGS, "\n"
		"vector_CLSMPixel___delitem__(self, i)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMPixel * >::difference_type\n"
		"\n"
		"vector_CLSMPixel___delitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		""},
	 { "vector_CLSMPixel___getitem__", _wrap_vector_CLSMPixel___getitem__, METH_VARARGS, "\n"
		"vector_CLSMPixel___getitem__(self, slice) -> vector_CLSMPixel\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"vector_CLSMPixel___getitem__(self, i) -> CLSMPixel\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMPixel * >::difference_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel___setitem__", _wrap_vector_CLSMPixel___setitem__, METH_VARARGS, "\n"
		"vector_CLSMPixel___setitem__(self, slice, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"v: std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > const &\n"
		"\n"
		"vector_CLSMPixel___setitem__(self, slice)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"slice: SWIGPY_SLICEOBJECT *\n"
		"\n"
		"vector_CLSMPixel___setitem__(self, i, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: std::vector< CLSMPixel * >::difference_type\n"
		"x: std::vector< CLSMPixel * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel_pop", _wrap_vector_CLSMPixel_pop, METH_O, "vector_CLSMPixel_pop(self) -> CLSMPixel"},
	 { "vector_CLSMPixel_append", (PyCFunction)(void(*)(void))_wrap_vector_CLSMPixel_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMPixel_append(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< CLSMPixel * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel_empty", _wrap_vector_CLSMPixel_empty, METH_O, "vector_CLSMPixel_empty(self) -> bool"},
	 { "vector_CLSMPixel_size", _wrap_vector_CLSMPixel_size, METH_O, "vector_CLSMPixel_size(self) -> std::vector< CLSMPixel * >::size_type"},
	 { "vector_CLSMPixel_swap", (PyCFunction)(void(*)(void))_wrap_vector_CLSMPixel_swap, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMPixel_swap(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::vector< CLSMPixel * > &\n"
		"\n"
		""},
	 { "vector_CLSMPixel_begin", _wrap_vector_CLSMPixel_begin, METH_O, "vector_CLSMPixel_begin(self) -> std::vector< CLSMPixel * >::iterator"},
	 { "vector_CLSMPixel_end", _wrap_vector_CLSMPixel_end, METH_O, "vector_CLSMPixel_end(self) -> std::vector< CLSMPixel * >::iterator"},
	 { "vector_CLSMPixel_rbegin", _wrap_vector_CLSMPixel_rbegin, METH_O, "vector_CLSMPixel_rbegin(self) -> std::vector< CLSMPixel * >::reverse_iterator"},
	 { "vector_CLSMPixel_rend", _wrap_vector_CLSMPixel_rend, METH_O, "vector_CLSMPixel_rend(self) -> std::vector< CLSMPixel * >::reverse_iterator"},
	 { "vector_CLSMPixel_clear", _wrap_vector_CLSMPixel_clear, METH_O, "vector_CLSMPixel_clear(self)"},
	 { "vector_CLSMPixel_get_allocator", _wrap_vector_CLSMPixel_get_allocator, METH_O, "vector_CLSMPixel_get_allocator(self) -> std::vector< CLSMPixel * >::allocator_type"},
	 { "vector_CLSMPixel_pop_back", _wrap_vector_CLSMPixel_pop_back, METH_O, "vector_CLSMPixel_pop_back(self)"},
	 { "vector_CLSMPixel_erase", _wrap_vector_CLSMPixel_erase, METH_VARARGS, "\n"
		"vector_CLSMPixel_erase(self, pos) -> std::vector< CLSMPixel * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMPixel * >::iterator\n"
		"\n"
		"vector_CLSMPixel_erase(self, first, last) -> std::vector< CLSMPixel * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"first: std::vector< CLSMPixel * >::iterator\n"
		"last: std::vector< CLSMPixel * >::iterator\n"
		"\n"
		""},
	 { "new_vector_CLSMPixel", _wrap_new_vector_CLSMPixel, METH_VARARGS, "\n"
		"vector_CLSMPixel()\n"
		"vector_CLSMPixel(other)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"other: std::vector< CLSMPixel * > const &\n"
		"\n"
		"vector_CLSMPixel(size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< CLSMPixel * >::size_type\n"
		"\n"
		"new_vector_CLSMPixel(size, value) -> vector_CLSMPixel\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"size: std::vector< CLSMPixel * >::size_type\n"
		"value: std::vector< CLSMPixel * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel_push_back", (PyCFunction)(void(*)(void))_wrap_vector_CLSMPixel_push_back, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMPixel_push_back(self, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: std::vector< CLSMPixel * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel_front", _wrap_vector_CLSMPixel_front, METH_O, "vector_CLSMPixel_front(self) -> CLSMPixel"},
	 { "vector_CLSMPixel_back", _wrap_vector_CLSMPixel_back, METH_O, "vector_CLSMPixel_back(self) -> CLSMPixel"},
	 { "vector_CLSMPixel_assign", (PyCFunction)(void(*)(void))_wrap_vector_CLSMPixel_assign, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMPixel_assign(self, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< CLSMPixel * >::size_type\n"
		"x: std::vector< CLSMPixel * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel_resize", _wrap_vector_CLSMPixel_resize, METH_VARARGS, "\n"
		"vector_CLSMPixel_resize(self, new_size)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< CLSMPixel * >::size_type\n"
		"\n"
		"vector_CLSMPixel_resize(self, new_size, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_size: std::vector< CLSMPixel * >::size_type\n"
		"x: std::vector< CLSMPixel * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel_insert", _wrap_vector_CLSMPixel_insert, METH_VARARGS, "\n"
		"vector_CLSMPixel_insert(self, pos, x) -> std::vector< CLSMPixel * >::iterator\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMPixel * >::iterator\n"
		"x: std::vector< CLSMPixel * >::value_type\n"
		"\n"
		"vector_CLSMPixel_insert(self, pos, n, x)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pos: std::vector< CLSMPixel * >::iterator\n"
		"n: std::vector< CLSMPixel * >::size_type\n"
		"x: std::vector< CLSMPixel * >::value_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel_reserve", (PyCFunction)(void(*)(void))_wrap_vector_CLSMPixel_reserve, METH_VARARGS|METH_KEYWORDS, "\n"
		"vector_CLSMPixel_reserve(self, n)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"n: std::vector< CLSMPixel * >::size_type\n"
		"\n"
		""},
	 { "vector_CLSMPixel_capacity", _wrap_vector_CLSMPixel_capacity, METH_O, "vector_CLSMPixel_capacity(self) -> std::vector< CLSMPixel * >::size_type"},
	 { "delete_vector_CLSMPixel", _wrap_delete_vector_CLSMPixel, METH_O, "delete_vector_CLSMPixel(self)"},
	 { "vector_CLSMPixel_swigregister", vector_CLSMPixel_swigregister, METH_O, NULL},
	 { "vector_CLSMPixel_swiginit", vector_CLSMPixel_swiginit, METH_VARARGS, NULL},
	 { "delete_CLSMPixel", _wrap_delete_CLSMPixel, METH_O, "\n"
		"delete_CLSMPixel(self)\n"
		"\n"
		"CLSMPixel::~CLSMPixel\n"
		""},
	 { "new_CLSMPixel", _wrap_new_CLSMPixel, METH_VARARGS, "\n"
		"CLSMPixel(p2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2: CLSMPixel const &\n"
		"\n"
		"new_CLSMPixel(p2=None) -> CLSMPixel\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2: CLSMPixel *\n"
		"\n"
		"\n"
		"CLSMPixel::CLSMPixel\n"
		""},
	 { "CLSMPixel_swigregister", CLSMPixel_swigregister, METH_O, NULL},
	 { "CLSMPixel_swiginit", CLSMPixel_swiginit, METH_VARARGS, NULL},
	 { "CLSMLine_get_pixels", _wrap_CLSMLine_get_pixels, METH_O, "\n"
		"CLSMLine_get_pixels(self) -> std::vector< CLSMPixel,std::allocator< CLSMPixel > > &\n"
		"\n"
		"CLSMLine::get_pixels\n"
		""},
	 { "CLSMLine_set_pixel_duration", (PyCFunction)(void(*)(void))_wrap_CLSMLine_set_pixel_duration, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMLine_set_pixel_duration(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: int\n"
		"\n"
		"\n"
		"CLSMLine::set_pixel_duration\n"
		""},
	 { "new_CLSMLine", _wrap_new_CLSMLine, METH_VARARGS, "\n"
		"CLSMLine()\n"
		"CLSMLine(old_line, fill=True)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"old_line: CLSMLine const &\n"
		"fill: bool\n"
		"\n"
		"CLSMLine(line_start)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"line_start: unsigned int\n"
		"\n"
		"new_CLSMLine(line_start, n_pixel) -> CLSMLine\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"line_start: int\n"
		"n_pixel: unsigned int\n"
		"\n"
		"\n"
		"CLSMLine::CLSMLine\n"
		""},
	 { "delete_CLSMLine", _wrap_delete_CLSMLine, METH_O, "\n"
		"delete_CLSMLine(self)\n"
		"\n"
		"CLSMLine::~CLSMLine\n"
		""},
	 { "CLSMLine_append", (PyCFunction)(void(*)(void))_wrap_CLSMLine_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMLine_append(self, pixel)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pixel: CLSMPixel &\n"
		"\n"
		"\n"
		"CLSMLine::append\n"
		""},
	 { "CLSMLine_crop", (PyCFunction)(void(*)(void))_wrap_CLSMLine_crop, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMLine_crop(self, pixel_start, pixel_stop)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pixel_start: int\n"
		"pixel_stop: int\n"
		"\n"
		"\n"
		"CLSMLine::crop\n"
		""},
	 { "CLSMLine___iadd__", (PyCFunction)(void(*)(void))_wrap_CLSMLine___iadd__, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMLine___iadd__(self, rhs) -> CLSMLine\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"rhs: CLSMLine const &\n"
		"\n"
		""},
	 { "CLSMLine_n_pixel_get", _wrap_CLSMLine_n_pixel_get, METH_O, "CLSMLine_n_pixel_get(self) -> size_t"},
	 { "CLSMLine_pixel_duration_get", _wrap_CLSMLine_pixel_duration_get, METH_O, "CLSMLine_pixel_duration_get(self) -> unsigned long long"},
	 { "CLSMLine___getitem__", (PyCFunction)(void(*)(void))_wrap_CLSMLine___getitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMLine___getitem__(self, i) -> CLSMPixel\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: int\n"
		"\n"
		""},
	 { "CLSMLine___len__", _wrap_CLSMLine___len__, METH_O, "CLSMLine___len__(self) -> size_t"},
	 { "CLSMLine_swigregister", CLSMLine_swigregister, METH_O, NULL},
	 { "CLSMLine_swiginit", CLSMLine_swiginit, METH_VARARGS, NULL},
	 { "CLSMFrame_get_lines", _wrap_CLSMFrame_get_lines, METH_O, "\n"
		"CLSMFrame_get_lines(self) -> vector_CLSMLine\n"
		"\n"
		"CLSMFrame::get_lines\n"
		"Get a vector containing pointers to the CLSMLines in the CLSMFrame.  \n"
		"\n"
		"This function returns a vector containing pointers to the CLSMLines stored in\n"
		"the CLSMFrame.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"A vector of CLSMLine pointers.  \n"
		"\n"
		""},
	 { "delete_CLSMFrame", _wrap_delete_CLSMFrame, METH_O, "\n"
		"delete_CLSMFrame(self)\n"
		"\n"
		"CLSMFrame::~CLSMFrame\n"
		"Destructor for CLSMFrame.  \n"
		"\n"
		"Deletes dynamically allocated CLSMLine objects in the lines vector.  \n"
		"\n"
		""},
	 { "new_CLSMFrame", _wrap_new_CLSMFrame, METH_VARARGS, "\n"
		"CLSMFrame()\n"
		"CLSMFrame(old_frame, fill=True)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"old_frame: CLSMFrame const &\n"
		"fill: bool\n"
		"\n"
		"new_CLSMFrame(frame_start, frame_stop, tttr) -> CLSMFrame\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"frame_start: size_t\n"
		"frame_stop: size_t\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"\n"
		"\n"
		"CLSMFrame::CLSMFrame\n"
		"Constructor for CLSMFrame with specified frame indices and a TTTR object.  \n"
		"\n"
		"This constructor initializes a CLSMFrame object with the specified frame indices\n"
		"(frame_start to frame_stop) using a TTTR (Time-Tagged Time-Resolved) data\n"
		"object.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `frame_start` :  \n"
		"    [in] The starting frame index for the CLSMFrame.  \n"
		"* `frame_stop` :  \n"
		"    [in] The stopping frame index for the CLSMFrame.  \n"
		"* `tttr` :  \n"
		"    [in] Pointer to a TTTR object containing time-resolved data.  \n"
		"\n"
		""},
	 { "CLSMFrame_append", (PyCFunction)(void(*)(void))_wrap_CLSMFrame_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMFrame_append(self, line)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"line: CLSMLine *\n"
		"\n"
		"\n"
		"CLSMFrame::append\n"
		"Append a CLSMLine to the current CLSMFrame.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `line` :  \n"
		"    [in] Pointer to the CLSMLine to be appended.  \n"
		"\n"
		""},
	 { "CLSMFrame___iadd__", (PyCFunction)(void(*)(void))_wrap_CLSMFrame___iadd__, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMFrame___iadd__(self, rhs) -> CLSMFrame\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"rhs: CLSMFrame const &\n"
		"\n"
		""},
	 { "CLSMFrame_crop", (PyCFunction)(void(*)(void))_wrap_CLSMFrame_crop, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMFrame_crop(self, line_start, line_stop, pixel_start, pixel_stop)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"line_start: int\n"
		"line_stop: int\n"
		"pixel_start: int\n"
		"pixel_stop: int\n"
		"\n"
		"\n"
		"CLSMFrame::crop\n"
		"Crop the CLSMFrame by selecting a region of lines and pixels.  \n"
		"\n"
		"This function crops the CLSMFrame by selecting a specific range of lines (from\n"
		"line_start to line_stop) and pixels (from pixel_start to pixel_stop).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `line_start` :  \n"
		"    [in] The starting line index for cropping.  \n"
		"* `line_stop` :  \n"
		"    [in] The stopping line index for cropping.  \n"
		"* `pixel_start` :  \n"
		"    [in] The starting pixel index for cropping.  \n"
		"* `pixel_stop` :  \n"
		"    [in] The stopping pixel index for cropping.  \n"
		"\n"
		""},
	 { "CLSMFrame_n_lines_get", _wrap_CLSMFrame_n_lines_get, METH_O, "CLSMFrame_n_lines_get(self) -> size_t"},
	 { "CLSMFrame___getitem__", (PyCFunction)(void(*)(void))_wrap_CLSMFrame___getitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMFrame___getitem__(self, i) -> CLSMLine\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: int\n"
		"\n"
		""},
	 { "CLSMFrame___len__", _wrap_CLSMFrame___len__, METH_O, "CLSMFrame___len__(self) -> size_t"},
	 { "CLSMFrame_swigregister", CLSMFrame_swigregister, METH_O, NULL},
	 { "CLSMFrame_swiginit", CLSMFrame_swiginit, METH_VARARGS, NULL},
	 { "new_CLSMSettings", (PyCFunction)(void(*)(void))_wrap_new_CLSMSettings, METH_VARARGS|METH_KEYWORDS, "\n"
		"new_CLSMSettings(skip_before_first_frame_marker=False, skip_after_last_frame_marker=False, reading_routine=CLSM_DEFAULT, marker_line_start=3, marker_line_stop=2, marker_frame_start=std::vector< int >({1}), marker_event_type=1, n_pixel_per_line=1, n_lines=-1, bidirectional_scan=False) -> CLSMSettings\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"skip_before_first_frame_marker: bool\n"
		"skip_after_last_frame_marker: bool\n"
		"reading_routine: int\n"
		"marker_line_start: int\n"
		"marker_line_stop: int\n"
		"marker_frame_start: std::vector< int,std::allocator< int > >\n"
		"marker_event_type: int\n"
		"n_pixel_per_line: int\n"
		"n_lines: int\n"
		"bidirectional_scan: bool\n"
		"\n"
		"\n"
		"CLSMSettings::CLSMSettings\n"
		"CLSMSettings Constructor.  \n"
		"\n"
		"Constructs a CLSMSettings object with the specified parameters.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `skip_before_first_frame_marker` :  \n"
		"    If true, skip TTTR events before the first frame marker (default: false).  \n"
		"* `skip_after_last_frame_marker` :  \n"
		"    If true, skip TTTR events after the last frame marker (default: false).  \n"
		"* `reading_routine` :  \n"
		"    Integer specifying the reading routine used to decode a CLSM image out of\n"
		"    TTTR data. By default, CLSM_DEFAULT.  \n"
		"* `marker_line_start` :  \n"
		"    Routing‐channel or micro‐time index serving as a marker for the start of a\n"
		"    new line (default: 3).  \n"
		"* `marker_line_stop` :  \n"
		"    Routing‐channel or micro‐time index serving as a marker for the end of a\n"
		"    line (default: 2).  \n"
		"* `marker_frame_start` :  \n"
		"    Vector of routing‐channel (or micro‐time) indices serving as frame‐start\n"
		"    markers (default: {1}).  \n"
		"* `marker_event_type` :  \n"
		"    Event type to treat as a “marker” (default: 1).  \n"
		"* `n_pixel_per_line` :  \n"
		"    Number of pixels per line (default: 1). If set to zero, the code will\n"
		"    auto‐determine based on the first frame.  \n"
		"* `n_lines` :  \n"
		"    Number of lines per frame. If -1, auto‐detect from the first frame (default:\n"
		"    -1).  \n"
		"* `bidirectional_scan` :  \n"
		"    If true, every odd line was scanned in reverse direction (default: false).  \n"
		"\n"
		""},
	 { "delete_CLSMSettings", _wrap_delete_CLSMSettings, METH_O, "delete_CLSMSettings(self)"},
	 { "CLSMSettings_swigregister", CLSMSettings_swigregister, METH_O, NULL},
	 { "CLSMSettings_swiginit", CLSMSettings_swiginit, METH_VARARGS, NULL},
	 { "CLSMImage_get_tttr", _wrap_CLSMImage_get_tttr, METH_O, "\n"
		"CLSMImage_get_tttr(self) -> std::shared_ptr< TTTR >\n"
		"\n"
		"CLSMImage::get_tttr\n"
		""},
	 { "CLSMImage_set_tttr", (PyCFunction)(void(*)(void))_wrap_CLSMImage_set_tttr, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_set_tttr(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: std::shared_ptr< TTTR >\n"
		"\n"
		"\n"
		"CLSMImage::set_tttr\n"
		""},
	 { "CLSMImage_get_settings", _wrap_CLSMImage_get_settings, METH_O, "\n"
		"CLSMImage_get_settings(self) -> CLSMSettings\n"
		"\n"
		"CLSMImage::get_settings\n"
		""},
	 { "CLSMImage_size", _wrap_CLSMImage_size, METH_O, "\n"
		"CLSMImage_size(self) -> size_t\n"
		"\n"
		"CLSMImage::size\n"
		"Get the number of frames in the CLSMImage.  \n"
		"\n"
		""},
	 { "CLSMImage_marker_frame_set", _wrap_CLSMImage_marker_frame_set, METH_VARARGS, "\n"
		"CLSMImage_marker_frame_set(self, marker_frame)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"marker_frame: std::vector< int,std::allocator< int > > *\n"
		"\n"
		""},
	 { "CLSMImage_marker_frame_get", _wrap_CLSMImage_marker_frame_get, METH_O, "CLSMImage_marker_frame_get(self) -> VectorInt32"},
	 { "CLSMImage_marker_line_start_set", _wrap_CLSMImage_marker_line_start_set, METH_VARARGS, "\n"
		"CLSMImage_marker_line_start_set(self, marker_line_start)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"marker_line_start: int\n"
		"\n"
		""},
	 { "CLSMImage_marker_line_start_get", _wrap_CLSMImage_marker_line_start_get, METH_O, "CLSMImage_marker_line_start_get(self) -> int"},
	 { "CLSMImage_marker_line_stop_set", _wrap_CLSMImage_marker_line_stop_set, METH_VARARGS, "\n"
		"CLSMImage_marker_line_stop_set(self, marker_line_stop)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"marker_line_stop: int\n"
		"\n"
		""},
	 { "CLSMImage_marker_line_stop_get", _wrap_CLSMImage_marker_line_stop_get, METH_O, "CLSMImage_marker_line_stop_get(self) -> int"},
	 { "CLSMImage_marker_event_set", _wrap_CLSMImage_marker_event_set, METH_VARARGS, "\n"
		"CLSMImage_marker_event_set(self, marker_event)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"marker_event: int\n"
		"\n"
		""},
	 { "CLSMImage_marker_event_get", _wrap_CLSMImage_marker_event_get, METH_O, "CLSMImage_marker_event_get(self) -> int"},
	 { "CLSMImage_reading_routine_set", _wrap_CLSMImage_reading_routine_set, METH_VARARGS, "\n"
		"CLSMImage_reading_routine_set(self, reading_routine)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"reading_routine: std::string const &\n"
		"\n"
		""},
	 { "CLSMImage_reading_routine_get", _wrap_CLSMImage_reading_routine_get, METH_O, "CLSMImage_reading_routine_get(self) -> std::string const &"},
	 { "CLSMImage_skip_before_first_frame_marker_set", _wrap_CLSMImage_skip_before_first_frame_marker_set, METH_VARARGS, "\n"
		"CLSMImage_skip_before_first_frame_marker_set(self, skip_before_first_frame_marker)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"skip_before_first_frame_marker: bool\n"
		"\n"
		""},
	 { "CLSMImage_skip_before_first_frame_marker_get", _wrap_CLSMImage_skip_before_first_frame_marker_get, METH_O, "CLSMImage_skip_before_first_frame_marker_get(self) -> bool"},
	 { "CLSMImage_skip_after_last_frame_marker_set", _wrap_CLSMImage_skip_after_last_frame_marker_set, METH_VARARGS, "\n"
		"CLSMImage_skip_after_last_frame_marker_set(self, skip_after_last_frame_marker)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"skip_after_last_frame_marker: bool\n"
		"\n"
		""},
	 { "CLSMImage_skip_after_last_frame_marker_get", _wrap_CLSMImage_skip_after_last_frame_marker_get, METH_O, "CLSMImage_skip_after_last_frame_marker_get(self) -> bool"},
	 { "CLSMImage_fill", (PyCFunction)(void(*)(void))_wrap_CLSMImage_fill, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_fill(self, tttr_data=0, channels=std::vector< int >(), clear=True, micro_time_ranges=std::vector< std::pair< int,int > >())\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: std::shared_ptr< TTTR >\n"
		"channels: std::vector< int,std::allocator< int > >\n"
		"clear: bool\n"
		"micro_time_ranges: std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > const &\n"
		"\n"
		"\n"
		"CLSMImage::fill\n"
		"Fills the time-tagged time-resolved (TTTR) indices of the pixels with the\n"
		"indices of the photons that fall within each pixel.  \n"
		"\n"
		"This function processes the TTTR data to associate routing channels with pixels\n"
		"based on specified criteria. The TTTR indices of the channels within each pixel\n"
		"are stored.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to the TTTR object containing the data to be processed (default is\n"
		"    nullptr).  \n"
		"* `channels` :  \n"
		"    List of routing channels. Events that have routing channels in this vector\n"
		"    are added to pixels of corresponding time.  \n"
		"* `clear` :  \n"
		"    If set to true (default), the pixels are cleared before being filled. If set\n"
		"    to false, new TTTR indices are added to the pixels.  \n"
		"* `micro_time_ranges` :  \n"
		"    List of pairs representing micro-time ranges. If provided, only events\n"
		"    within these ranges are considered.  \n"
		"\n"
		""},
	 { "CLSMImage_fill_pixels", (PyCFunction)(void(*)(void))_wrap_CLSMImage_fill_pixels, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_fill_pixels(self, tttr_data, channels, clear_pixel=True, micro_time_ranges=std::vector< std::pair< int,int > >())\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: std::shared_ptr< TTTR >\n"
		"channels: std::vector< int,std::allocator< int > >\n"
		"clear_pixel: bool\n"
		"micro_time_ranges: std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >\n"
		"\n"
		"\n"
		"CLSMImage::fill_pixels\n"
		"Fills the time-tagged time-resolved (TTTR) indices of the pixels with the\n"
		"indices of the channels that fall within each pixel.  \n"
		"\n"
		"Deprecated\n"
		"Use the 'fill' function instead.  \n"
		"\n"
		"This function is deprecated in favor of 'fill'. It processes the TTTR data to\n"
		"associate routing channels with pixels based on specified criteria. The TTTR\n"
		"indices of the channels within each pixel are stored.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to the TTTR object containing the data to be processed.  \n"
		"* `channels` :  \n"
		"    List of routing channels. Events that have routing channels in this vector\n"
		"    are added to pixels of corresponding time.  \n"
		"* `clear_pixel` :  \n"
		"    If set to true (default), the pixels are cleared before being filled. If set\n"
		"    to false, new TTTR indices are added to the pixels.  \n"
		"* `micro_time_ranges` :  \n"
		"    List of pairs representing micro-time ranges. If provided, only events\n"
		"    within these ranges are considered.  \n"
		"\n"
		""},
	 { "CLSMImage_clear", _wrap_CLSMImage_clear, METH_O, "\n"
		"CLSMImage_clear(self)\n"
		"\n"
		"CLSMImage::clear\n"
		"Clears the time-tagged time-resolved (TTTR) indices stored in the pixels.  \n"
		"\n"
		""},
	 { "CLSMImage_clear_pixels", _wrap_CLSMImage_clear_pixels, METH_O, "\n"
		"CLSMImage_clear_pixels(self)\n"
		"\n"
		"CLSMImage::clear_pixels\n"
		"Clears the time-tagged time-resolved (TTTR) indices stored in the pixels.  \n"
		"\n"
		"Deprecated\n"
		"Use the 'clear' function instead.  \n"
		"\n"
		"This function is deprecated in favor of 'clear'. It removes the stored TTTR\n"
		"indices from the pixels.  \n"
		"\n"
		""},
	 { "CLSMImage_strip", (PyCFunction)(void(*)(void))_wrap_CLSMImage_strip, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_strip(self, tttr_indices, offset=0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_indices: std::vector< int,std::allocator< int > > const &\n"
		"offset: int\n"
		"\n"
		"\n"
		"CLSMImage::strip\n"
		"Strips time-tagged time-resolved (TTTR) indices from all pixels in the image.  \n"
		"\n"
		"This function removes specified TTTR indices from all pixels in the image. It\n"
		"assumes that each TTTR index is present only once in the image.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_indices` :  \n"
		"    List of TTTR indices to be removed from the pixels.  \n"
		"* `offset` :  \n"
		"    Offset value added to the TTTR indices before removal (default is 0).  \n"
		"\n"
		""},
	 { "CLSMImage_get_fcs_image", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_fcs_image, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_fcs_image(self, tttr, clsm_other=None, correlation_method=\"default\", n_bins=50, n_casc=1, stack_frames=False, normalized_correlation=False, min_photons=2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: std::shared_ptr< TTTR >\n"
		"clsm_other: CLSMImage *\n"
		"correlation_method: std::string\n"
		"n_bins: int\n"
		"n_casc: int\n"
		"stack_frames: bool\n"
		"normalized_correlation: bool\n"
		"min_photons: int\n"
		"\n"
		"\n"
		"CLSMImage::get_fcs_image\n"
		"Computes an image where pixels represent correlation curves.  \n"
		"\n"
		"This function calculates a correlation image where each pixel corresponds to a\n"
		"correlation curve. The resulting image is determined by the specified parameters\n"
		"and is stored in the provided output array.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the array that will contain the correlation image. The array is\n"
		"    allocated by the function.  \n"
		"* `dim1` :  \n"
		"    Number of correlation curves in the image (frames or time bins).  \n"
		"* `dim2` :  \n"
		"    Number of lines per frame in the correlation image.  \n"
		"* `dim3` :  \n"
		"    Number of pixels per line in the correlation image.  \n"
		"* `dim4` :  \n"
		"    Number of cascades in the correlation image.  \n"
		"* `tttr` :  \n"
		"    Shared pointer to the TTTR object containing the data.  \n"
		"* `clsm_other` :  \n"
		"    Pointer to another CLSMImage object (default is nullptr).  \n"
		"* `correlation_method` :  \n"
		"    Method used for correlation computation (default is \"default\").  \n"
		"* `n_bins` :  \n"
		"    Number of bins used for correlation computation (default is 50).  \n"
		"* `n_casc` :  \n"
		"    Number of cascades in the correlation image (default is 1).  \n"
		"* `stack_frames` :  \n"
		"    If true, correlation curves are stacked into a single image (default is\n"
		"    false).  \n"
		"* `normalized_correlation` :  \n"
		"    If true, correlation curves are normalized (default is false).  \n"
		"* `min_photons` :  \n"
		"    Minimum number of photons required for correlation computation (default is\n"
		"    2).  \n"
		"\n"
		""},
	 { "CLSMImage_get_frames", _wrap_CLSMImage_get_frames, METH_O, "\n"
		"CLSMImage_get_frames(self) -> vector_CLSMFrame\n"
		"\n"
		"CLSMImage::get_frames\n"
		"Retrieves the frames stored in the CLSMImage.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Vector of CLSMFrame pointers representing the frames in the CLSMImage.  \n"
		"\n"
		""},
	 { "CLSMImage_get_intensity", _wrap_CLSMImage_get_intensity, METH_O, "\n"
		"CLSMImage_get_intensity(self)\n"
		"\n"
		"CLSMImage::get_intensity\n"
		"Computes an intensity image.  \n"
		"\n"
		"This function calculates an intensity image and stores it in the provided output\n"
		"array. The dimensions of the intensity image are returned in the output\n"
		"parameters.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the array that will contain the intensity image. The array is\n"
		"    allocated by the function.  \n"
		"* `dim1` :  \n"
		"    Number of frames in the intensity image.  \n"
		"* `dim2` :  \n"
		"    Number of lines per frame in the intensity image.  \n"
		"* `dim3` :  \n"
		"    Number of pixels per line in the intensity image.  \n"
		"\n"
		""},
	 { "CLSMImage_get_fluorescence_decay", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_fluorescence_decay, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_fluorescence_decay(self, tttr_data, micro_time_coarsening=1, stack_frames=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"micro_time_coarsening: int\n"
		"stack_frames: bool\n"
		"\n"
		"\n"
		"CLSMImage::get_fluorescence_decay\n"
		"Computes an image stack where the value of each pixel corresponds to a histogram\n"
		"of micro times in each pixel. The micro times can be coarsened by integer\n"
		"numbers.  \n"
		"\n"
		"This function calculates an image stack where each pixel represents a histogram\n"
		"of micro times. The resulting image stack is stored in the provided output\n"
		"array, and the dimensions of the image stack are returned in the output\n"
		"parameters.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `output` :  \n"
		"    Pointer to the output array of unsigned chars that will contain the image\n"
		"    stack. The array is allocated by the function.  \n"
		"* `dim1` :  \n"
		"    Number of frames in the image stack.  \n"
		"* `dim2` :  \n"
		"    Number of lines per frame in the image stack.  \n"
		"* `dim3` :  \n"
		"    Number of pixels per line in the image stack.  \n"
		"* `dim4` :  \n"
		"    Number of micro time channels in the histogram.  \n"
		"* `micro_time_coarsening` :  \n"
		"    Constant used to coarsen the micro times. The default value is 1, and the\n"
		"    micro times are binned without coarsening.  \n"
		"* `stack_frames` :  \n"
		"    If true, the frames are stacked.  \n"
		"\n"
		""},
	 { "CLSMImage_get_decay_of_pixels", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_decay_of_pixels, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_decay_of_pixels(self, tttr_data, mask, tac_coarsening, stack_frames)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"mask: uint8_t *\n"
		"tac_coarsening: int\n"
		"stack_frames: bool\n"
		"\n"
		"\n"
		"CLSMImage::get_decay_of_pixels\n"
		"Computes micro time histograms for the stacks of images and a selection of\n"
		"pixels. Photons in pixels that are selected by the selection array contribute to\n"
		"the returned array of micro time histograms.  \n"
		"\n"
		"This function calculates micro time histograms for selected pixels in the image\n"
		"stack, based on a provided mask. The resulting micro time histograms are stored\n"
		"in the provided output array, and the dimensions of the output array are\n"
		"returned in the output parameters.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `mask` :  \n"
		"    A stack of images used as a mask to select pixels.  \n"
		"* `dmask1` :  \n"
		"    Number of frames in the mask.  \n"
		"* `dmask2` :  \n"
		"    Number of lines in the mask.  \n"
		"* `dmask3` :  \n"
		"    Number of pixels per line in the mask.  \n"
		"* `output` :  \n"
		"    Pointer to the output array of unsigned int that contains the micro time\n"
		"    histograms. The array is allocated by the function.  \n"
		"* `dim1` :  \n"
		"    Dimension of the output array, i.e., the number of stacks.  \n"
		"* `dim2` :  \n"
		"    Dimension of the output array, i.e., the number of micro time channels.  \n"
		"* `tac_coarsening` :  \n"
		"    Constant used to coarsen the micro times.  \n"
		"* `stack_frames` :  \n"
		"    If true, the frames are stacked.  \n"
		"\n"
		""},
	 { "CLSMImage_get_mean_micro_time", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_mean_micro_time, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_mean_micro_time(self, tttr_data, microtime_resolution=-1.0, minimum_number_of_photons=2, stack_frames=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"microtime_resolution: double\n"
		"minimum_number_of_photons: int\n"
		"stack_frames: bool\n"
		"\n"
		"\n"
		"CLSMImage::get_mean_micro_time\n"
		"Calculates an image stack where the value of each pixel corresponds to the mean\n"
		"micro time (in units of the micro channel resolution).  \n"
		"\n"
		"Pixels with few photons can be discriminated. Discriminated pixels will be\n"
		"filled with zeros.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `output` :  \n"
		"    Pointer to the output array that will contain the image stack. The array is\n"
		"    allocated by the function.  \n"
		"* `dim1` :  \n"
		"    Returns the number of frames.  \n"
		"* `dim2` :  \n"
		"    Returns the number of lines.  \n"
		"* `dim3` :  \n"
		"    Returns the number of pixels per line.  \n"
		"* `microtime_resolution` :  \n"
		"    Micro channel resolution (default is -1.0, which means it will be obtained\n"
		"    from the TTTR object).  \n"
		"* `minimum_number_of_photons` :  \n"
		"    The minimum number of photons in a micro time (default is 2).  \n"
		"* `stack_frames` :  \n"
		"    If true, the frames are stacked (default is false). If stack frames is set\n"
		"    to true, the mean arrival time is computed using the TTTR indices of all\n"
		"    pixels (corresponding to the photon-weighted mean arrival time).  \n"
		"\n"
		""},
	 { "CLSMImage_get_phasor", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_phasor, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_phasor(self, tttr_data, tttr_irf=None, frequency=-1, minimum_number_of_photons=2, stack_frames=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"tttr_irf: TTTR *\n"
		"frequency: double\n"
		"minimum_number_of_photons: int\n"
		"stack_frames: bool\n"
		"\n"
		"\n"
		"CLSMImage::get_phasor\n"
		"Computes the phasor values for every pixel.  \n"
		"\n"
		"Pixels with few photons can be discriminated. Discriminated pixels will be\n"
		"filled with zeros.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the output array that will contain the image stack. The array is\n"
		"    allocated by the function.  \n"
		"* `dim1` :  \n"
		"    Returns the number of frames.  \n"
		"* `dim2` :  \n"
		"    Returns the number of lines.  \n"
		"* `dim3` :  \n"
		"    Returns the number of pixels per line.  \n"
		"* `dim4` :  \n"
		"    Returns 2 (first is the g phasor value (cos), second the s phasor (sin)).  \n"
		"* `tttr_data` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `tttr_irf` :  \n"
		"    Pointer to a TTTR object representing the Instrument Response Function (IRF)\n"
		"    (default is nullptr).  \n"
		"* `frequency` :  \n"
		"    Modulation frequency for phasor computation (default is -1, which means it\n"
		"    will be obtained from the TTTR object).  \n"
		"* `minimum_number_of_photons` :  \n"
		"    The minimum number of photons in a micro time (only used if frames are not\n"
		"    stacked, default is 2).  \n"
		"* `stack_frames` :  \n"
		"    If true, the frames are stacked (default is false). If stack frames is set\n"
		"    to true, the mean arrival time is computed using the TTTR indices of all\n"
		"    pixels (corresponding to the photon-weighted mean arrival time).  \n"
		"\n"
		""},
	 { "CLSMImage_get_mean_lifetime", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_mean_lifetime, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_mean_lifetime(self, tttr_data, minimum_number_of_photons=3, tttr_irf=None, m0_irf=1.0, m1_irf=1.0, stack_frames=False, background=std::vector< double >(), m0_bg=0.0, m1_bg=0.0, background_fraction=-1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"minimum_number_of_photons: int\n"
		"tttr_irf: TTTR *\n"
		"m0_irf: double\n"
		"m1_irf: double\n"
		"stack_frames: bool\n"
		"background: std::vector< double,std::allocator< double > >\n"
		"m0_bg: double\n"
		"m1_bg: double\n"
		"background_fraction: double\n"
		"\n"
		"\n"
		"CLSMImage::get_mean_lifetime\n"
		"Computes an image of average lifetimes.  \n"
		"\n"
		"The average lifetimes are computed (not fitted) by the methods of moments (Irvin\n"
		"Isenberg, 1973, Biophysical journal).  \n"
		"\n"
		"Pixels with few photons can be discriminated. Discriminated pixels are filled\n"
		"with zeros.  \n"
		"\n"
		"By default, the fluorescence lifetimes of the pixels are computed in units of\n"
		"nanoseconds.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    Pointer to a TTTR object.  \n"
		"* `output` :  \n"
		"    Pointer to the output array that will contain the image stack. The array is\n"
		"    allocated by the function.  \n"
		"* `dim1` :  \n"
		"    Returns the number of frames.  \n"
		"* `dim2` :  \n"
		"    Returns the number of lines.  \n"
		"* `dim3` :  \n"
		"    Returns the number of pixels per line.  \n"
		"* `minimum_number_of_photons` :  \n"
		"    The minimum number of photons in a micro time (default is 3).  \n"
		"* `tttr_irf` :  \n"
		"    Pointer to a TTTR object of the Instrument Response Function (IRF) (default\n"
		"    is nullptr).  \n"
		"* `m0_irf` :  \n"
		"    The zero moment of the IRF (optional, default is 1.0).  \n"
		"* `m1_irf` :  \n"
		"    The first moment of the IRF (optional, default is 1.0).  \n"
		"* `stack_frames` :  \n"
		"    If true, the frames are stacked (default is false).  \n"
		"* `background` :  \n"
		"    Vector of background values (optional, default is an empty vector).  \n"
		"* `m0_bg` :  \n"
		"    The zero moment of the background (optional, default is 0.0).  \n"
		"* `m1_bg` :  \n"
		"    The first moment of the background (optional, default is 0.0).  \n"
		"* `background_fraction` :  \n"
		"    Background fraction used for discrimination (default is -1.0, which disables\n"
		"    discrimination).  \n"
		"\n"
		""},
	 { "CLSMImage_to1D", (PyCFunction)(void(*)(void))_wrap_CLSMImage_to1D, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_to1D(self, frame, line, pixel) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"frame: int\n"
		"line: int\n"
		"pixel: int\n"
		"\n"
		"\n"
		"CLSMImage::to1D\n"
		"Convert three-dimensional coordinates (frame, line, pixel) to a one-dimensional\n"
		"index.  \n"
		"\n"
		"This inline function calculates a unique one-dimensional index for a given set\n"
		"of three-dimensional coordinates representing a position in an array.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `frame` :  \n"
		"    Index of the frame.  \n"
		"* `line` :  \n"
		"    Index of the line within the frame.  \n"
		"* `pixel` :  \n"
		"    Index of the pixel within the line.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"One-dimensional index corresponding to the input coordinates.  \n"
		"\n"
		""},
	 { "CLSMImage_to3D", (PyCFunction)(void(*)(void))_wrap_CLSMImage_to3D, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_to3D(self, idx) -> VectorInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"idx: int\n"
		"\n"
		"\n"
		"CLSMImage::to3D\n"
		"Convert a one-dimensional index to three-dimensional coordinates (frame, line,\n"
		"pixel).  \n"
		"\n"
		"This inline function calculates the three-dimensional coordinates (frame, line,\n"
		"pixel) corresponding to a given one-dimensional index in an array.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `idx` :  \n"
		"    One-dimensional index to be converted.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Vector containing frame, line, and pixel indices in that order.  \n"
		"\n"
		""},
	 { "CLSMImage_getPixel", (PyCFunction)(void(*)(void))_wrap_CLSMImage_getPixel, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_getPixel(self, idx) -> CLSMPixel\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"idx: unsigned int\n"
		"\n"
		"\n"
		"CLSMImage::getPixel\n"
		"Get a pointer to a CLSMPixel object based on a one-dimensional index.  \n"
		"\n"
		"This member function calculates the three-dimensional coordinates (frame, line,\n"
		"pixel) corresponding to a given one-dimensional index and returns a pointer to\n"
		"the corresponding CLSMPixel object.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `idx` :  \n"
		"    One-dimensional index to determine the CLSMPixel.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Pointer to the CLSMPixel object.  \n"
		"\n"
		""},
	 { "CLSMImage_copy", (PyCFunction)(void(*)(void))_wrap_CLSMImage_copy, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_copy(self, p2, fill=False)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2: CLSMImage const &\n"
		"fill: bool\n"
		"\n"
		"\n"
		"CLSMImage::copy\n"
		"Copy information from another CLSMImage object.  \n"
		"\n"
		"Copies the information from another CLSMImage object, including pixel indices,\n"
		"if the `fill` parameter is set to true (default is false).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `p2` :  \n"
		"    The CLSMImage object from which information is copied.  \n"
		"* `fill` :  \n"
		"    If set to true (default is false), the time-tagged time-resolved indices of\n"
		"    the pixels are copied.  \n"
		"\n"
		""},
	 { "CLSMImage_append", (PyCFunction)(void(*)(void))_wrap_CLSMImage_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_append(self, frame)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"frame: CLSMFrame *\n"
		"\n"
		"\n"
		"CLSMImage::append\n"
		"Append a CLSMFrame to the CLSM image.  \n"
		"\n"
		"Appends a CLSMFrame to the CLSM image.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `frame` :  \n"
		"    The CLSMFrame to be appended.  \n"
		"\n"
		""},
	 { "CLSMImage_transform", (PyCFunction)(void(*)(void))_wrap_CLSMImage_transform, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_transform(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: unsigned int *\n"
		"\n"
		"\n"
		"CLSMImage::transform\n"
		"Move the content of the Pixels based on source and target pixel indices.  \n"
		"\n"
		"The input is an interleaved array of source and target pixel indices. A pixel\n"
		"index is a mapping from frames, lines, and pixel combination to an index.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `input` :  \n"
		"    [in] Pointer to an interleaved array containing source and target pixel\n"
		"    indices.  \n"
		"* `n_input` :  \n"
		"    [in] Number of elements in the input array.  \n"
		"\n"
		""},
	 { "CLSMImage_rebin", (PyCFunction)(void(*)(void))_wrap_CLSMImage_rebin, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_rebin(self, bin_line, bin_pixel)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"bin_line: int\n"
		"bin_pixel: int\n"
		"\n"
		"\n"
		"CLSMImage::rebin\n"
		"Rebin a CLSMImage.  \n"
		"\n"
		"Rebinning redistributes photons and macro times in pixels.  \n"
		"\n"
		"Note: Rebinning may alter the distribution of photons and macro times in the\n"
		"image.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `bin_line` :  \n"
		"    [in] Binning factor for lines.  \n"
		"* `bin_pixel` :  \n"
		"    [in] Binning factor for pixels within lines.  \n"
		"\n"
		""},
	 { "CLSMImage_distribute", (PyCFunction)(void(*)(void))_wrap_CLSMImage_distribute, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_distribute(self, pixel_id, target, target_pixel_ids, target_probabilities)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"pixel_id: unsigned int\n"
		"target: CLSMImage *\n"
		"target_pixel_ids: std::vector< int,std::allocator< int > > &\n"
		"target_probabilities: std::vector< int,std::allocator< int > > &\n"
		"\n"
		"\n"
		"CLSMImage::distribute\n"
		"Distribute the photons of a pixel_id to a set of pixel ids in a target image\n"
		"according to provided probabilities.  \n"
		"\n"
		"This function distributes the photons of a specified pixel_id to a set of\n"
		"pixel_ids in a target CLSMImage based on the provided probabilities.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `pixel_id` :  \n"
		"    [in] The source pixel_id whose photons will be distributed.  \n"
		"* `target` :  \n"
		"    [in] Pointer to the target CLSMImage.  \n"
		"* `target_pixel_ids` :  \n"
		"    [in] Vector of target pixel_ids to which photons will be distributed.  \n"
		"* `target_probabilities` :  \n"
		"    [in] Vector of probabilities corresponding to each target pixel_id.  \n"
		"\n"
		""},
	 { "CLSMImage_crop", (PyCFunction)(void(*)(void))_wrap_CLSMImage_crop, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_crop(self, frame_start, frame_stop, line_start, line_stop, pixel_start, pixel_stop)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"frame_start: int\n"
		"frame_stop: int\n"
		"line_start: int\n"
		"line_stop: int\n"
		"pixel_start: int\n"
		"pixel_stop: int\n"
		"\n"
		"\n"
		"CLSMImage::crop\n"
		"Crop the CLSMImage.  \n"
		"\n"
		"Crop the image by specifying the range of frames, lines, and pixels to keep.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `frame_start` :  \n"
		"    [in] Starting frame index for cropping.  \n"
		"* `frame_stop` :  \n"
		"    [in] Stopping frame index for cropping.  \n"
		"* `line_start` :  \n"
		"    [in] Starting line index for cropping.  \n"
		"* `line_stop` :  \n"
		"    [in] Stopping line index for cropping.  \n"
		"* `pixel_start` :  \n"
		"    [in] Starting pixel index for cropping.  \n"
		"* `pixel_stop` :  \n"
		"    [in] Stopping pixel index for cropping.  \n"
		"\n"
		""},
	 { "CLSMImage_reshape", (PyCFunction)(void(*)(void))_wrap_CLSMImage_reshape, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_reshape(self, new_n_frames, new_n_lines, new_n_pixel)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"new_n_frames: int\n"
		"new_n_lines: int\n"
		"new_n_pixel: int\n"
		"\n"
		"\n"
		"CLSMImage::reshape\n"
		"Reshape the image from (n_frames × n_lines × n_pixel) into (new_n_frames ×\n"
		"new_n_lines × new_n_pixel). The total number of pixels must remain constant.\n"
		"After calling reshape, pixel (f, l, p) in the old layout moves to the new\n"
		"position in row‐major order.  \n"
		"\n"
		""},
	 { "CLSMImage_stack_frames", _wrap_CLSMImage_stack_frames, METH_O, "\n"
		"CLSMImage_stack_frames(self)\n"
		"\n"
		"CLSMImage::stack_frames\n"
		"Stack frames in the CLSMImage.  \n"
		"\n"
		"This function stacks the frames in the CLSMImage by summing the pixel values of\n"
		"each corresponding pixel in all frames.  \n"
		"\n"
		""},
	 { "new_CLSMImage", (PyCFunction)(void(*)(void))_wrap_new_CLSMImage, METH_VARARGS|METH_KEYWORDS, "\n"
		"new_CLSMImage(tttr_data=0, settings=CLSMSettings(), source=None, fill=True, channels=std::vector< int >(), micro_time_ranges=std::vector< std::pair< int,int > >()) -> CLSMImage\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: std::shared_ptr< TTTR >\n"
		"settings: CLSMSettings\n"
		"source: CLSMImage *\n"
		"fill: bool\n"
		"channels: std::vector< int,std::allocator< int > >\n"
		"micro_time_ranges: std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >\n"
		"\n"
		"\n"
		"CLSMImage::CLSMImage\n"
		"Constructs a CLSMImage object from TTTR data.  \n"
		"\n"
		"Constructs a CLSMImage object from Time-Tagged Time-Resolved (TTTR) data, using\n"
		"specified markers, settings, and optional source CLSMImage.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data` :  \n"
		"    [in] Pointer to TTTR object containing the raw data.  \n"
		"* `settings` :  \n"
		"    [in] CLSMSettings object specifying parameters for image construction.  \n"
		"* `source` :  \n"
		"    [in] A CLSMImage object used as a template. All frames and lines are copied,\n"
		"    and empty pixels are created. If fill is set to true (default), the content\n"
		"    of the pixels is copied.  \n"
		"* `fill` :  \n"
		"    [in] If set to true (default), the lines are filled with pixels containing\n"
		"    either the photons of the specified channels or the photons from the source\n"
		"    CLSMImage instance.  \n"
		"* `channels` :  \n"
		"    [in] The channel number of the events used to fill the pixels.  \n"
		"* `micro_time_ranges` :  \n"
		"    [in] Vector of pairs specifying the micro time ranges.  \n"
		"\n"
		"See also: CLSMSettings for more details on available settings.  \n"
		"\n"
		""},
	 { "delete_CLSMImage", _wrap_delete_CLSMImage, METH_O, "\n"
		"delete_CLSMImage(self)\n"
		"\n"
		"CLSMImage::~CLSMImage\n"
		"Destructor for CLSMImage.  \n"
		"\n"
		"Frees memory by deleting dynamically allocated CLSMFrame objects in the frames\n"
		"vector. It ensures proper cleanup of resources when a CLSMImage object is\n"
		"destroyed.  \n"
		"\n"
		""},
	 { "CLSMImage_compute_ics", (PyCFunction)(void(*)(void))_wrap_CLSMImage_compute_ics, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_compute_ics(tttr_data=0, clsm=None, images=None, x_range=std::vector< int >({0, -1}), y_range=std::vector< int >({0, -1}), frames_index_pairs=std::vector< std::pair< int,int > >(), subtract_average=\"\", mask=None)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: std::shared_ptr< TTTR >\n"
		"clsm: CLSMImage *\n"
		"images: double *\n"
		"x_range: std::vector< int,std::allocator< int > >\n"
		"y_range: std::vector< int,std::allocator< int > >\n"
		"frames_index_pairs: std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >\n"
		"subtract_average: std::string\n"
		"mask: uint8_t *\n"
		"\n"
		"\n"
		"CLSMImage::compute_ics\n"
		"Performs an image correlation spectroscopy analysis via FFTs for a set of\n"
		"frames.  \n"
		"\n"
		"This function computes the image correlation for a set of frames, either\n"
		"specified by an array or a CLSMImage object. It can compute image cross-\n"
		"correlation and image auto-correlations based on the type of correlation\n"
		"specified by a vector of pairs.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    [out] Array that will contain the Image Correlation Spectrscopy analysis\n"
		"    (ICS).  \n"
		"* `dim1` :  \n"
		"    [out] Number of frames in the ICS.  \n"
		"* `dim2` :  \n"
		"    [out] Number of lines (line shifts) in the ICS.  \n"
		"* `dim3` :  \n"
		"    [out] Number of pixels (pixel shifts) in the ICS.  \n"
		"* `tttr_data` :  \n"
		"    [in] Pointer to TTTR object containing the raw data (optional).  \n"
		"* `clsm` :  \n"
		"    [in] Optional pointer to a CLSMImage object.  \n"
		"* `images` :  \n"
		"    [in] Optional pointer to an image array.  \n"
		"* `input_frames` :  \n"
		"    [in] Number of frames in the image array.  \n"
		"* `input_lines` :  \n"
		"    [in] Number of lines in the image array.  \n"
		"* `input_pixel` :  \n"
		"    [in] Number of pixels per line in the image array.  \n"
		"* `x_range` :  \n"
		"    [in] Defines the region of interest (ROI) in the image (pixel).  \n"
		"* `y_range` :  \n"
		"    [in] Defines the ROI in y-direction (lines).  \n"
		"* `frames_index_pairs` :  \n"
		"    [in] Vector of integer pairs corresponding to frame numbers used for cross-\n"
		"    correlation (default computes auto-correlation).  \n"
		"* `subtract_average` :  \n"
		"    [in] Specifies background correction: \"stack\" subtracts the average over\n"
		"    all frames, \"frame\" subtracts the average of each frame. Default is no\n"
		"    correction.  \n"
		"* `mask` :  \n"
		"    [in] Stack of images used as a mask to select pixels (optional).  \n"
		"* `dmask1` :  \n"
		"    [in] Number of frames in the mask.  \n"
		"* `dmask2` :  \n"
		"    [in] Number of lines in the mask.  \n"
		"* `dmask3` :  \n"
		"    [in] Number of pixels per line in the mask.  \n"
		"\n"
		""},
	 { "CLSMImage_get_roi", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_roi, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_roi(clsm=None, x_range=std::vector< int >({0,-1}), y_range=std::vector< int >({0,-1}), subtract_average=\"\", background=0.0, clip=False, clip_max=1e6, clip_min=-1e6, images=None, n_frames=-1, n_lines=-1, n_pixels=1, mask=None, selected_frames=std::vector< int >())\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"clsm: CLSMImage *\n"
		"x_range: std::vector< int,std::allocator< int > >\n"
		"y_range: std::vector< int,std::allocator< int > >\n"
		"subtract_average: std::string\n"
		"background: double\n"
		"clip: bool\n"
		"clip_max: double\n"
		"clip_min: double\n"
		"images: double *\n"
		"n_frames: int\n"
		"n_lines: int\n"
		"n_pixels: int\n"
		"mask: uint8_t *\n"
		"selected_frames: std::vector< int,std::allocator< int > >\n"
		"\n"
		"\n"
		"CLSMImage::get_roi\n"
		"Copies a region of interest (ROI) from the input images, performs background\n"
		"correction, and stores the result in a new array.  \n"
		"\n"
		"The ROI is defined by specifying ranges for pixels and lines. The function\n"
		"supports various correction options, such as subtracting a constant background\n"
		"value, clipping output values, and correcting by the mean intensity of frames.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output` :  \n"
		"    Pointer to the array that will contain the ROI. The array is allocated by\n"
		"    the function.  \n"
		"* `dim1` :  \n"
		"    Number of frames in the output ROI.  \n"
		"* `dim2` :  \n"
		"    Number of lines per frame in the output ROI.  \n"
		"* `dim3` :  \n"
		"    Number of pixels per line in the output ROI.  \n"
		"* `clsm` :  \n"
		"    Pointer to a CLSMImage object (default is nullptr).  \n"
		"* `x_range` :  \n"
		"    Range (selection) of pixels for the ROI.  \n"
		"* `y_range` :  \n"
		"    Range (selection) of lines for the ROI.  \n"
		"* `subtract_average` :  \n"
		"    If set to \"stack,\" the mean image of the ROIs computed by averaging over\n"
		"    all frames is subtracted from each frame, and the mean intensity of all\n"
		"    frames and pixels is added to the pixels. If set to \"frame,\" the average\n"
		"    of each frame is subtracted from that frame. Default is no correction.  \n"
		"* `background` :  \n"
		"    Constant number subtracted from each pixel.  \n"
		"* `clip` :  \n"
		"    If true, values in the ROI are clipped to the range [clip_min, clip_max]\n"
		"    (default is false).  \n"
		"* `clip_max` :  \n"
		"    Maximum value when output ROIs are clipped.  \n"
		"* `clip_min` :  \n"
		"    Minimum value when output ROIs are clipped.  \n"
		"* `images` :  \n"
		"    Input array of images used to define ROIs (default is nullptr).  \n"
		"* `n_frames` :  \n"
		"    Number of frames in the input array images.  \n"
		"* `n_lines` :  \n"
		"    Number of lines in the input array images.  \n"
		"* `n_pixels` :  \n"
		"    Number of pixels per line in the input array images.  \n"
		"* `mask` :  \n"
		"    Stack of images used to select pixels (default is nullptr).  \n"
		"* `dmask1` :  \n"
		"    Number of frames; if smaller than ROI, the first mask frame is applied to\n"
		"    all ROI frames greater than dmask1.  \n"
		"* `dmask2` :  \n"
		"    Number of lines; if smaller than ROI, the outside region is selected, and\n"
		"    the mask is applied to all lines smaller than dmask2.  \n"
		"* `dmask3` :  \n"
		"    Number of pixels per line in the mask.  \n"
		"* `selected_frames` :  \n"
		"    List of frames used to define the ROIs. If empty, all frames in the input\n"
		"    are used.  \n"
		"\n"
		""},
	 { "CLSMImage_get_frame_edges", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_frame_edges, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_frame_edges(tttr=None, start_event=0, stop_event=-1, marker_frame_start=std::vector< int >({4, 6}), marker_event_type=15, reading_routine=CLSM_SP8, skip_before_first_frame_marker=False, skip_after_last_frame_marker=False) -> VectorInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: TTTR *\n"
		"start_event: int\n"
		"stop_event: int\n"
		"marker_frame_start: std::vector< int,std::allocator< int > >\n"
		"marker_event_type: int\n"
		"reading_routine: int\n"
		"skip_before_first_frame_marker: bool\n"
		"skip_after_last_frame_marker: bool\n"
		"\n"
		"\n"
		"CLSMImage::get_frame_edges\n"
		"Retrieves the time-tagged time-resolved (TTTR) indices of frame markers for a\n"
		"Leica SP8 microscope.  \n"
		"\n"
		"This function analyzes a TTTR object to extract frame marker information. The\n"
		"frame markers are identified by specified parameters, and the corresponding TTTR\n"
		"indices are returned as a vector.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to the TTTR object that is inspected (default is nullptr).  \n"
		"* `start_event` :  \n"
		"    Starting event index for analysis (default is 0).  \n"
		"* `stop_event` :  \n"
		"    Stopping event index for analysis (default is -1, indicating the end of the\n"
		"    TTTR data).  \n"
		"* `marker_frame_start` :  \n"
		"    Vector specifying the frame markers to consider (default is {4, 6}).  \n"
		"* `marker_event_type` :  \n"
		"    Event type associated with frame markers (default is 15).  \n"
		"* `reading_routine` :  \n"
		"    Type of reading routine, e.g., CLSM_SP8 (default is CLSM_SP8).  \n"
		"* `skip_before_first_frame_marker` :  \n"
		"    If true, skip events before the first frame marker (default is false).  \n"
		"* `skip_after_last_frame_marker` :  \n"
		"    If true, skip events after the last frame marker (default is false).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Vector of TTTR indices corresponding to frame markers.  \n"
		"\n"
		""},
	 { "CLSMImage_get_line_edges", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_line_edges, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_line_edges(tttr, start_event, stop_event, marker_line_start=1, marker_line_stop=2, marker_event_type=15, reading_routine=CLSM_SP8) -> VectorInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: TTTR *\n"
		"start_event: int\n"
		"stop_event: int\n"
		"marker_line_start: int\n"
		"marker_line_stop: int\n"
		"marker_event_type: int\n"
		"reading_routine: int\n"
		"\n"
		"\n"
		"CLSMImage::get_line_edges\n"
		"Identifies line edges by reading start and stop markers in a time-tagged time-\n"
		"resolved (TTTR) dataset.  \n"
		"\n"
		"This function analyzes a TTTR object to extract line edges based on specified\n"
		"start and stop markers. The corresponding TTTR indices are returned as a vector.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to the TTTR object that is inspected.  \n"
		"* `start_event` :  \n"
		"    Starting event index for analysis.  \n"
		"* `stop_event` :  \n"
		"    Stopping event index for analysis.  \n"
		"* `marker_line_start` :  \n"
		"    Marker value indicating the start of a line (default is 1).  \n"
		"* `marker_line_stop` :  \n"
		"    Marker value indicating the stop of a line (default is 2).  \n"
		"* `marker_event_type` :  \n"
		"    Event type associated with line markers (default is 15).  \n"
		"* `reading_routine` :  \n"
		"    Type of reading routine, e.g., CLSM_SP8 (default is CLSM_SP8).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Vector of TTTR indices corresponding to line edges.  \n"
		"\n"
		""},
	 { "CLSMImage_get_line_edges_by_duration", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_line_edges_by_duration, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_line_edges_by_duration(tttr, start_event, stop_event, marker_line_start=1, line_duration=2, marker_event_type=15, reading_routine=CLSM_SP8) -> VectorInt32\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr: TTTR *\n"
		"start_event: int\n"
		"stop_event: int\n"
		"marker_line_start: int\n"
		"line_duration: int\n"
		"marker_event_type: int\n"
		"reading_routine: int\n"
		"\n"
		"\n"
		"CLSMImage::get_line_edges_by_duration\n"
		"Identifies line edges by reading a start marker and using line duration as the\n"
		"stop criterion in a time-tagged time-resolved (TTTR) dataset.  \n"
		"\n"
		"This function analyzes a TTTR object to extract line edges based on a specified\n"
		"start marker and line duration. The corresponding TTTR indices are returned as a\n"
		"vector.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr` :  \n"
		"    Pointer to the TTTR object that is inspected.  \n"
		"* `start_event` :  \n"
		"    Starting event index for analysis.  \n"
		"* `stop_event` :  \n"
		"    Stopping event index for analysis.  \n"
		"* `marker_line_start` :  \n"
		"    Marker value indicating the start of a line (default is 1).  \n"
		"* `line_duration` :  \n"
		"    Duration of a line, used as the stop criterion (default is 2).  \n"
		"* `marker_event_type` :  \n"
		"    Event type associated with line markers (default is 15).  \n"
		"* `reading_routine` :  \n"
		"    Type of reading routine, e.g., CLSM_SP8 (default is CLSM_SP8).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Vector of TTTR indices corresponding to line edges.  \n"
		"\n"
		""},
	 { "CLSMImage_get_line_duration", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_line_duration, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_line_duration(self, frame=0, line=0) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"frame: int\n"
		"line: int\n"
		"\n"
		"\n"
		"CLSMImage::get_line_duration\n"
		"Obtains the duration of a line (in milliseconds) for a specified frame and line.  \n"
		"\n"
		"This function calculates the duration of a line in milliseconds for a given\n"
		"frame and line based on the time-tagged time-resolved (TTTR) data and header\n"
		"information.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `frame` :  \n"
		"    Number of the frame in the image (default is 0).  \n"
		"* `line` :  \n"
		"    Number of the line in the image (default is 0).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Duration of the line in the selected frame in milliseconds. Returns -1.0 if the\n"
		"TTTR object is not initialized or if frame and line indices are out of bounds.  \n"
		"\n"
		""},
	 { "CLSMImage_get_pixel_duration", (PyCFunction)(void(*)(void))_wrap_CLSMImage_get_pixel_duration, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage_get_pixel_duration(self, frame=0, line=0) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"frame: int\n"
		"line: int\n"
		"\n"
		"\n"
		"CLSMImage::get_pixel_duration\n"
		"Obtains the duration of a pixel (in milliseconds) for a specified frame and\n"
		"line.  \n"
		"\n"
		"This function calculates the duration of a pixel in milliseconds for a given\n"
		"frame and line, based on the time-tagged time-resolved (TTTR) data, header\n"
		"information, and the number of pixels per line.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `frame` :  \n"
		"    Selected frame number (default is 0).  \n"
		"* `line` :  \n"
		"    Selected line number (default is 0).  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Duration of the pixel in the selected frame in milliseconds. Returns -1.0 if the\n"
		"TTTR object is not initialized, or if frame and line indices are out of bounds.  \n"
		"\n"
		""},
	 { "CLSMImage_n_frames_get", _wrap_CLSMImage_n_frames_get, METH_O, "CLSMImage_n_frames_get(self) -> int"},
	 { "CLSMImage_n_lines_get", _wrap_CLSMImage_n_lines_get, METH_O, "CLSMImage_n_lines_get(self) -> int"},
	 { "CLSMImage_n_pixel_get", _wrap_CLSMImage_n_pixel_get, METH_O, "CLSMImage_n_pixel_get(self) -> int"},
	 { "CLSMImage___getitem__", (PyCFunction)(void(*)(void))_wrap_CLSMImage___getitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"CLSMImage___getitem__(self, i) -> CLSMFrame\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: int\n"
		"\n"
		""},
	 { "CLSMImage___len__", _wrap_CLSMImage___len__, METH_O, "CLSMImage___len__(self) -> size_t"},
	 { "CLSMImage_swigregister", CLSMImage_swigregister, METH_O, NULL},
	 { "CLSMImage_swiginit", CLSMImage_swiginit, METH_VARARGS, NULL},
	 { "DecayPhasor_compute_phasor", (PyCFunction)(void(*)(void))_wrap_DecayPhasor_compute_phasor, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayPhasor_compute_phasor(microtimes, n_microtimes, frequency=1.0, minimum_number_of_photons=1, g_irf=1.0, s_irf=0.0, idxs=None) -> VectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"microtimes: unsigned short *\n"
		"n_microtimes: int\n"
		"frequency: double\n"
		"minimum_number_of_photons: int\n"
		"g_irf: double\n"
		"s_irf: double\n"
		"idxs: std::vector< int,std::allocator< int > > *\n"
		"\n"
		"\n"
		"DecayPhasor::compute_phasor\n"
		"Compute the phasor (g, s) for a selection of microtimes.  \n"
		"\n"
		"This function computes the phasor (g, s) for a set of microtimes that are\n"
		"selected using a second vector of indices. The indices specify which elements of\n"
		"the microtimes vector are used to compute the phasor.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `microtimes` :  \n"
		"    Vector of microtimes.  \n"
		"* `n_microtimes` :  \n"
		"    Number of elements in the microtimes vector.  \n"
		"* `frequency` :  \n"
		"    The frequency of the phasor.  \n"
		"* `minimum_number_of_photons` :  \n"
		"    Minimum number of photons.  \n"
		"* `g_irf` :  \n"
		"    G-value of instrument response phasor.  \n"
		"* `s_irf` :  \n"
		"    S-value of instrument response phasor.  \n"
		"* `idxs` :  \n"
		"    Vector of selected indices.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Vector of length 2: first element g-value, second element s-value.  \n"
		"\n"
		""},
	 { "DecayPhasor_compute_phasor_bincounts", (PyCFunction)(void(*)(void))_wrap_DecayPhasor_compute_phasor_bincounts, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayPhasor_compute_phasor_bincounts(bincounts, frequency, minimum_number_of_photons, g_irf, s_irf) -> VectorDouble\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"bincounts: std::vector< int,std::allocator< int > > &\n"
		"frequency: double\n"
		"minimum_number_of_photons: int\n"
		"g_irf: double\n"
		"s_irf: double\n"
		"\n"
		"\n"
		"DecayPhasor::compute_phasor_bincounts\n"
		"Compute the phasor (g, s) for a histogram/bincounts of microtimes.  \n"
		"\n"
		"This function computes the phasor (g, s) for bincounted microtimes.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `bincounts` :  \n"
		"    Vector of bincounts.  \n"
		"* `frequency` :  \n"
		"    The frequency of the phasor.  \n"
		"* `minimum_number_of_photons` :  \n"
		"    Minimum number of photons.  \n"
		"* `g_irf` :  \n"
		"    G-value of instrument response phasor.  \n"
		"* `s_irf` :  \n"
		"    S-value of instrument response phasor.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Vector of length 2: first element g-value, second element s-value.  \n"
		"\n"
		""},
	 { "DecayPhasor_g", (PyCFunction)(void(*)(void))_wrap_DecayPhasor_g, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayPhasor_g(g_irf, s_irf, g_exp, s_exp) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"g_irf: double\n"
		"s_irf: double\n"
		"g_exp: double\n"
		"s_exp: double\n"
		"\n"
		"\n"
		"DecayPhasor::g\n"
		"Calculate g-value for a given set of phasor parameters.  \n"
		"\n"
		"Reference:\n"
		"https://journals.plos.org/plosone/article/file?type=supplementary&id=info:doi/10.1371/journal.pone.0194578.s001  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `g_irf` :  \n"
		"    G-value of instrument response phasor.  \n"
		"* `s_irf` :  \n"
		"    S-value of instrument response phasor.  \n"
		"* `g_exp` :  \n"
		"    Experimental g-value.  \n"
		"* `s_exp` :  \n"
		"    Experimental s-value.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Computed g-value.  \n"
		"\n"
		""},
	 { "DecayPhasor_s", (PyCFunction)(void(*)(void))_wrap_DecayPhasor_s, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayPhasor_s(g_irf, s_irf, g_exp, s_exp) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"g_irf: double\n"
		"s_irf: double\n"
		"g_exp: double\n"
		"s_exp: double\n"
		"\n"
		"\n"
		"DecayPhasor::s\n"
		"Calculate s-value for a given set of phasor parameters.  \n"
		"\n"
		"Reference:\n"
		"https://journals.plos.org/plosone/article/file?type=supplementary&id=info:doi/10.1371/journal.pone.0194578.s001  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `g_irf` :  \n"
		"    G-value of instrument response phasor.  \n"
		"* `s_irf` :  \n"
		"    S-value of instrument response phasor.  \n"
		"* `g_exp` :  \n"
		"    Experimental g-value.  \n"
		"* `s_exp` :  \n"
		"    Experimental s-value.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Computed s-value.  \n"
		"\n"
		""},
	 { "new_DecayPhasor", _wrap_new_DecayPhasor, METH_NOARGS, "\n"
		"new_DecayPhasor() -> DecayPhasor\n"
		"\n"
		"\n"
		"Utility class for computing phasor values in decay analysis.  \n"
		"\n"
		"C++ includes: DecayPhasor.h\n"
		"\n"
		""},
	 { "delete_DecayPhasor", _wrap_delete_DecayPhasor, METH_O, "delete_DecayPhasor(self)"},
	 { "DecayPhasor_swigregister", DecayPhasor_swigregister, METH_O, NULL},
	 { "DecayPhasor_swiginit", DecayPhasor_swiginit, METH_VARARGS, NULL},
	 { "Pda_evaluate", _wrap_Pda_evaluate, METH_O, "\n"
		"Pda_evaluate(self)\n"
		"\n"
		"Pda::evaluate\n"
		"Computes the S1S2 histogram.  \n"
		"\n"
		"This function computes the S1S2 histogram based on the specified parameters,\n"
		"such as the maximum and minimum number of photons, background levels, and the\n"
		"probability distribution.  \n"
		"\n"
		""},
	 { "new_Pda", (PyCFunction)(void(*)(void))_wrap_new_Pda, METH_VARARGS|METH_KEYWORDS, "\n"
		"new_Pda(hist2d_nmax=300, hist2d_nmin=5, background_ch1=0.0, background_ch2=0.0, pF=std::vector< double >()) -> Pda\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"hist2d_nmax: int\n"
		"hist2d_nmin: int\n"
		"background_ch1: double\n"
		"background_ch2: double\n"
		"pF: std::vector< double,std::allocator< double > >\n"
		"\n"
		"\n"
		"Pda::Pda\n"
		"Constructor for creating a new Pda object.  \n"
		"\n"
		"Initializes a Pda object for computing Photon Distribution Analysis histograms.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `hist2d_nmax` :  \n"
		"    The maximum number of photons.  \n"
		"* `hist2d_nmin` :  \n"
		"    The minimum number of photons considered.  \n"
		"* `background_ch1` :  \n"
		"    Background level in the first channel (green channel).  \n"
		"* `background_ch2` :  \n"
		"    Background level in the second channel (red channel).  \n"
		"* `pF` :  \n"
		"    Probability distribution of having a certain number of photons.  \n"
		"\n"
		""},
	 { "delete_Pda", _wrap_delete_Pda, METH_O, "\n"
		"delete_Pda(self)\n"
		"\n"
		"Pda::~Pda\n"
		""},
	 { "Pda_append", (PyCFunction)(void(*)(void))_wrap_Pda_append, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_append(self, amplitude, probability_ch1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"amplitude: double\n"
		"probability_ch1: double\n"
		"\n"
		"\n"
		"Pda::append\n"
		"Appends a species to the Pda object.  \n"
		"\n"
		"A species is defined by the amplitude (fraction) and the probability of\n"
		"detecting a photon in the first detection channel.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `amplitude` :  \n"
		"    The amplitude (fraction) of the species.  \n"
		"* `probability_ch1` :  \n"
		"    The probability of detecting the species in the first detection channel.  \n"
		"\n"
		""},
	 { "Pda_clear_probability_ch1", _wrap_Pda_clear_probability_ch1, METH_O, "\n"
		"Pda_clear_probability_ch1(self)\n"
		"\n"
		"Pda::clear_probability_ch1\n"
		"Clears the model and removes all species from the Pda object.  \n"
		"\n"
		""},
	 { "Pda_get_amplitudes", _wrap_Pda_get_amplitudes, METH_O, "\n"
		"Pda_get_amplitudes(self)\n"
		"\n"
		"Pda::get_amplitudes\n"
		"Returns the amplitudes of the species.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output_view[out]` :  \n"
		"    A C type array containing the amplitude of the species.  \n"
		"* `n_output[out]` :  \n"
		"    The number of species.  \n"
		"\n"
		""},
	 { "Pda_set_amplitudes", (PyCFunction)(void(*)(void))_wrap_Pda_set_amplitudes, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_set_amplitudes(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: double *\n"
		"\n"
		"\n"
		"Pda::set_amplitudes\n"
		"Sets the amplitudes of the species.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `input[in]` :  \n"
		"    A C type array that contains the amplitude of the species.  \n"
		"* `n_input[in]` :  \n"
		"    The number of species.  \n"
		"\n"
		""},
	 { "Pda_set_callback", (PyCFunction)(void(*)(void))_wrap_Pda_set_callback, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_set_callback(self, cb)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"cb: PdaCallback *\n"
		"\n"
		"\n"
		"Pda::set_callback\n"
		"Set the callback (cb) for the computation of a 1D histogram.  \n"
		"\n"
		"The cb function reduces two-dimensional values, i.e., the intensity in channel\n"
		"(ch1) and ch2, to a one-dimensional number. The cb is used to compute either\n"
		"FRET efficiencies, etc.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `cb[in]` :  \n"
		"    Object that computes the value on a 1D histogram.  \n"
		"\n"
		""},
	 { "Pda_get_S1S2_matrix", _wrap_Pda_get_S1S2_matrix, METH_O, "\n"
		"Pda_get_S1S2_matrix(self)\n"
		"\n"
		"Pda::get_S1S2_matrix\n"
		"Returns the S1S2 matrix that contains the photon counts in the two channels  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output[out]` :  \n"
		"    the S1S2 matrix  \n"
		"* `n_output1[out]` :  \n"
		"    dimension 1 of the matrix  \n"
		"* `n_output2[out]` :  \n"
		"    dimension 2 of the matrix  \n"
		"\n"
		""},
	 { "Pda_set_probability_spectrum_ch1", (PyCFunction)(void(*)(void))_wrap_Pda_set_probability_spectrum_ch1, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_set_probability_spectrum_ch1(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: double *\n"
		"\n"
		"\n"
		"Pda::set_probability_spectrum_ch1\n"
		"Set the theoretical probability spectrum of detecting a photon in the first\n"
		"channel  \n"
		"\n"
		"The probability spectrum is an interleaved array of the amplitudes and the\n"
		"probabilities of detecting a photon in the first channel  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `input[in]` :  \n"
		"    a C type array containing the probability spectrum  \n"
		"* `n_input[in]` :  \n"
		"    the number of array elements  \n"
		"\n"
		""},
	 { "Pda_get_probabilities_ch1", _wrap_Pda_get_probabilities_ch1, METH_O, "\n"
		"Pda_get_probabilities_ch1(self)\n"
		"\n"
		"Pda::get_probabilities_ch1\n"
		"Returns the amplitudes of the species.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output_view[out]` :  \n"
		"    A C type array containing the amplitude of the species.  \n"
		"* `n_output[out]` :  \n"
		"    The number of species.  \n"
		"\n"
		""},
	 { "Pda_set_probabilities_ch1", (PyCFunction)(void(*)(void))_wrap_Pda_set_probabilities_ch1, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_set_probabilities_ch1(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: double *\n"
		"\n"
		"\n"
		"Pda::set_probabilities_ch1\n"
		"Sets the theoretical probabilities for detecting a species in the first channel.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `input[in]` :  \n"
		"    A C type array that contains the probabilities of the species.  \n"
		"* `n_input[in]` :  \n"
		"    The number of species.  \n"
		"\n"
		""},
	 { "Pda_get_probability_spectrum_ch1", _wrap_Pda_get_probability_spectrum_ch1, METH_O, "\n"
		"Pda_get_probability_spectrum_ch1(self)\n"
		"\n"
		"Pda::get_probability_spectrum_ch1\n"
		"Get the theoretical probability spectrum of detecting a photon in the first\n"
		"channel.  \n"
		"\n"
		"The probability spectrum is an interleaved array of the amplitudes and the\n"
		"probabilities of detecting a photon in the first channel.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output[out]` :  \n"
		"    Array containing the probability spectrum.  \n"
		"* `n_output[out]` :  \n"
		"    Number of elements in the output array.  \n"
		"\n"
		""},
	 { "Pda_setPF", (PyCFunction)(void(*)(void))_wrap_Pda_setPF, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_setPF(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: double *\n"
		"\n"
		"\n"
		"Pda::setPF\n"
		"Set the probability P(F).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `input[in]` :  \n"
		"    A C type array containing the probability P(F).  \n"
		"* `n_input[in]` :  \n"
		"    The number of elements in the input array.  \n"
		"\n"
		""},
	 { "Pda_getPF", _wrap_Pda_getPF, METH_O, "\n"
		"Pda_getPF(self)\n"
		"\n"
		"Pda::getPF\n"
		"Get the probability P(F).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `output_view[out]` :  \n"
		"    A C type array containing the probability P(F).  \n"
		"* `n_output[out]` :  \n"
		"    The number of elements in the output array.  \n"
		"\n"
		""},
	 { "Pda_get_1dhistogram", (PyCFunction)(void(*)(void))_wrap_Pda_get_1dhistogram, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_get_1dhistogram(self, x_max=1000.0, x_min=0.01, n_bins=81, log_x=True, s1s2=std::vector< double >(), n_min=-1, skip_zero_photon=True, amplitudes=std::vector< double >(), probabilities_ch1=std::vector< double >())\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x_max: double\n"
		"x_min: double\n"
		"n_bins: int\n"
		"log_x: bool\n"
		"s1s2: std::vector< double,std::allocator< double > >\n"
		"n_min: int\n"
		"skip_zero_photon: bool\n"
		"amplitudes: std::vector< double,std::allocator< double > >\n"
		"probabilities_ch1: std::vector< double,std::allocator< double > >\n"
		"\n"
		"\n"
		"Pda::get_1dhistogram\n"
		"Computes a 1D histogram from the 2D counting array of the two channels.  \n"
		"\n"
		"This method calculates a 1D histogram based on the 2D counting array of the two\n"
		"channels.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `histogram_x[out]` :  \n"
		"    Histogram X-axis.  \n"
		"* `n_histogram_x[out]` :  \n"
		"    Dimension of the X-axis.  \n"
		"* `histogram_y[out]` :  \n"
		"    Array containing the computed histogram.  \n"
		"* `n_histogram_y[out]` :  \n"
		"    Dimension of the histogram.  \n"
		"* `x_max[in]` :  \n"
		"    Maximum x-value of the histogram.  \n"
		"* `x_min[in]` :  \n"
		"    Minimum x-value of the histogram.  \n"
		"* `n_bins[in]` :  \n"
		"    Number of histogram bins.  \n"
		"* `log_x[in]` :  \n"
		"    If set to true (default is true), x-axis values are logarithmically spaced;\n"
		"    otherwise, linear spacing.  \n"
		"* `s1s2[in]` :  \n"
		"    Optional input for the S1S2 matrix. If nullptr (default), the Pda object's\n"
		"    S1S2 matrix is used for computation. If not nullptr and both n_histogram_x\n"
		"    and n_histogram_y > 0, this input is used as the S1S2 matrix. Input matrix\n"
		"    must be quadratic.  \n"
		"* `n_min[in]` :  \n"
		"    Minimum number of photons in the histogram. If -1 (default), the number set\n"
		"    when the Pda object was instantiated is used.  \n"
		"* `skip_zero_photon[in]` :  \n"
		"    When true, only s1s2 matrix elements i,j (i>0 and j>0) are considered.  \n"
		"* `amplitudes[in]` :  \n"
		"    Species amplitudes (optional). Updates the s1s2 matrix of the object.  \n"
		"* `probabilities_ch1[in]` :  \n"
		"    Theoretical probabilities of detecting the species in channel 1 (optional).\n"
		"    Updates the s1s2 matrix of the object.  \n"
		"\n"
		""},
	 { "Pda_compute_experimental_histograms", (PyCFunction)(void(*)(void))_wrap_Pda_compute_experimental_histograms, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_compute_experimental_histograms(tttr_data, channels_1, channels_2, maximum_number_of_photons, minimum_number_of_photons, minimum_time_window_length)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tttr_data: TTTR *\n"
		"channels_1: std::vector< int,std::allocator< int > >\n"
		"channels_2: std::vector< int,std::allocator< int > >\n"
		"maximum_number_of_photons: int\n"
		"minimum_number_of_photons: int\n"
		"minimum_time_window_length: double\n"
		"\n"
		"\n"
		"Pda::compute_experimental_histograms\n"
		"Computes experimental histograms.  \n"
		"\n"
		"This static method computes experimental histograms based on the provided TTTR\n"
		"data.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `tttr_data[in]` :  \n"
		"    TTTR data input.  \n"
		"* `s1s2[out]` :  \n"
		"    Output S1S2 matrix.  \n"
		"* `dim1[out]` :  \n"
		"    Output dimension 1 of the S1S2 matrix.  \n"
		"* `dim2[out]` :  \n"
		"    Output dimension 2 of the S1S2 matrix.  \n"
		"* `ps[out]` :  \n"
		"    Output PS matrix.  \n"
		"* `dim_ps[out]` :  \n"
		"    Output dimension of the PS matrix.  \n"
		"* `tttr_indices[out]` :  \n"
		"    Output TTTR indices.  \n"
		"* `n_tttr_indices[out]` :  \n"
		"    Output number of TTTR indices.  \n"
		"* `channels_1[in]` :  \n"
		"    Routing channel numbers used for the first channel in the S1S2 matrix.\n"
		"    Photons with this channel number are counted and increment values in the\n"
		"    S1S2 matrix.  \n"
		"* `channels_2[in]` :  \n"
		"    Routing channel numbers used for the second channel in the S1S2 matrix.\n"
		"    Photons with this channel number are counted and increment values in the\n"
		"    S1S2 matrix.  \n"
		"* `maximum_number_of_photons[in]` :  \n"
		"    Maximum number of photons in the computed S1S2 matrix.  \n"
		"* `minimum_number_of_photons[in]` :  \n"
		"    Minimum number of photons in a time window and in the S1S2 matrix.  \n"
		"* `minimum_time_window_length[in]` :  \n"
		"    Minimum length of a time window in milliseconds.  \n"
		"\n"
		""},
	 { "Pda_S1S2_pF", (PyCFunction)(void(*)(void))_wrap_Pda_S1S2_pF, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_S1S2_pF(S1S2, pF, Nmax, background_ch1, background_ch2, p_ch1, amplitudes)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"S1S2: std::vector< double,std::allocator< double > > &\n"
		"pF: std::vector< double,std::allocator< double > > &\n"
		"Nmax: unsigned int\n"
		"background_ch1: double\n"
		"background_ch2: double\n"
		"p_ch1: std::vector< double,std::allocator< double > > &\n"
		"amplitudes: std::vector< double,std::allocator< double > > &\n"
		"\n"
		"\n"
		"Pda::S1S2_pF\n"
		"Calculates p(G,R) for several ratios using the same P(F).  \n"
		"\n"
		"This static method calculates p(G,R) for several ratios using the same P(F).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `S1S2[in]` :  \n"
		"    See sgsr_pN.  \n"
		"* `pF[in]` :  \n"
		"    Input P(F).  \n"
		"* `Nmax[in]` :  \n"
		"    Maximum number of photons.  \n"
		"* `background_ch1[in]` :  \n"
		"    Background in the green channel.  \n"
		"* `background_ch2[in]` :  \n"
		"    Background in the red channel.  \n"
		"* `p_ch1[in]` :  \n"
		"    Input probabilities for channel 1.  \n"
		"* `amplitudes[in]` :  \n"
		"    Corresponding amplitudes.  \n"
		"\n"
		""},
	 { "Pda_conv_pF", (PyCFunction)(void(*)(void))_wrap_Pda_conv_pF, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_conv_pF(S1S2, F1F2, Nmax, background_ch1, background_ch2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"S1S2: std::vector< double,std::allocator< double > > &\n"
		"F1F2: std::vector< double,std::allocator< double > > const &\n"
		"Nmax: unsigned int\n"
		"background_ch1: double\n"
		"background_ch2: double\n"
		"\n"
		"\n"
		"Pda::conv_pF\n"
		"Convolves the fluorescence matrix F1F2 with the background to yield the signal\n"
		"matrix S1S2.  \n"
		"\n"
		"This static method convolves the fluorescence matrix F1F2 with the background to\n"
		"produce the signal matrix S1S2.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `S1S2[out]` :  \n"
		"    Output signal matrix.  \n"
		"* `F1F2[in]` :  \n"
		"    Input fluorescence matrix.  \n"
		"* `Nmax` :  \n"
		"    Maximum number of photons.  \n"
		"* `background_ch1` :  \n"
		"    Background in the green channel.  \n"
		"* `background_ch2` :  \n"
		"    Background in the red channel.  \n"
		"\n"
		""},
	 { "Pda_poisson_0toN", (PyCFunction)(void(*)(void))_wrap_Pda_poisson_0toN, METH_VARARGS|METH_KEYWORDS, "\n"
		"Pda_poisson_0toN(return_p, start_idx, lam, return_dim)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"return_p: std::vector< double,std::allocator< double > > &\n"
		"start_idx: int\n"
		"lam: double\n"
		"return_dim: int\n"
		"\n"
		"\n"
		"Pda::poisson_0toN\n"
		"Writes a Poisson distribution with an average lam for 0..N into a vector\n"
		"starting at a specified index.  \n"
		"\n"
		"This static method generates a Poisson distribution with an average lam for\n"
		"values 0 to N and writes it into the vector starting at the specified index.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `return_p[in`, `out]` :  \n"
		"    Vector to store the Poisson distribution.  \n"
		"* `start_idx` :  \n"
		"    Starting index in the vector.  \n"
		"* `lam` :  \n"
		"    Average lambda for the Poisson distribution.  \n"
		"* `return_dim` :  \n"
		"    Dimension of the vector.  \n"
		"\n"
		""},
	 { "Pda_hist_sgsr_valid_set", _wrap_Pda_hist_sgsr_valid_set, METH_VARARGS, "\n"
		"Pda_hist_sgsr_valid_set(self, hist_sgsr_valid)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"hist_sgsr_valid: bool\n"
		"\n"
		""},
	 { "Pda_hist_sgsr_valid_get", _wrap_Pda_hist_sgsr_valid_get, METH_O, "Pda_hist_sgsr_valid_get(self) -> bool"},
	 { "Pda_background_ch2_set", _wrap_Pda_background_ch2_set, METH_VARARGS, "\n"
		"Pda_background_ch2_set(self, background_ch2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"background_ch2: double\n"
		"\n"
		""},
	 { "Pda_background_ch2_get", _wrap_Pda_background_ch2_get, METH_O, "Pda_background_ch2_get(self) -> double"},
	 { "Pda_background_ch1_set", _wrap_Pda_background_ch1_set, METH_VARARGS, "\n"
		"Pda_background_ch1_set(self, background_ch1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"background_ch1: double\n"
		"\n"
		""},
	 { "Pda_background_ch1_get", _wrap_Pda_background_ch1_get, METH_O, "Pda_background_ch1_get(self) -> double"},
	 { "Pda_hist2d_nmin_set", _wrap_Pda_hist2d_nmin_set, METH_VARARGS, "\n"
		"Pda_hist2d_nmin_set(self, hist2d_nmin)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"hist2d_nmin: unsigned int\n"
		"\n"
		""},
	 { "Pda_hist2d_nmin_get", _wrap_Pda_hist2d_nmin_get, METH_O, "Pda_hist2d_nmin_get(self) -> unsigned int"},
	 { "Pda_hist2d_nmax_set", _wrap_Pda_hist2d_nmax_set, METH_VARARGS, "\n"
		"Pda_hist2d_nmax_set(self, hist2d_nmax)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"hist2d_nmax: unsigned int\n"
		"\n"
		""},
	 { "Pda_hist2d_nmax_get", _wrap_Pda_hist2d_nmax_get, METH_O, "Pda_hist2d_nmax_get(self) -> unsigned int"},
	 { "Pda_hist2d_valid_set", _wrap_Pda_hist2d_valid_set, METH_VARARGS, "\n"
		"Pda_hist2d_valid_set(self, hist2d_valid)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"hist2d_valid: bool\n"
		"\n"
		""},
	 { "Pda_hist2d_valid_get", _wrap_Pda_hist2d_valid_get, METH_O, "Pda_hist2d_valid_get(self) -> bool"},
	 { "Pda_swigregister", Pda_swigregister, METH_O, NULL},
	 { "Pda_swiginit", Pda_swiginit, METH_VARARGS, NULL},
	 { "PdaCallback_run", (PyCFunction)(void(*)(void))_wrap_PdaCallback_run, METH_VARARGS|METH_KEYWORDS, "\n"
		"PdaCallback_run(self, ch1, ch2) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"ch1: double\n"
		"ch2: double\n"
		"\n"
		"\n"
		"PdaCallback::run\n"
		""},
	 { "new_PdaCallback", (PyCFunction)(void(*)(void))_wrap_new_PdaCallback, METH_VARARGS|METH_KEYWORDS, "\n"
		"new_PdaCallback(_self) -> PdaCallback\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"self: PyObject *\n"
		"\n"
		"\n"
		"PdaCallback::PdaCallback\n"
		""},
	 { "delete_PdaCallback", _wrap_delete_PdaCallback, METH_O, "\n"
		"delete_PdaCallback(self)\n"
		"\n"
		"PdaCallback::~PdaCallback\n"
		""},
	 { "disown_PdaCallback", _wrap_disown_PdaCallback, METH_O, NULL},
	 { "PdaCallback_swigregister", PdaCallback_swigregister, METH_O, NULL},
	 { "PdaCallback_swiginit", PdaCallback_swiginit, METH_VARARGS, NULL},
	 { "add_pile_up_to_model", (PyCFunction)(void(*)(void))_wrap_add_pile_up_to_model, METH_VARARGS|METH_KEYWORDS, "\n"
		"add_pile_up_to_model(model, decay, repetition_rate, instrument_dead_time, measurement_time, pile_up_model=\"coates\", start=0, stop=-1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"model: double *\n"
		"decay: double *\n"
		"repetition_rate: double\n"
		"instrument_dead_time: double\n"
		"measurement_time: double\n"
		"pile_up_model: std::string\n"
		"start: int\n"
		"stop: int\n"
		"\n"
		"\n"
		"\n"
		"Add a pile-up distortion to the model function.  \n"
		"\n"
		"This function adds a pile up distortion to a model fluorescence decay. The model\n"
		"used to compute the pile-up distortion follows the description of Coates (1968,\n"
		"eq. 2 and eq. 4)  \n"
		"\n"
		"Reference: Coates, P.: The correction for photonpile-up in the measurement of\n"
		"radiative lifetimes. J. Phys. E: Sci. Instrum. 1(8), 878–879 (1968)  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `model[in`, `out]` :  \n"
		"    The array containing the model function  \n"
		"* `n_model[in]` :  \n"
		"    Number of elements in the model array  \n"
		"* `data[in]` :  \n"
		"    The array containing the experimental decay  \n"
		"* `n_data[in]` :  \n"
		"    number of elements in experimental decay  \n"
		"* `repetition_rate[in]` :  \n"
		"    The repetition-rate (excitation rate) in MHz  \n"
		"* `instrument_dead_time[in]` :  \n"
		"    The overall dead-time of the detection system in nanoseconds  \n"
		"* `measurement_time[in]` :  \n"
		"    The measurement time in seconds  \n"
		"* `pile_up_model[in]` :  \n"
		"    The model used to compute the pile up distortion.  \n"
		"* `start` :  \n"
		"    Start index for pile up  \n"
		"* `stop` :  \n"
		"    Stop index for pile up (default \"coates\")  \n"
		"\n"
		""},
	 { "rescale", (PyCFunction)(void(*)(void))_wrap_rescale, METH_VARARGS|METH_KEYWORDS, "\n"
		"rescale(fit, decay, start=0, stop=-1) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"decay: double *\n"
		"start: int\n"
		"stop: int\n"
		"\n"
		""},
	 { "rescale_w", (PyCFunction)(void(*)(void))_wrap_rescale_w, METH_VARARGS|METH_KEYWORDS, "\n"
		"rescale_w(fit, decay, w_sq, start=0, stop=-1) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"decay: double *\n"
		"w_sq: double *\n"
		"start: int\n"
		"stop: int\n"
		"\n"
		""},
	 { "rescale_w_bg", (PyCFunction)(void(*)(void))_wrap_rescale_w_bg, METH_VARARGS|METH_KEYWORDS, "\n"
		"rescale_w_bg(fit, decay, w_sq, bg, start=0, stop=-1) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"decay: double *\n"
		"w_sq: double *\n"
		"bg: double\n"
		"start: int\n"
		"stop: int\n"
		"\n"
		""},
	 { "fconv", (PyCFunction)(void(*)(void))_wrap_fconv, METH_VARARGS|METH_KEYWORDS, "\n"
		"fconv(fit, irf, x, start=0, stop=-1, dt=1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"irf: double *\n"
		"x: double *\n"
		"start: int\n"
		"stop: int\n"
		"dt: double\n"
		"\n"
		""},
	 { "fconv_avx", (PyCFunction)(void(*)(void))_wrap_fconv_avx, METH_VARARGS|METH_KEYWORDS, "\n"
		"fconv_avx(fit, irf, x, start=0, stop=-1, dt=1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"irf: double *\n"
		"x: double *\n"
		"start: int\n"
		"stop: int\n"
		"dt: double\n"
		"\n"
		""},
	 { "fconv_per", (PyCFunction)(void(*)(void))_wrap_fconv_per, METH_VARARGS|METH_KEYWORDS, "\n"
		"fconv_per(fit, irf, x, period, start=0, stop=-1, dt=1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"irf: double *\n"
		"x: double *\n"
		"period: double\n"
		"start: int\n"
		"stop: int\n"
		"dt: double\n"
		"\n"
		""},
	 { "fconv_per_avx", (PyCFunction)(void(*)(void))_wrap_fconv_per_avx, METH_VARARGS|METH_KEYWORDS, "\n"
		"fconv_per_avx(fit, irf, x, period, start=0, stop=-1, dt=1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"irf: double *\n"
		"x: double *\n"
		"period: double\n"
		"start: int\n"
		"stop: int\n"
		"dt: double\n"
		"\n"
		""},
	 { "fconv_per_cs", (PyCFunction)(void(*)(void))_wrap_fconv_per_cs, METH_VARARGS|METH_KEYWORDS, "\n"
		"fconv_per_cs(fit, irf, x, period, conv_stop=-1, stop=-1, dt=1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"irf: double *\n"
		"x: double *\n"
		"period: double\n"
		"conv_stop: int\n"
		"stop: int\n"
		"dt: double\n"
		"\n"
		""},
	 { "fconv_ref", (PyCFunction)(void(*)(void))_wrap_fconv_ref, METH_VARARGS|METH_KEYWORDS, "\n"
		"fconv_ref(fit, irf, x, tauref, start=0, stop=-1, dt=1.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"irf: double *\n"
		"x: double *\n"
		"tauref: double\n"
		"start: int\n"
		"stop: int\n"
		"dt: double\n"
		"\n"
		""},
	 { "sconv", (PyCFunction)(void(*)(void))_wrap_sconv, METH_VARARGS|METH_KEYWORDS, "\n"
		"sconv(fit, irf, model, start=0, stop=-1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fit: double *\n"
		"irf: double *\n"
		"model: double *\n"
		"start: int\n"
		"stop: int\n"
		"\n"
		""},
	 { "shift_lamp", (PyCFunction)(void(*)(void))_wrap_shift_lamp, METH_VARARGS|METH_KEYWORDS, "\n"
		"shift_lamp(lamp, lampsh, ts=0.0, out_value=0.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"lamp: double *\n"
		"lampsh: double *\n"
		"ts: double\n"
		"out_value: double\n"
		"\n"
		""},
	 { "discriminate_small_amplitudes", (PyCFunction)(void(*)(void))_wrap_discriminate_small_amplitudes, METH_VARARGS|METH_KEYWORDS, "\n"
		"discriminate_small_amplitudes(lifetime_spectrum, amplitude_threshold)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"lifetime_spectrum: double *\n"
		"amplitude_threshold: double\n"
		"\n"
		"\n"
		"\n"
		"Threshold the amplitudes in the interleaved lifetime spectrum.  \n"
		"\n"
		"Amplitudes with absolute values smaller than the specified threshold are set to\n"
		"zero.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `lifetime_spectrum` :  \n"
		"    [in,out] Interleaved lifetime spectrum (amplitude, lifetime).  \n"
		"* `n_lifetime_spectrum` :  \n"
		"    [in] Number of elements in the lifetime spectrum.  \n"
		"* `amplitude_threshold` :  \n"
		"    [in] Threshold value for amplitude discrimination.  \n"
		"\n"
		""},
	 { "fconv_per_cs_time_axis", (PyCFunction)(void(*)(void))_wrap_fconv_per_cs_time_axis, METH_VARARGS|METH_KEYWORDS, "\n"
		"fconv_per_cs_time_axis(model, time_axis, irf, lifetime_spectrum, convolution_start=0, convolution_stop=-1, period=100.0)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"model: double *\n"
		"time_axis: double *\n"
		"irf: double *\n"
		"lifetime_spectrum: double *\n"
		"convolution_start: int\n"
		"convolution_stop: int\n"
		"period: double\n"
		"\n"
		"\n"
		"\n"
		"Compute the fluorescence decay for a lifetime spectrum and an instrument\n"
		"response function considering periodic excitation.  \n"
		"\n"
		"Fills the pre-allocated output array `model` with a fluorescence intensity decay\n"
		"defined by a set of fluorescence lifetimes specified in the `lifetime_spectrum`\n"
		"parameter. The fluorescence decay is convolved (non-periodically) with an\n"
		"instrumental response function defined by `irf`.  \n"
		"\n"
		"This function calculates a fluorescence intensity model that is convolved with\n"
		"an instrument response function (IRF). The fluorescence intensity model is\n"
		"specified by its fluorescence lifetime spectrum, represented by an interleaved\n"
		"array containing fluorescence lifetimes with corresponding amplitudes.  \n"
		"\n"
		"This convolution only works with evenly linear spaced time axes.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `model` :  \n"
		"    [in,out] In-place output array that is filled with the values of the\n"
		"    computed fluorescence intensity decay model.  \n"
		"* `n_model` :  \n"
		"    [in] Number of elements in the output array.  \n"
		"* `time_axis` :  \n"
		"    [in] Time-axis of the model.  \n"
		"* `n_time_axis` :  \n"
		"    [in] Length of the time axis.  \n"
		"* `irf` :  \n"
		"    [in] Instrument response function array.  \n"
		"* `n_irf` :  \n"
		"    [in] Length of the instrument response function array.  \n"
		"* `lifetime_spectrum` :  \n"
		"    [in] Interleaved array of amplitudes and fluorescence lifetimes in the form\n"
		"    (amplitude, lifetime, amplitude, lifetime, ...).  \n"
		"* `n_lifetime_spectrum` :  \n"
		"    [in] Number of elements in the lifetime spectrum.  \n"
		"* `convolution_start` :  \n"
		"    [in] Start channel of convolution (position in array of IRF).  \n"
		"* `convolution_stop` :  \n"
		"    [in] Convolution stop channel (the index on the time-axis).  \n"
		"* `period` :  \n"
		"    [in] Period of repetition in units of the lifetime (usually, nano-seconds).\n"
		"    Default value is 100.0.  \n"
		"\n"
		""},
	 { "fconv_cs_time_axis", (PyCFunction)(void(*)(void))_wrap_fconv_cs_time_axis, METH_VARARGS|METH_KEYWORDS, "\n"
		"fconv_cs_time_axis(inplace_output, time_axis, instrument_response_function, n_instrument_response_function, lifetime_spectrum, convolution_start=0, convolution_stop=-1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"inplace_output: double *\n"
		"time_axis: double *\n"
		"instrument_response_function: double *\n"
		"n_instrument_response_function: int\n"
		"lifetime_spectrum: double *\n"
		"convolution_start: int\n"
		"convolution_stop: int\n"
		"\n"
		"\n"
		"\n"
		"Compute the fluorescence decay for a lifetime spectrum and an instrument\n"
		"response function.  \n"
		"\n"
		"Fills the pre-allocated output array `inplace_output` with a fluorescence\n"
		"intensity decay defined by a set of fluorescence lifetimes specified in the\n"
		"`lifetime_spectrum` parameter. The fluorescence decay is convolved (non-\n"
		"periodically) with an instrumental response function defined by\n"
		"`instrument_response_function`.  \n"
		"\n"
		"This function calculates a fluorescence intensity decay model that is convolved\n"
		"with an instrument response function (IRF). The fluorescence intensity decay\n"
		"model is specified by its fluorescence lifetime spectrum, represented by an\n"
		"interleaved array containing fluorescence lifetimes with corresponding\n"
		"amplitudes.  \n"
		"\n"
		"The convolution supports unevenly spaced time axes.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `inplace_output` :  \n"
		"    [in,out] In-place output array that is filled with the values of the\n"
		"    computed fluorescence intensity decay model.  \n"
		"* `n_output` :  \n"
		"    [in] Number of elements in the output array.  \n"
		"* `time_axis` :  \n"
		"    [in] Time-axis of the fluorescence intensity decay model.  \n"
		"* `n_time_axis` :  \n"
		"    [in] Length of the time axis.  \n"
		"* `instrument_response_function` :  \n"
		"    [in] Instrument response function array.  \n"
		"* `n_instrument_response_function` :  \n"
		"    [in] Length of the instrument response function array.  \n"
		"* `lifetime_spectrum` :  \n"
		"    [in] Interleaved array of amplitudes and fluorescence lifetimes in the form\n"
		"    (amplitude, lifetime, amplitude, lifetime, ...).  \n"
		"* `n_lifetime_spectrum` :  \n"
		"    [in] Number of elements in the lifetime spectrum.  \n"
		"* `convolution_start` :  \n"
		"    [in] Start channel of convolution (position in array of IRF).  \n"
		"* `convolution_stop` :  \n"
		"    [in] Convolution stop channel (the index on the time-axis).  \n"
		"\n"
		""},
	 { "DecayFitCorrections_gamma_set", _wrap_DecayFitCorrections_gamma_set, METH_VARARGS, "\n"
		"DecayFitCorrections_gamma_set(self, gamma)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"gamma: double\n"
		"\n"
		""},
	 { "DecayFitCorrections_gamma_get", _wrap_DecayFitCorrections_gamma_get, METH_O, "DecayFitCorrections_gamma_get(self) -> double"},
	 { "DecayFitCorrections_g_set", _wrap_DecayFitCorrections_g_set, METH_VARARGS, "\n"
		"DecayFitCorrections_g_set(self, g)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"g: double\n"
		"\n"
		""},
	 { "DecayFitCorrections_g_get", _wrap_DecayFitCorrections_g_get, METH_O, "DecayFitCorrections_g_get(self) -> double"},
	 { "DecayFitCorrections_l1_set", _wrap_DecayFitCorrections_l1_set, METH_VARARGS, "\n"
		"DecayFitCorrections_l1_set(self, l1)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"l1: double\n"
		"\n"
		""},
	 { "DecayFitCorrections_l1_get", _wrap_DecayFitCorrections_l1_get, METH_O, "DecayFitCorrections_l1_get(self) -> double"},
	 { "DecayFitCorrections_l2_set", _wrap_DecayFitCorrections_l2_set, METH_VARARGS, "\n"
		"DecayFitCorrections_l2_set(self, l2)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"l2: double\n"
		"\n"
		""},
	 { "DecayFitCorrections_l2_get", _wrap_DecayFitCorrections_l2_get, METH_O, "DecayFitCorrections_l2_get(self) -> double"},
	 { "DecayFitCorrections_period_set", _wrap_DecayFitCorrections_period_set, METH_VARARGS, "\n"
		"DecayFitCorrections_period_set(self, period)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"period: double\n"
		"\n"
		""},
	 { "DecayFitCorrections_period_get", _wrap_DecayFitCorrections_period_get, METH_O, "DecayFitCorrections_period_get(self) -> double"},
	 { "DecayFitCorrections_convolution_stop_set", _wrap_DecayFitCorrections_convolution_stop_set, METH_VARARGS, "\n"
		"DecayFitCorrections_convolution_stop_set(self, convolution_stop)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"convolution_stop: int\n"
		"\n"
		""},
	 { "DecayFitCorrections_convolution_stop_get", _wrap_DecayFitCorrections_convolution_stop_get, METH_O, "DecayFitCorrections_convolution_stop_get(self) -> int"},
	 { "DecayFitCorrections_set_gamma", (PyCFunction)(void(*)(void))_wrap_DecayFitCorrections_set_gamma, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFitCorrections_set_gamma(self, v)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"v: double\n"
		"\n"
		"\n"
		"DecayFitCorrections::set_gamma\n"
		""},
	 { "DecayFitCorrections_str", _wrap_DecayFitCorrections_str, METH_O, "\n"
		"DecayFitCorrections_str(self) -> std::string\n"
		"\n"
		"DecayFitCorrections::str\n"
		""},
	 { "new_DecayFitCorrections", (PyCFunction)(void(*)(void))_wrap_new_DecayFitCorrections, METH_VARARGS|METH_KEYWORDS, "\n"
		"new_DecayFitCorrections(gamma=0.0, g=1.0, l1=0.0, l2=0.0, period=1000, convolution_stop=0) -> DecayFitCorrections\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"gamma: double\n"
		"g: double\n"
		"l1: double\n"
		"l2: double\n"
		"period: double\n"
		"convolution_stop: int\n"
		"\n"
		"\n"
		"DecayFitCorrections::DecayFitCorrections\n"
		""},
	 { "delete_DecayFitCorrections", _wrap_delete_DecayFitCorrections, METH_O, "delete_DecayFitCorrections(self)"},
	 { "DecayFitCorrections_swigregister", DecayFitCorrections_swigregister, METH_O, NULL},
	 { "DecayFitCorrections_swiginit", DecayFitCorrections_swiginit, METH_VARARGS, NULL},
	 { "DecayFitSettings_fixedrho_set", _wrap_DecayFitSettings_fixedrho_set, METH_VARARGS, "\n"
		"DecayFitSettings_fixedrho_set(self, fixedrho)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"fixedrho: int\n"
		"\n"
		""},
	 { "DecayFitSettings_fixedrho_get", _wrap_DecayFitSettings_fixedrho_get, METH_O, "DecayFitSettings_fixedrho_get(self) -> int"},
	 { "DecayFitSettings_softbifl_set", _wrap_DecayFitSettings_softbifl_set, METH_VARARGS, "\n"
		"DecayFitSettings_softbifl_set(self, softbifl)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"softbifl: int\n"
		"\n"
		""},
	 { "DecayFitSettings_softbifl_get", _wrap_DecayFitSettings_softbifl_get, METH_O, "DecayFitSettings_softbifl_get(self) -> int"},
	 { "DecayFitSettings_p2s_twoIstar_set", _wrap_DecayFitSettings_p2s_twoIstar_set, METH_VARARGS, "\n"
		"DecayFitSettings_p2s_twoIstar_set(self, p2s_twoIstar)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p2s_twoIstar: int\n"
		"\n"
		""},
	 { "DecayFitSettings_p2s_twoIstar_get", _wrap_DecayFitSettings_p2s_twoIstar_get, METH_O, "DecayFitSettings_p2s_twoIstar_get(self) -> int"},
	 { "DecayFitSettings_firstcall_set", _wrap_DecayFitSettings_firstcall_set, METH_VARARGS, "\n"
		"DecayFitSettings_firstcall_set(self, firstcall)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"firstcall: int\n"
		"\n"
		""},
	 { "DecayFitSettings_firstcall_get", _wrap_DecayFitSettings_firstcall_get, METH_O, "DecayFitSettings_firstcall_get(self) -> int"},
	 { "DecayFitSettings_penalty_set", _wrap_DecayFitSettings_penalty_set, METH_VARARGS, "\n"
		"DecayFitSettings_penalty_set(self, penalty)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"penalty: double\n"
		"\n"
		""},
	 { "DecayFitSettings_penalty_get", _wrap_DecayFitSettings_penalty_get, METH_O, "DecayFitSettings_penalty_get(self) -> double"},
	 { "DecayFitSettings_str", _wrap_DecayFitSettings_str, METH_O, "\n"
		"DecayFitSettings_str(self) -> std::string\n"
		"\n"
		"DecayFitSettings::str\n"
		""},
	 { "new_DecayFitSettings", _wrap_new_DecayFitSettings, METH_NOARGS, "\n"
		"new_DecayFitSettings() -> DecayFitSettings\n"
		"\n"
		"\n"
		"C++ includes: DecayFit.h\n"
		"\n"
		""},
	 { "delete_DecayFitSettings", _wrap_delete_DecayFitSettings, METH_O, "delete_DecayFitSettings(self)"},
	 { "DecayFitSettings_swigregister", DecayFitSettings_swigregister, METH_O, NULL},
	 { "DecayFitSettings_swiginit", DecayFitSettings_swiginit, METH_VARARGS, NULL},
	 { "DecayFitIntegrateSignals_corrections_set", _wrap_DecayFitIntegrateSignals_corrections_set, METH_VARARGS, "\n"
		"DecayFitIntegrateSignals_corrections_set(self, corrections)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"corrections: DecayFitCorrections *\n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_corrections_get", _wrap_DecayFitIntegrateSignals_corrections_get, METH_O, "DecayFitIntegrateSignals_corrections_get(self) -> DecayFitCorrections"},
	 { "DecayFitIntegrateSignals_Sp_set", _wrap_DecayFitIntegrateSignals_Sp_set, METH_VARARGS, "\n"
		"DecayFitIntegrateSignals_Sp_set(self, Sp)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"Sp: double\n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_Sp_get", _wrap_DecayFitIntegrateSignals_Sp_get, METH_O, "DecayFitIntegrateSignals_Sp_get(self) -> double"},
	 { "DecayFitIntegrateSignals_Ss_set", _wrap_DecayFitIntegrateSignals_Ss_set, METH_VARARGS, "\n"
		"DecayFitIntegrateSignals_Ss_set(self, Ss)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"Ss: double\n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_Ss_get", _wrap_DecayFitIntegrateSignals_Ss_get, METH_O, "DecayFitIntegrateSignals_Ss_get(self) -> double"},
	 { "DecayFitIntegrateSignals_Bp_set", _wrap_DecayFitIntegrateSignals_Bp_set, METH_VARARGS, "\n"
		"DecayFitIntegrateSignals_Bp_set(self, Bp)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"Bp: double\n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_Bp_get", _wrap_DecayFitIntegrateSignals_Bp_get, METH_O, "DecayFitIntegrateSignals_Bp_get(self) -> double"},
	 { "DecayFitIntegrateSignals_Bs_set", _wrap_DecayFitIntegrateSignals_Bs_set, METH_VARARGS, "\n"
		"DecayFitIntegrateSignals_Bs_set(self, Bs)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"Bs: double\n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_Bs_get", _wrap_DecayFitIntegrateSignals_Bs_get, METH_O, "DecayFitIntegrateSignals_Bs_get(self) -> double"},
	 { "DecayFitIntegrateSignals_B_set", _wrap_DecayFitIntegrateSignals_B_set, METH_VARARGS, "\n"
		"DecayFitIntegrateSignals_B_set(self, B)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"B: double\n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_B_get", _wrap_DecayFitIntegrateSignals_B_get, METH_O, "DecayFitIntegrateSignals_B_get(self) -> double"},
	 { "DecayFitIntegrateSignals_Bexpected_set", _wrap_DecayFitIntegrateSignals_Bexpected_set, METH_VARARGS, "\n"
		"DecayFitIntegrateSignals_Bexpected_set(self, Bexpected)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"Bexpected: double\n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_Bexpected_get", _wrap_DecayFitIntegrateSignals_Bexpected_get, METH_O, "DecayFitIntegrateSignals_Bexpected_get(self) -> double"},
	 { "DecayFitIntegrateSignals_Fp", _wrap_DecayFitIntegrateSignals_Fp, METH_O, "\n"
		"DecayFitIntegrateSignals_Fp(self) -> double\n"
		"\n"
		"DecayFitIntegrateSignals::Fp\n"
		""},
	 { "DecayFitIntegrateSignals_Fs", _wrap_DecayFitIntegrateSignals_Fs, METH_O, "\n"
		"DecayFitIntegrateSignals_Fs(self) -> double\n"
		"\n"
		"DecayFitIntegrateSignals::Fs\n"
		""},
	 { "DecayFitIntegrateSignals_r", _wrap_DecayFitIntegrateSignals_r, METH_O, "\n"
		"DecayFitIntegrateSignals_r(self) -> double\n"
		"\n"
		"DecayFitIntegrateSignals::r\n"
		""},
	 { "DecayFitIntegrateSignals_rho", (PyCFunction)(void(*)(void))_wrap_DecayFitIntegrateSignals_rho, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFitIntegrateSignals_rho(self, tau, r0) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"tau: double\n"
		"r0: double\n"
		"\n"
		"\n"
		"DecayFitIntegrateSignals::rho\n"
		""},
	 { "DecayFitIntegrateSignals_rs", _wrap_DecayFitIntegrateSignals_rs, METH_O, "\n"
		"DecayFitIntegrateSignals_rs(self) -> double\n"
		"\n"
		"DecayFitIntegrateSignals::rs\n"
		""},
	 { "DecayFitIntegrateSignals_compute_signal_and_background", (PyCFunction)(void(*)(void))_wrap_DecayFitIntegrateSignals_compute_signal_and_background, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFitIntegrateSignals_compute_signal_and_background(self, p)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFitIntegrateSignals::compute_signal_and_background\n"
		"Computes the total number of photons in the parallel and perpendicular detection\n"
		"channel for the background and the measured signal. The computed number of\n"
		"photons are stored in the static variables Sp, Ss, Bp, Bs.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `p[in]` :  \n"
		"    a pointer to a MParam object  \n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_normM", _wrap_DecayFitIntegrateSignals_normM, METH_VARARGS, "\n"
		"DecayFitIntegrateSignals_normM(self, M, Nchannels)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"M: double *\n"
		"Nchannels: int\n"
		"\n"
		"DecayFitIntegrateSignals_normM(self, M, s, Nchannels)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"M: double *\n"
		"s: double\n"
		"Nchannels: int\n"
		"\n"
		"\n"
		"DecayFitIntegrateSignals::normM\n"
		"Normalizes a model function (that is already normalized to a unit area) to the\n"
		"total number of photons in parallel and perpendicular,  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `M[in`, `out]` :  \n"
		"    array containing the model function in Jordi format  \n"
		"* `s[in]` :  \n"
		"    a scaling factor by which the model function is divided.  \n"
		"* `Nchannels[in]` :  \n"
		"    the number of channels in the model function (half length of M array)  \n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_normM_p2s", (PyCFunction)(void(*)(void))_wrap_DecayFitIntegrateSignals_normM_p2s, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFitIntegrateSignals_normM_p2s(self, M, Nchannels)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"M: double *\n"
		"Nchannels: int\n"
		"\n"
		"\n"
		"DecayFitIntegrateSignals::normM_p2s\n"
		"Normalizes the number of photons in the model function for Ss and Sp\n"
		"individually to the number of experimental photons in Ss and Sp.  \n"
		"\n"
		"Here, the number of experimental photons are global variables that can be\n"
		"computed by `compute_signal_and_background`.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `M` :  \n"
		"    array[in,out] containing the model function in Jordi format  \n"
		"* `Nchannels[in]` :  \n"
		"    number of channels in the experiment (half length of M array)  \n"
		"\n"
		""},
	 { "DecayFitIntegrateSignals_str", _wrap_DecayFitIntegrateSignals_str, METH_O, "\n"
		"DecayFitIntegrateSignals_str(self) -> std::string\n"
		"\n"
		"DecayFitIntegrateSignals::str\n"
		""},
	 { "new_DecayFitIntegrateSignals", (PyCFunction)(void(*)(void))_wrap_new_DecayFitIntegrateSignals, METH_VARARGS|METH_KEYWORDS, "\n"
		"new_DecayFitIntegrateSignals(corrections=None) -> DecayFitIntegrateSignals\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"corrections: DecayFitCorrections *\n"
		"\n"
		"\n"
		"DecayFitIntegrateSignals::DecayFitIntegrateSignals\n"
		""},
	 { "delete_DecayFitIntegrateSignals", _wrap_delete_DecayFitIntegrateSignals, METH_O, "delete_DecayFitIntegrateSignals(self)"},
	 { "DecayFitIntegrateSignals_swigregister", DecayFitIntegrateSignals_swigregister, METH_O, NULL},
	 { "DecayFitIntegrateSignals_swiginit", DecayFitIntegrateSignals_swiginit, METH_VARARGS, NULL},
	 { "DecayFit_modelf", (PyCFunction)(void(*)(void))_wrap_DecayFit_modelf, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFit_modelf(param, irf, bg, Nchannels, dt, corrections, mfunction) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"param: double *\n"
		"irf: double *\n"
		"bg: double *\n"
		"Nchannels: int\n"
		"dt: double\n"
		"corrections: double *\n"
		"mfunction: double *\n"
		"\n"
		"\n"
		"DecayFit::modelf\n"
		"Function to compute a model fluorescence decay.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `param` :  \n"
		"    array containing the model parameters  \n"
		"* `irf` :  \n"
		"    instrument response function in Jordi format (parallel, perpendicular)  \n"
		"* `bg[in]` :  \n"
		"    background pattern in Jordi format (parallel, perpendicular)  \n"
		"* `Nchannels[in]` :  \n"
		"    number of channels (half the length of the Jordi arrays)  \n"
		"* `dt[in]` :  \n"
		"    time difference between two consecutive counting channels  \n"
		"* `corrections[in]` :  \n"
		"    array with corrections (details see implementations)  \n"
		"* `mfunction[out]` :  \n"
		"    output array of the computed decay in Jordi format. The output array has to\n"
		"    have twice the number of channels. It needs to be allocated by beforehand.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"integer For reporting failures (default 0)  \n"
		"\n"
		""},
	 { "DecayFit_targetf", (PyCFunction)(void(*)(void))_wrap_DecayFit_targetf, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFit_targetf(x, pv) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"pv: void *\n"
		"\n"
		"\n"
		"DecayFit::targetf\n"
		"Target function (to minimize)  \n"
		"\n"
		"Computes the model function and returns a score that quantifies the discrepancy\n"
		"between the data and the model.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x[in`, `out]` :  \n"
		"    a vector of length that that contains the model parameters  \n"
		"* `pv[in]` :  \n"
		"    a pointer to a MParam structure that contains the data and a set of\n"
		"    corrections.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"a normalized chi2  \n"
		"\n"
		""},
	 { "DecayFit_fit", (PyCFunction)(void(*)(void))_wrap_DecayFit_fit, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFit_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit::fit\n"
		"Function that optimizes parameters of model23 to data.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x[in`, `out]` :  \n"
		"    a vector of length that that contains the starting parameters  \n"
		"* `fixed` :  \n"
		"    an array that specifies if a parameter is optimized. If a value is set to 1,\n"
		"    the parameter is optimized.  \n"
		"* `p` :  \n"
		"    an instance of MParam that contains all relevant information  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "DecayFit_correct_input", (PyCFunction)(void(*)(void))_wrap_DecayFit_correct_input, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFit_correct_input(x, xm, corrections, return_r)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"xm: double *\n"
		"corrections: LVDoubleArray *\n"
		"return_r: int\n"
		"\n"
		"\n"
		"DecayFit::correct_input\n"
		"Correct input parameters and compute values  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x[in`, `out]` :  \n"
		"    input output array (see implementations of derived classes)  \n"
		"* `xm[in`, `out]` :  \n"
		"    array that will contain the corrected parameters  \n"
		"* `corrections[in]` :  \n"
		"    array with correction parameters  \n"
		"* `return_r[in]` :  \n"
		"    if set to true (positive) computes the anisotropy and returns the scatter\n"
		"    corrected and the signal (no scatter correction) anisotropy and writes the\n"
		"    values to the input/output vector x.  \n"
		"\n"
		""},
	 { "new_DecayFit", _wrap_new_DecayFit, METH_NOARGS, "\n"
		"new_DecayFit() -> DecayFit\n"
		"\n"
		"\n"
		"C++ includes: DecayFit.h\n"
		"\n"
		""},
	 { "delete_DecayFit", _wrap_delete_DecayFit, METH_O, "delete_DecayFit(self)"},
	 { "DecayFit_swigregister", DecayFit_swigregister, METH_O, NULL},
	 { "DecayFit_swiginit", DecayFit_swiginit, METH_VARARGS, NULL},
	 { "LVI32Array_length_set", _wrap_LVI32Array_length_set, METH_VARARGS, "\n"
		"LVI32Array_length_set(self, length)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"length: int\n"
		"\n"
		""},
	 { "LVI32Array_length_get", _wrap_LVI32Array_length_get, METH_O, "LVI32Array_length_get(self) -> int"},
	 { "LVI32Array_data_set", _wrap_LVI32Array_data_set, METH_VARARGS, "\n"
		"LVI32Array_data_set(self, data)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data: int *\n"
		"\n"
		""},
	 { "LVI32Array_data_get", _wrap_LVI32Array_data_get, METH_O, "LVI32Array_data_get(self) -> int *"},
	 { "delete_LVI32Array", _wrap_delete_LVI32Array, METH_O, "\n"
		"delete_LVI32Array(self)\n"
		"\n"
		"LVI32Array::~LVI32Array\n"
		""},
	 { "LVI32Array_str", _wrap_LVI32Array_str, METH_O, "\n"
		"LVI32Array_str(self) -> std::string\n"
		"\n"
		"LVI32Array::str\n"
		""},
	 { "LVI32Array___getitem__", (PyCFunction)(void(*)(void))_wrap_LVI32Array___getitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"LVI32Array___getitem__(self, i) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: size_t\n"
		"\n"
		""},
	 { "LVI32Array___setitem__", (PyCFunction)(void(*)(void))_wrap_LVI32Array___setitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"LVI32Array___setitem__(self, i, value)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: size_t\n"
		"value: int\n"
		"\n"
		""},
	 { "LVI32Array___len__", _wrap_LVI32Array___len__, METH_O, "LVI32Array___len__(self) -> size_t"},
	 { "LVI32Array_insert", (PyCFunction)(void(*)(void))_wrap_LVI32Array_insert, METH_VARARGS|METH_KEYWORDS, "\n"
		"LVI32Array_insert(self, i, value)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: size_t\n"
		"value: int\n"
		"\n"
		""},
	 { "LVI32Array_set_data", (PyCFunction)(void(*)(void))_wrap_LVI32Array_set_data, METH_VARARGS|METH_KEYWORDS, "\n"
		"LVI32Array_set_data(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: PyObject *\n"
		"\n"
		""},
	 { "new_LVI32Array", _wrap_new_LVI32Array, METH_NOARGS, "\n"
		"new_LVI32Array() -> LVI32Array\n"
		"\n"
		"\n"
		"Structures and functions used for LabView interface.  \n"
		"\n"
		"fit2x was originally developed as a C backend for LabView software. Therefore,\n"
		"the interface with fit2x uses structures that can be accessed by Labview. In\n"
		"order to make an interfacing with Python and other languages possible there is a\n"
		"this files defines a set of functions that facilitate the creation of the\n"
		"LabView structures.  \n"
		"\n"
		"C++ includes: LvArrays.h\n"
		"\n"
		""},
	 { "LVI32Array_swigregister", LVI32Array_swigregister, METH_O, NULL},
	 { "LVI32Array_swiginit", LVI32Array_swiginit, METH_VARARGS, NULL},
	 { "LVDoubleArray_length_set", _wrap_LVDoubleArray_length_set, METH_VARARGS, "\n"
		"LVDoubleArray_length_set(self, length)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"length: int\n"
		"\n"
		""},
	 { "LVDoubleArray_length_get", _wrap_LVDoubleArray_length_get, METH_O, "LVDoubleArray_length_get(self) -> int"},
	 { "LVDoubleArray_data_set", _wrap_LVDoubleArray_data_set, METH_VARARGS, "\n"
		"LVDoubleArray_data_set(self, data)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"data: double *\n"
		"\n"
		""},
	 { "LVDoubleArray_data_get", _wrap_LVDoubleArray_data_get, METH_O, "LVDoubleArray_data_get(self) -> double *"},
	 { "delete_LVDoubleArray", _wrap_delete_LVDoubleArray, METH_O, "\n"
		"delete_LVDoubleArray(self)\n"
		"\n"
		"LVDoubleArray::~LVDoubleArray\n"
		""},
	 { "LVDoubleArray_str", _wrap_LVDoubleArray_str, METH_O, "\n"
		"LVDoubleArray_str(self) -> std::string\n"
		"\n"
		"LVDoubleArray::str\n"
		""},
	 { "LVDoubleArray___getitem__", (PyCFunction)(void(*)(void))_wrap_LVDoubleArray___getitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"LVDoubleArray___getitem__(self, i) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: size_t\n"
		"\n"
		""},
	 { "LVDoubleArray___setitem__", (PyCFunction)(void(*)(void))_wrap_LVDoubleArray___setitem__, METH_VARARGS|METH_KEYWORDS, "\n"
		"LVDoubleArray___setitem__(self, i, value)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: size_t\n"
		"value: double\n"
		"\n"
		""},
	 { "LVDoubleArray___len__", _wrap_LVDoubleArray___len__, METH_O, "LVDoubleArray___len__(self) -> size_t"},
	 { "LVDoubleArray_insert", (PyCFunction)(void(*)(void))_wrap_LVDoubleArray_insert, METH_VARARGS|METH_KEYWORDS, "\n"
		"LVDoubleArray_insert(self, i, value)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"i: size_t\n"
		"value: double\n"
		"\n"
		""},
	 { "LVDoubleArray_set_data", (PyCFunction)(void(*)(void))_wrap_LVDoubleArray_set_data, METH_VARARGS|METH_KEYWORDS, "\n"
		"LVDoubleArray_set_data(self, input)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"input: PyObject *\n"
		"\n"
		""},
	 { "new_LVDoubleArray", _wrap_new_LVDoubleArray, METH_NOARGS, "\n"
		"new_LVDoubleArray() -> LVDoubleArray\n"
		"\n"
		"\n"
		"C++ includes: LvArrays.h\n"
		"\n"
		""},
	 { "LVDoubleArray_swigregister", LVDoubleArray_swigregister, METH_O, NULL},
	 { "LVDoubleArray_swiginit", LVDoubleArray_swiginit, METH_VARARGS, NULL},
	 { "MParam_expdata_set", _wrap_MParam_expdata_set, METH_VARARGS, "\n"
		"MParam_expdata_set(self, expdata)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"expdata: LVI32Array **\n"
		"\n"
		""},
	 { "MParam_expdata_get", _wrap_MParam_expdata_get, METH_O, "MParam_expdata_get(self) -> LVI32Array **"},
	 { "MParam_irf_set", _wrap_MParam_irf_set, METH_VARARGS, "\n"
		"MParam_irf_set(self, irf)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"irf: LVDoubleArray **\n"
		"\n"
		""},
	 { "MParam_irf_get", _wrap_MParam_irf_get, METH_O, "MParam_irf_get(self) -> LVDoubleArray **"},
	 { "MParam_bg_set", _wrap_MParam_bg_set, METH_VARARGS, "\n"
		"MParam_bg_set(self, bg)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"bg: LVDoubleArray **\n"
		"\n"
		""},
	 { "MParam_bg_get", _wrap_MParam_bg_get, METH_O, "MParam_bg_get(self) -> LVDoubleArray **"},
	 { "MParam_dt_set", _wrap_MParam_dt_set, METH_VARARGS, "\n"
		"MParam_dt_set(self, dt)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"dt: double\n"
		"\n"
		""},
	 { "MParam_dt_get", _wrap_MParam_dt_get, METH_O, "MParam_dt_get(self) -> double"},
	 { "MParam_corrections_set", _wrap_MParam_corrections_set, METH_VARARGS, "\n"
		"MParam_corrections_set(self, corrections)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"corrections: LVDoubleArray **\n"
		"\n"
		""},
	 { "MParam_corrections_get", _wrap_MParam_corrections_get, METH_O, "MParam_corrections_get(self) -> LVDoubleArray **"},
	 { "MParam_M_set", _wrap_MParam_M_set, METH_VARARGS, "\n"
		"MParam_M_set(self, M)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"M: LVDoubleArray **\n"
		"\n"
		""},
	 { "MParam_M_get", _wrap_MParam_M_get, METH_O, "MParam_M_get(self) -> LVDoubleArray **"},
	 { "delete_MParam", _wrap_delete_MParam, METH_O, "\n"
		"delete_MParam(self)\n"
		"\n"
		"MParam::~MParam\n"
		""},
	 { "MParam_get_irf", _wrap_MParam_get_irf, METH_O, "MParam_get_irf(self) -> LVDoubleArray"},
	 { "MParam_get_model", _wrap_MParam_get_model, METH_O, "MParam_get_model(self) -> LVDoubleArray"},
	 { "MParam_get_data", _wrap_MParam_get_data, METH_O, "MParam_get_data(self) -> LVI32Array"},
	 { "MParam_get_corrections", _wrap_MParam_get_corrections, METH_O, "MParam_get_corrections(self) -> LVDoubleArray"},
	 { "MParam_get_background", _wrap_MParam_get_background, METH_O, "MParam_get_background(self) -> LVDoubleArray"},
	 { "new_MParam", _wrap_new_MParam, METH_NOARGS, "\n"
		"new_MParam() -> MParam\n"
		"\n"
		"\n"
		"C++ includes: LvArrays.h\n"
		"\n"
		""},
	 { "MParam_swigregister", MParam_swigregister, METH_O, NULL},
	 { "MParam_swiginit", MParam_swiginit, METH_VARARGS, NULL},
	 { "CreateLVI32Array", (PyCFunction)(void(*)(void))_wrap_CreateLVI32Array, METH_VARARGS|METH_KEYWORDS, "\n"
		"CreateLVI32Array(len) -> LVI32Array\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"len: size_t\n"
		"\n"
		"\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `len` :  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "CreateLVDoubleArray", (PyCFunction)(void(*)(void))_wrap_CreateLVDoubleArray, METH_VARARGS|METH_KEYWORDS, "\n"
		"CreateLVDoubleArray(len) -> LVDoubleArray\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"len: size_t\n"
		"\n"
		"\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `len` :  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "CreateMParam", (PyCFunction)(void(*)(void))_wrap_CreateMParam, METH_VARARGS|METH_KEYWORDS, "\n"
		"CreateMParam(dt=1.0, corrections=std::vector< double >(), irf=std::vector< double >(), background=std::vector< double >(), data=std::vector< int >()) -> MParam\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"dt: double\n"
		"corrections: std::vector< double,std::allocator< double > >\n"
		"irf: std::vector< double,std::allocator< double > >\n"
		"background: std::vector< double,std::allocator< double > >\n"
		"data: std::vector< int,std::allocator< int > >\n"
		"\n"
		"\n"
		"\n"
		""},
	 { "DecayFit23_correct_input", (PyCFunction)(void(*)(void))_wrap_DecayFit23_correct_input, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFit23_correct_input(x, xm, corrections, return_r)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"xm: double *\n"
		"corrections: LVDoubleArray *\n"
		"return_r: int\n"
		"\n"
		"\n"
		"DecayFit23::correct_input\n"
		"Correct input parameters and compute anisotropy  \n"
		"\n"
		"This function corrects the input parameters for fit23 and takes care of\n"
		"unreasonable values. The fluorescence lifetime is constraint to positive values,\n"
		"gamma (the fraction of scattered light) is constraint to values between 0.0 and\n"
		"0.999, the rotational correlation time rho is (if the global variable fixedrho\n"
		"is set to true) to the value that corresponds to the Perrin equation (for the\n"
		"computed, experimental anisotropy). Moreover, this function computes the\n"
		"anisotropy based on the corrected (g-factor, l1, l2, background) intensities, if\n"
		"the variable return_r is set to true.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x[in`, `out]` :  \n"
		"    array of length 8 that contains parameters x[0] fluorescence lifetime - tau;\n"
		"    x[1] fraction of scattered light - gamma; x[2] fundamental anisotropy - r0\n"
		"    x[3] rotational time - rho; x[4] softbifl - flag specifying the type of bifl\n"
		"    fit (not used here) x[5] p2s_twoIstar - flag specifying the type of chi2\n"
		"    calculation (not used here) x[6] background corrected anisotropy x[7]\n"
		"    anisotropy without background correction  \n"
		"* `xm[in`, `out]` :  \n"
		"    array that will contain the corrected parameters  \n"
		"* `corrections[in]` :  \n"
		"* `return_r[in]` :  \n"
		"    if set to true (positive) computes the anisotropy and returns the scatter\n"
		"    corrected and the signal (no scatter correction) anisotropy and writes the\n"
		"    values to the input/output vector x.  \n"
		"\n"
		""},
	 { "DecayFit23_fit", _wrap_DecayFit23_fit, METH_VARARGS, "\n"
		"DecayFit23_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"DecayFit23_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit23::fit\n"
		"Function that optimizes parameters of model23 to data.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x[in`, `out]` :  \n"
		"    a vector of length that that contains the starting parameters for the\n"
		"    optimization and is used to return the optimized parameters. [0]\n"
		"    fluorescence lifetime - tau (in,out) [1] fraction of scattered light - gamma\n"
		"    (in,out) [2] fundamental anisotropy - r0 () [3] rotational correlation time\n"
		"    - rho (in,out) [4] if negative reduce contribution of background photons\n"
		"    from scoring function - Soft BIFL scatter fit? (flag) (in) [5] specifies\n"
		"    type of score that is returned - 2I*: P+2S? (flag), this parameter only\n"
		"    affects the returned score and does not influence the fitting (in) [6]\n"
		"    background corrected anisotropy - r Scatter (out) [7] anisotropy without\n"
		"    background correction - r Experimental (out)  \n"
		"* `fixed` :  \n"
		"    an array at least of length 4 for the parameters tau, gamma, r0, and rho\n"
		"    that specifies if a parameter is optimized. If a value is set to 1, the\n"
		"    parameter is optimized.  \n"
		"* `p` :  \n"
		"    an instance of MParam that contains all relevant information, i.e.,\n"
		"    experimental data, the instrument response function, the needed corrections\n"
		"    ( g-factor, l1, l2)  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "DecayFit23_targetf", _wrap_DecayFit23_targetf, METH_VARARGS, "\n"
		"DecayFit23_targetf(x, pv) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"pv: void *\n"
		"\n"
		"DecayFit23_targetf(x, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit23::targetf\n"
		"Target function (to minimize) for fit23.  \n"
		"\n"
		"Computes the model function 23 and returns a score that quantifies the\n"
		"discrepancy between the data and the model.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x[in`, `out]` :  \n"
		"    a vector of length that that contains the starting parameters for the\n"
		"    optimization and is used to return the optimized parameters. [0]\n"
		"    fluorescence lifetime - tau (in) [1] fraction of scattered light - gamma\n"
		"    (in) [2] fundamental anisotropy - r0 (in) [3] rotational correlation time -\n"
		"    rho (in) [4] if negative reduce contribution of background photons from\n"
		"    scoring function - Soft BIFL scatter fit? (flag) (in) [5] specifies type of\n"
		"    score that is returned - 2I*: P+2S? (flag), this parameter only affects the\n"
		"    returned score and does not influence the fitting (in) [6] background\n"
		"    corrected anisotropy - r Scatter (out) [7] anisotropy without background\n"
		"    correction - r Experimental (out)  \n"
		"* `pv[in]` :  \n"
		"    a pointer to a MParam structure that contains the data and a set of\n"
		"    corrections.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"a normalized chi2  \n"
		"\n"
		""},
	 { "DecayFit23_modelf", _wrap_DecayFit23_modelf, METH_VARARGS, "\n"
		"DecayFit23_modelf(param, irf, bg, Nchannels, dt, corrections, mfunction) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"param: double *\n"
		"irf: double *\n"
		"bg: double *\n"
		"Nchannels: int\n"
		"dt: double\n"
		"corrections: double *\n"
		"mfunction: double *\n"
		"\n"
		"DecayFit23_modelf(param, irf, bg, dt, corrections, mfunction) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"param: double *\n"
		"irf: double *\n"
		"bg: double *\n"
		"dt: double\n"
		"corrections: double *\n"
		"mfunction: double *\n"
		"\n"
		"\n"
		"DecayFit23::modelf\n"
		"Single exponential model function with single rotational correlation time, with\n"
		"scatter contribution (BIFL scatter model)  \n"
		"\n"
		"This function computes the fluorescence decay in the parallel and perpendicular\n"
		"detection channel for a single exponential decay with a fluorescence lifetime\n"
		"tau, a single rotational correlation time rho, and separate instrument response\n"
		"functions for the parallel and perpendicular detection channels. The model\n"
		"considers the faction of scattered light in the two detection channels by the\n"
		"parameter gamma. The scattered light contribution is handled by patterns for the\n"
		"light in the parallel and perpendicular detection channel.  \n"
		"\n"
		"The instrument response function, the background, and the computed model\n"
		"function are in the Jordi format, i.e., stacked one-dimensional arrays of the\n"
		"parallel and perpendicular detection channel.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `param` :  \n"
		"    array containing the model parameters [0] tau, [1] gamma, [2] r0, [3] rho  \n"
		"* `irf` :  \n"
		"    instrument response function in Jordi format (parallel, perpendicular)  \n"
		"* `bg[in]` :  \n"
		"    background pattern in Jordi format (parallel, perpendicular)  \n"
		"* `Nchannels[in]` :  \n"
		"    number of channels (half the length of the Jordi arrays)  \n"
		"* `dt[in]` :  \n"
		"    time difference between two consecutive counting channels  \n"
		"* `corrections[in]` :  \n"
		"    [0] excitation period, [1] g factor, [2] l1, [3] l2, [4] convolution stop\n"
		"    channel number  \n"
		"* `mfunction[out]` :  \n"
		"    output array of the computed decay in Jordi format. The output array has to\n"
		"    have twice the number of channels. It needs to be allocated by beforehand.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"integer (not used, 0 by default)  \n"
		"\n"
		""},
	 { "new_DecayFit23", _wrap_new_DecayFit23, METH_NOARGS, "\n"
		"new_DecayFit23() -> DecayFit23\n"
		"\n"
		"\n"
		"C++ includes: DecayFit23.h\n"
		"\n"
		""},
	 { "delete_DecayFit23", _wrap_delete_DecayFit23, METH_O, "delete_DecayFit23(self)"},
	 { "DecayFit23_swigregister", DecayFit23_swigregister, METH_O, NULL},
	 { "DecayFit23_swiginit", DecayFit23_swiginit, METH_VARARGS, NULL},
	 { "DecayFit24_correct_input", (PyCFunction)(void(*)(void))_wrap_DecayFit24_correct_input, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFit24_correct_input(x, xm, corrections, return_r)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"xm: double *\n"
		"corrections: LVDoubleArray *\n"
		"return_r: int\n"
		"\n"
		"\n"
		"DecayFit24::correct_input\n"
		"Correct input parameters and compute anisotropy for fit24.  \n"
		"\n"
		"limits (0.001 < A2 < 0.999), (0.001 < gamma < 0.999), (tau1 > 0), (tau2 > 0),\n"
		"background > 0 (called offset in other places)  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x[in`, `out]` :  \n"
		"    [0] tau1, [1] gamma [2] tau2, [3] A2, [4] background, [5] BIFL scatter fit?\n"
		"    (flag, not used), [6] anisotropy r (scatter corrected, output), [7]\n"
		"    anisotropy (no scatter correction, output)  \n"
		"* `xm[out]` :  \n"
		"    array for corrected parameters (amplied range)  \n"
		"* `corrections` :  \n"
		"    [1] g factor, [2] l1, [3] l3  \n"
		"* `return_r` :  \n"
		"    if true computes the anisotropy.  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "DecayFit24_fit", _wrap_DecayFit24_fit, METH_VARARGS, "\n"
		"DecayFit24_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"DecayFit24_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit24::fit\n"
		"Fit a bi-exponential decay model  \n"
		"\n"
		"This function fits a bi-exponential decay model to two decays that are stacked\n"
		"using global parameters for the lifetimes and amplitudes.  \n"
		"\n"
		"Bi-exponential model function with two fluorescence lifetimes tau1, tau2 and\n"
		"amplitude of the second lifetime A2, fraction scattered light gamma, and a\n"
		"constant offset. A2 (A1 + A2 = 1)  \n"
		"\n"
		"The model function does not describe anisotropy. The decays passed as a Jordi\n"
		"format are treated identical in first and the second channel of the stacked\n"
		"arrays.  \n"
		"\n"
		"The anisotropy is computed assuming that the first and the second part of the\n"
		"Jordi input arrays are for parallel and perpendicular using the correction array\n"
		"of the attribute p of the type MParam.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x` :  \n"
		"    array containing the parameters of the model [0] tau1, [1] gamma, [2] tau2,\n"
		"    [3] A2, [4] offset, [5] BIFL scatter fit? (flag) - if smaller than 0 uses\n"
		"    soft bifl scatter fit (seems to be unused) [6] r Scatter (output only), [7]\n"
		"    r Experimental (output only)  \n"
		"* `fixed` :  \n"
		"    an array at least of length 5 for the parameters [0] tau1, [1] gamma, [2]\n"
		"    tau2, [3] A2, [4] offset. If a value is not set to fixed the parameter is\n"
		"    optimized.  \n"
		"* `p` :  \n"
		"    an instance of MParam that contains relevant information. Here, experimental\n"
		"    data, the instrument response function, and the background decay are used.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"Quality parameter 2I*  \n"
		"\n"
		""},
	 { "DecayFit24_targetf", _wrap_DecayFit24_targetf, METH_VARARGS, "\n"
		"DecayFit24_targetf(x, pv) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"pv: void *\n"
		"\n"
		"DecayFit24_targetf(x, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit24::targetf\n"
		"Target function (to minimize) for fit23.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x` :  \n"
		"    array containing the parameters of the model [0] tau1, [1] gamma, [2] tau2,\n"
		"    [3] A2, [4] offset  \n"
		"* `pv[in]` :  \n"
		"    a pointer to a MParam structure that contains the data and a set of\n"
		"    corrections.  \n"
		"\n"
		"Returns\n"
		"-------\n"
		"a normalized chi2  \n"
		"\n"
		""},
	 { "DecayFit24_modelf", _wrap_DecayFit24_modelf, METH_VARARGS, "\n"
		"DecayFit24_modelf(param, irf, bg, Nchannels, dt, corrections, mfunction) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"param: double *\n"
		"irf: double *\n"
		"bg: double *\n"
		"Nchannels: int\n"
		"dt: double\n"
		"corrections: double *\n"
		"mfunction: double *\n"
		"\n"
		"DecayFit24_modelf(param, irf, bg, dt, corrections, mfunction) -> int\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"param: double *\n"
		"irf: double *\n"
		"bg: double *\n"
		"dt: double\n"
		"corrections: double *\n"
		"mfunction: double *\n"
		"\n"
		"\n"
		"DecayFit24::modelf\n"
		"Bi-exponential model function.  \n"
		"\n"
		"Bi-exponential model function with two fluorescence lifetimes tau1, tau2 and\n"
		"amplitude of the second lifetime A2, fraction scattered light gamma, and a\n"
		"constant offset. A2 (A1 + A2 = 1)  \n"
		"\n"
		"The model function does not describe anisotropy. The decays passed as a Jordi\n"
		"format are treated identical in first and the second channel of the stacked\n"
		"arrays.  \n"
		"\n"
		"mfunction[i] * (1. - gamma) / sum_m + bg[i] * gamma / sum_s + offset  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `param` :  \n"
		"    array containing the parameters of the model [0] tau1, [1] gamma, [2] tau2,\n"
		"    [3] A2, [4] offset  \n"
		"* `irf` :  \n"
		"    instrument response function in Jordi format  \n"
		"* `bg[in]` :  \n"
		"    background pattern in Jordi format  \n"
		"* `Nchannels[in]` :  \n"
		"    number of channels (half the length of the Jordi arrays)  \n"
		"* `dt[in]` :  \n"
		"    time difference between two consecutive counting channels  \n"
		"* `corrections[in]` :  \n"
		"    [0] excitation period, [1] unused, [2] unused, [3] unused, [4] convolution\n"
		"    stop channel.  \n"
		"* `mfunction[out]` :  \n"
		"    output array of the computed decay in Jordi format. The output array has to\n"
		"    have twice the number of channels. It needs to be allocated by beforehand.  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "new_DecayFit24", _wrap_new_DecayFit24, METH_NOARGS, "\n"
		"new_DecayFit24() -> DecayFit24\n"
		"\n"
		"\n"
		"C++ includes: DecayFit24.h\n"
		"\n"
		""},
	 { "delete_DecayFit24", _wrap_delete_DecayFit24, METH_O, "delete_DecayFit24(self)"},
	 { "DecayFit24_swigregister", DecayFit24_swigregister, METH_O, NULL},
	 { "DecayFit24_swiginit", DecayFit24_swiginit, METH_VARARGS, NULL},
	 { "DecayFit25_correct_input", (PyCFunction)(void(*)(void))_wrap_DecayFit25_correct_input, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFit25_correct_input(x, xm, corrections, return_r)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"xm: double *\n"
		"corrections: LVDoubleArray *\n"
		"return_r: int\n"
		"\n"
		"\n"
		"DecayFit25::correct_input\n"
		"adjust parameters for fit25 and compute anisotropy  \n"
		"\n"
		"Makes sure that (0 < gamma < 0.999) and (0<rho).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x` :  \n"
		"* `xm` :  \n"
		"* `corrections` :  \n"
		"* `return_r` :  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "DecayFit25_targetf", _wrap_DecayFit25_targetf, METH_VARARGS, "\n"
		"DecayFit25_targetf(x, pv) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"pv: void *\n"
		"\n"
		"DecayFit25_targetf(x, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit25::targetf\n"
		"Function used to compute the target value in fit 25  \n"
		"\n"
		"This is misleadingly named target25. Fit25 selects out of a set of 4 lifetimes\n"
		"the lifetime that describes best the data.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x` :  \n"
		"* `pv` :  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "DecayFit25_fit", _wrap_DecayFit25_fit, METH_VARARGS, "\n"
		"DecayFit25_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"DecayFit25_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit25::fit\n"
		"Selects the lifetime out of a set of 4 fixed lifetimes that best describes the\n"
		"data.  \n"
		"\n"
		"This function selects out of a set of 4 lifetimes tau the lifetime that fits\n"
		"best the data and returns the lifetime through the parameter x[0].  \n"
		"\n"
		"If softBIFL flag is set to (x[6] < 0) and fixed[4] is zero gamma is optimized\n"
		"for each lifetime tau and the best gamma is returned by x[4]. The gamma is\n"
		"fitted with fit23.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x` :  \n"
		"    array containing the parameters [0] tau1 output for best tau (always fixed),\n"
		"    [1] tau2 (always fixed), [2] tau3 (always fixed), [3] tau4 (always fixed),\n"
		"    [4] gamma (input, output), [5] fundamental anisotropy r0, [6] BIFL scatter\n"
		"    fit? (flag), [7] r Scatter (output only), [8] r Experimental (output only)  \n"
		"* `fixed` :  \n"
		"    array that is of least of length 5. Only the element fixed[4] is used. If\n"
		"    fixed[4] is zero gamma is optimized for each lifetime.  \n"
		"* `p` :  \n"
		"    an instance of MParam that contains all relevant information, i.e.,\n"
		"    experimental data, the instrument response function, the needed corrections\n"
		"    for the anisotropy (g-factor, l1, l2)  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "new_DecayFit25", _wrap_new_DecayFit25, METH_NOARGS, "\n"
		"new_DecayFit25() -> DecayFit25\n"
		"\n"
		"\n"
		"C++ includes: DecayFit25.h\n"
		"\n"
		""},
	 { "delete_DecayFit25", _wrap_delete_DecayFit25, METH_O, "delete_DecayFit25(self)"},
	 { "DecayFit25_swigregister", DecayFit25_swigregister, METH_O, NULL},
	 { "DecayFit25_swiginit", DecayFit25_swiginit, METH_VARARGS, NULL},
	 { "DecayFit26_correct_input", (PyCFunction)(void(*)(void))_wrap_DecayFit26_correct_input, METH_VARARGS|METH_KEYWORDS, "\n"
		"DecayFit26_correct_input(x, xm)\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"xm: double *\n"
		"\n"
		"\n"
		"DecayFit26::correct_input\n"
		"Correct input for fit 26  \n"
		"\n"
		"Constrains the fraction x1 of the first pattern to (0 < x1 < 1).  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x[in]` :  \n"
		"    x[0] fraction of first pattern  \n"
		"* `xm[out]` :  \n"
		"    xm[0] corrected fraction of first pattern  \n"
		"\n"
		""},
	 { "DecayFit26_targetf", _wrap_DecayFit26_targetf, METH_VARARGS, "\n"
		"DecayFit26_targetf(x, pv) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"pv: void *\n"
		"\n"
		"DecayFit26_targetf(x, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit26::targetf\n"
		""},
	 { "DecayFit26_fit", _wrap_DecayFit26_fit, METH_VARARGS, "\n"
		"DecayFit26_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"DecayFit26_fit(x, fixed, p) -> double\n"
		"\n"
		"Parameters\n"
		"----------\n"
		"x: double *\n"
		"fixed: short *\n"
		"p: MParam *\n"
		"\n"
		"\n"
		"DecayFit26::fit\n"
		"Pattern-fit  \n"
		"\n"
		"Fits the fraction of a mixture of two patterns  \n"
		"\n"
		"The two patterns are set by the attributes irf and bg of the MParam structure.  \n"
		"\n"
		"Parameters\n"
		"----------\n"
		"* `x` :  \n"
		"    [0] fraction of pattern 1  \n"
		"* `fixed` :  \n"
		"    not used  \n"
		"* `p` :  \n"
		"    an instance of MParam that contains the patterns. The fist pattern is\n"
		"    contained in the instrument response function array, the second in the\n"
		"    background, array, the experimental data is in the array expdata.  \n"
		"\n"
		"Returns\n"
		"-------  \n"
		"\n"
		""},
	 { "new_DecayFit26", _wrap_new_DecayFit26, METH_NOARGS, "\n"
		"new_DecayFit26() -> DecayFit26\n"
		"\n"
		"\n"
		"C++ includes: DecayFit26.h\n"
		"\n"
		""},
	 { "delete_DecayFit26", _wrap_delete_DecayFit26, METH_O, "delete_DecayFit26(self)"},
	 { "DecayFit26_swigregister", DecayFit26_swigregister, METH_O, NULL},
	 { "DecayFit26_swiginit", DecayFit26_swiginit, METH_VARARGS, NULL},
	 { NULL, NULL, 0, NULL }
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static void *_p_DecayFit24To_p_DecayFit(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((DecayFit *)  ((DecayFit24 *) x));
}
static void *_p_DecayFit25To_p_DecayFit(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((DecayFit *)  ((DecayFit25 *) x));
}
static void *_p_DecayFit26To_p_DecayFit(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((DecayFit *)  ((DecayFit26 *) x));
}
static void *_p_CLSMFrameTo_p_TTTRRange(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((TTTRRange *) (TTTRSelection *) ((CLSMFrame *) x));
}
static void *_p_CLSMLineTo_p_TTTRRange(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((TTTRRange *) (TTTRSelection *) ((CLSMLine *) x));
}
static void *_p_CLSMPixelTo_p_TTTRRange(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((TTTRRange *)  ((CLSMPixel *) x));
}
static void *_p_TTTRSelectionTo_p_TTTRRange(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((TTTRRange *)  ((TTTRSelection *) x));
}
static void *_p_CLSMFrameTo_p_TTTRSelection(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((TTTRSelection *)  ((CLSMFrame *) x));
}
static void *_p_CLSMLineTo_p_TTTRSelection(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((TTTRSelection *)  ((CLSMLine *) x));
}
static swig_type_info _swigt__p_CLSMFrame = {"_p_CLSMFrame", "std::vector< CLSMFrame * >::value_type|CLSMFrame *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CLSMImage = {"_p_CLSMImage", "CLSMImage *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CLSMLine = {"_p_CLSMLine", "std::vector< CLSMLine * >::value_type|CLSMLine *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CLSMPixel = {"_p_CLSMPixel", "std::vector< CLSMPixel * >::value_type|CLSMPixel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CLSMSettings = {"_p_CLSMSettings", "CLSMSettings *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CorrelationCurveSettings = {"_p_CorrelationCurveSettings", "CorrelationCurveSettings *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Correlator = {"_p_Correlator", "Correlator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CorrelatorCurve = {"_p_CorrelatorCurve", "CorrelatorCurve *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CorrelatorPhotonStream = {"_p_CorrelatorPhotonStream", "CorrelatorPhotonStream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayFit = {"_p_DecayFit", "DecayFit *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayFit23 = {"_p_DecayFit23", "DecayFit23 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayFit24 = {"_p_DecayFit24", "DecayFit24 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayFit25 = {"_p_DecayFit25", "DecayFit25 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayFit26 = {"_p_DecayFit26", "DecayFit26 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayFitCorrections = {"_p_DecayFitCorrections", "DecayFitCorrections *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayFitIntegrateSignals = {"_p_DecayFitIntegrateSignals", "DecayFitIntegrateSignals *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayFitSettings = {"_p_DecayFitSettings", "DecayFitSettings *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_DecayPhasor = {"_p_DecayPhasor", "DecayPhasor *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_HistogramAxisT_double_t = {"_p_HistogramAxisT_double_t", "HistogramAxis< double > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_HistogramT_double_t = {"_p_HistogramT_double_t", "Histogram< double > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_LVDoubleArray = {"_p_LVDoubleArray", "LVDoubleArray *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_LVI32Array = {"_p_LVI32Array", "LVI32Array *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_MParam = {"_p_MParam", "MParam *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Pda = {"_p_Pda", "Pda *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_PdaCallback = {"_p_PdaCallback", "PdaCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_ReadingRoutine = {"_p_ReadingRoutine", "ReadingRoutine *|enum ReadingRoutine *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_TTTR = {"_p_TTTR", "TTTR *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_TTTRHeader = {"_p_TTTRHeader", "TTTRHeader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_TTTRMask = {"_p_TTTRMask", "TTTRMask *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_TTTRRange = {"_p_TTTRRange", "TTTRRange *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_TTTRSelection = {"_p_TTTRSelection", "TTTRSelection *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_allocator_type = {"_p_allocator_type", "allocator_type *", 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_const_reference = {"_p_const_reference", "const_reference *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_first_type = {"_p_first_type", "first_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_key_type = {"_p_key_type", "key_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mapped_type = {"_p_mapped_type", "mapped_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_nlohmann__json = {"_p_nlohmann__json", "nlohmann::json *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_LVDoubleArray = {"_p_p_LVDoubleArray", "LVDoubleArray **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_LVI32Array = {"_p_p_LVI32Array", "LVI32Array **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_double = {"_p_p_double", "double **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_float = {"_p_p_float", "float **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_int = {"_p_p_int", "int **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_signed_char = {"_p_p_signed_char", "signed char **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_unsigned_char = {"_p_p_unsigned_char", "unsigned char **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_unsigned_int = {"_p_p_unsigned_int", "unsigned int **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_unsigned_long_long = {"_p_p_unsigned_long_long", "unsigned long long **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_unsigned_short = {"_p_p_unsigned_short", "unsigned short **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_second_type = {"_p_second_type", "second_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_short = {"_p_short", "short *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__FILE = {"_p_std__FILE", "std::FILE *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_CLSMFrame_p_t = {"_p_std__allocatorT_CLSMFrame_p_t", "std::vector< CLSMFrame * >::allocator_type *|std::allocator< CLSMFrame * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_CLSMLine_p_t = {"_p_std__allocatorT_CLSMLine_p_t", "std::vector< CLSMLine * >::allocator_type *|std::allocator< CLSMLine * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_CLSMPixel_p_t = {"_p_std__allocatorT_CLSMPixel_p_t", "std::vector< CLSMPixel * >::allocator_type *|std::allocator< CLSMPixel * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_bool_t = {"_p_std__allocatorT_bool_t", "std::vector< bool >::allocator_type *|std::allocator< bool > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_double_t = {"_p_std__allocatorT_double_t", "std::vector< double >::allocator_type *|std::allocator< double > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_int_t = {"_p_std__allocatorT_int_t", "std::vector< int >::allocator_type *|std::allocator< int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_long_long_t = {"_p_std__allocatorT_long_long_t", "std::vector< long long >::allocator_type *|std::allocator< long long > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_short_t = {"_p_std__allocatorT_short_t", "std::vector< short >::allocator_type *|std::allocator< short > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_std__pairT_int_int_t_t = {"_p_std__allocatorT_std__pairT_int_int_t_t", "std::vector< std::pair< int,int > >::allocator_type *|std::allocator< std::pair< int,int > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_std__pairT_short_const_std__vectorT_double_t_t_t = {"_p_std__allocatorT_std__pairT_short_const_std__vectorT_double_t_t_t", "std::map< short,std::vector< double > >::allocator_type *|std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_std__string_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_std__string_t_t", "std::map< std::string,std::string >::allocator_type *|std::allocator< std::pair< std::string const,std::string > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_std__string_t = {"_p_std__allocatorT_std__string_t", "std::vector< std::string >::allocator_type *|std::allocator< std::string > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_std__vectorT_double_t_t = {"_p_std__allocatorT_std__vectorT_double_t_t", "std::vector< std::vector< double > >::allocator_type *|std::allocator< std::vector< double,std::allocator< double > > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t_t = {"_p_std__allocatorT_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t_t", "std::vector< std::vector< std::vector< unsigned int > > >::allocator_type *|std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_unsigned_int_t = {"_p_std__allocatorT_unsigned_int_t", "std::vector< unsigned int >::allocator_type *|std::allocator< unsigned int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::vector< unsigned long long >::allocator_type *|std::allocator< unsigned long long > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_unsigned_long_t = {"_p_std__allocatorT_unsigned_long_t", "std::vector< unsigned long >::allocator_type *|std::allocator< unsigned long > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__any = {"_p_std__any", "std::any *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__invalid_argument = {"_p_std__invalid_argument", "std::invalid_argument *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__lessT_int_t = {"_p_std__lessT_int_t", "std::less< int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__lessT_short_t = {"_p_std__lessT_short_t", "std::less< short > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__lessT_std__string_t = {"_p_std__lessT_std__string_t", "std::less< std::string > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__mapT_short_std__vectorT_double_t_t = {"_p_std__mapT_short_std__vectorT_double_t_t", "std::map< short,std::vector< double,std::allocator< double > > > *|std::map< short,std::vector< double,std::allocator< double > >,std::less< short >,std::allocator< std::pair< short const,std::vector< double,std::allocator< double > > > > > *|std::map< short,std::vector< double > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__mapT_std__string_std__string_t = {"_p_std__mapT_std__string_std__string_t", "std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > > *|std::map< std::string,std::string > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__pairT_int_int_t = {"_p_std__pairT_int_int_t", "std::vector< std::pair< int,int > >::value_type *|std::pair< int,int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t = {"_p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t", "std::pair< std::shared_ptr< TTTR >,std::shared_ptr< TTTR > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t = {"_p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t", "std::pair< std::vector< double,std::allocator< double > >,std::vector< double,std::allocator< double > > > *|std::pair< std::vector< double >,std::vector< double > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t = {"_p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t", "std::pair< std::vector< unsigned long long,std::allocator< unsigned long long > >,std::vector< unsigned long long,std::allocator< unsigned long long > > > *|std::pair< std::vector< unsigned long long >,std::vector< unsigned long long > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__setT_int_t = {"_p_std__setT_int_t", "std::set< int,std::less< int >,std::allocator< int > > *|std::set< int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__shared_ptrT_CLSMImage_t = {"_p_std__shared_ptrT_CLSMImage_t", "std::shared_ptr< CLSMImage > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__shared_ptrT_TTTR_t = {"_p_std__shared_ptrT_TTTR_t", "std::shared_ptr< TTTR > *", 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_CLSMFrame_p_t = {"_p_std__vectorT_CLSMFrame_p_t", "std::vector< CLSMFrame *,std::allocator< CLSMFrame * > > *|std::vector< CLSMFrame * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_CLSMLine_p_t = {"_p_std__vectorT_CLSMLine_p_t", "std::vector< CLSMLine *,std::allocator< CLSMLine * > > *|std::vector< CLSMLine * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_CLSMPixel_p_t = {"_p_std__vectorT_CLSMPixel_p_t", "std::vector< CLSMPixel *,std::allocator< CLSMPixel * > > *|std::vector< CLSMPixel * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_CLSMPixel_std__allocatorT_CLSMPixel_t_t = {"_p_std__vectorT_CLSMPixel_std__allocatorT_CLSMPixel_t_t", "std::vector< CLSMPixel,std::allocator< CLSMPixel > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_bool_t = {"_p_std__vectorT_bool_t", "std::vector< bool,std::allocator< bool > > *|std::vector< bool > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_double_t = {"_p_std__vectorT_double_t", "std::vector< double,std::allocator< double > > *|std::vector< double > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_int_t = {"_p_std__vectorT_int_t", "std::vector< int,std::allocator< int > > *|std::vector< int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_long_long_t = {"_p_std__vectorT_long_long_t", "std::vector< long long,std::allocator< long long > > *|std::vector< long long > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_short_t = {"_p_std__vectorT_short_t", "std::vector< short,std::allocator< short > > *|std::vector< short > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t = {"_p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t", "std::vector< signed char,std::allocator< signed char > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__pairT_int_int_t_t = {"_p_std__vectorT_std__pairT_int_int_t_t", "std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *|std::vector< std::pair< int,int > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__string_t = {"_p_std__vectorT_std__string_t", "std::vector< std::string,std::allocator< std::string > > *|std::vector< std::string > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__vectorT_double_t_t = {"_p_std__vectorT_std__vectorT_double_t_t", "std::vector< std::vector< double,std::allocator< double > > > *|std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *|std::vector< std::vector< double > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t = {"_p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t", "std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > *|std::vector< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >,std::allocator< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > > *|std::vector< std::vector< std::vector< unsigned int > > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t", "std::vector< std::vector< std::vector< unsigned int > > >::value_type *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_unsigned_int_t = {"_p_std__vectorT_unsigned_int_t", "std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_t = {"_p_std__vectorT_unsigned_long_long_t", "std::vector< unsigned long long,std::allocator< unsigned long long > > *|std::vector< unsigned long long > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_unsigned_long_t = {"_p_std__vectorT_unsigned_long_t", "std::vector< unsigned long,std::allocator< unsigned long > > *|std::vector< unsigned long > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_uint64_t = {"_p_uint64_t", "uint64_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "unsigned long long *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wchar_t = {"_p_wchar_t", "wchar_t *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_CLSMFrame,
  &_swigt__p_CLSMImage,
  &_swigt__p_CLSMLine,
  &_swigt__p_CLSMPixel,
  &_swigt__p_CLSMSettings,
  &_swigt__p_CorrelationCurveSettings,
  &_swigt__p_Correlator,
  &_swigt__p_CorrelatorCurve,
  &_swigt__p_CorrelatorPhotonStream,
  &_swigt__p_DecayFit,
  &_swigt__p_DecayFit23,
  &_swigt__p_DecayFit24,
  &_swigt__p_DecayFit25,
  &_swigt__p_DecayFit26,
  &_swigt__p_DecayFitCorrections,
  &_swigt__p_DecayFitIntegrateSignals,
  &_swigt__p_DecayFitSettings,
  &_swigt__p_DecayPhasor,
  &_swigt__p_FILE,
  &_swigt__p_HistogramAxisT_double_t,
  &_swigt__p_HistogramT_double_t,
  &_swigt__p_LVDoubleArray,
  &_swigt__p_LVI32Array,
  &_swigt__p_MParam,
  &_swigt__p_Pda,
  &_swigt__p_PdaCallback,
  &_swigt__p_ReadingRoutine,
  &_swigt__p_TTTR,
  &_swigt__p_TTTRHeader,
  &_swigt__p_TTTRMask,
  &_swigt__p_TTTRRange,
  &_swigt__p_TTTRSelection,
  &_swigt__p_allocator_type,
  &_swigt__p_char,
  &_swigt__p_const_reference,
  &_swigt__p_difference_type,
  &_swigt__p_double,
  &_swigt__p_first_type,
  &_swigt__p_int,
  &_swigt__p_key_type,
  &_swigt__p_mapped_type,
  &_swigt__p_nlohmann__json,
  &_swigt__p_p_LVDoubleArray,
  &_swigt__p_p_LVI32Array,
  &_swigt__p_p_PyObject,
  &_swigt__p_p_double,
  &_swigt__p_p_float,
  &_swigt__p_p_int,
  &_swigt__p_p_signed_char,
  &_swigt__p_p_unsigned_char,
  &_swigt__p_p_unsigned_int,
  &_swigt__p_p_unsigned_long_long,
  &_swigt__p_p_unsigned_short,
  &_swigt__p_second_type,
  &_swigt__p_short,
  &_swigt__p_size_type,
  &_swigt__p_std__FILE,
  &_swigt__p_std__allocatorT_CLSMFrame_p_t,
  &_swigt__p_std__allocatorT_CLSMLine_p_t,
  &_swigt__p_std__allocatorT_CLSMPixel_p_t,
  &_swigt__p_std__allocatorT_bool_t,
  &_swigt__p_std__allocatorT_double_t,
  &_swigt__p_std__allocatorT_int_t,
  &_swigt__p_std__allocatorT_long_long_t,
  &_swigt__p_std__allocatorT_short_t,
  &_swigt__p_std__allocatorT_std__pairT_int_int_t_t,
  &_swigt__p_std__allocatorT_std__pairT_short_const_std__vectorT_double_t_t_t,
  &_swigt__p_std__allocatorT_std__pairT_std__string_const_std__string_t_t,
  &_swigt__p_std__allocatorT_std__string_t,
  &_swigt__p_std__allocatorT_std__vectorT_double_t_t,
  &_swigt__p_std__allocatorT_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t_t,
  &_swigt__p_std__allocatorT_unsigned_int_t,
  &_swigt__p_std__allocatorT_unsigned_long_long_t,
  &_swigt__p_std__allocatorT_unsigned_long_t,
  &_swigt__p_std__any,
  &_swigt__p_std__invalid_argument,
  &_swigt__p_std__lessT_int_t,
  &_swigt__p_std__lessT_short_t,
  &_swigt__p_std__lessT_std__string_t,
  &_swigt__p_std__mapT_short_std__vectorT_double_t_t,
  &_swigt__p_std__mapT_std__string_std__string_t,
  &_swigt__p_std__pairT_int_int_t,
  &_swigt__p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t,
  &_swigt__p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t,
  &_swigt__p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t,
  &_swigt__p_std__setT_int_t,
  &_swigt__p_std__shared_ptrT_CLSMImage_t,
  &_swigt__p_std__shared_ptrT_TTTR_t,
  &_swigt__p_std__string,
  &_swigt__p_std__vectorT_CLSMFrame_p_t,
  &_swigt__p_std__vectorT_CLSMLine_p_t,
  &_swigt__p_std__vectorT_CLSMPixel_p_t,
  &_swigt__p_std__vectorT_CLSMPixel_std__allocatorT_CLSMPixel_t_t,
  &_swigt__p_std__vectorT_bool_t,
  &_swigt__p_std__vectorT_double_t,
  &_swigt__p_std__vectorT_int_t,
  &_swigt__p_std__vectorT_long_long_t,
  &_swigt__p_std__vectorT_short_t,
  &_swigt__p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t,
  &_swigt__p_std__vectorT_std__pairT_int_int_t_t,
  &_swigt__p_std__vectorT_std__string_t,
  &_swigt__p_std__vectorT_std__vectorT_double_t_t,
  &_swigt__p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t,
  &_swigt__p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,
  &_swigt__p_std__vectorT_unsigned_int_t,
  &_swigt__p_std__vectorT_unsigned_long_long_t,
  &_swigt__p_std__vectorT_unsigned_long_t,
  &_swigt__p_swig__SwigPyIterator,
  &_swigt__p_uint64_t,
  &_swigt__p_unsigned_long_long,
  &_swigt__p_unsigned_short,
  &_swigt__p_value_type,
  &_swigt__p_wchar_t,
};

static swig_cast_info _swigc__p_CLSMFrame[] = {  {&_swigt__p_CLSMFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CLSMImage[] = {  {&_swigt__p_CLSMImage, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CLSMLine[] = {  {&_swigt__p_CLSMLine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CLSMPixel[] = {  {&_swigt__p_CLSMPixel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CLSMSettings[] = {  {&_swigt__p_CLSMSettings, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CorrelationCurveSettings[] = {  {&_swigt__p_CorrelationCurveSettings, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Correlator[] = {  {&_swigt__p_Correlator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CorrelatorCurve[] = {  {&_swigt__p_CorrelatorCurve, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CorrelatorPhotonStream[] = {  {&_swigt__p_CorrelatorPhotonStream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayFit[] = {  {&_swigt__p_DecayFit, 0, 0, 0},  {&_swigt__p_DecayFit24, _p_DecayFit24To_p_DecayFit, 0, 0},  {&_swigt__p_DecayFit25, _p_DecayFit25To_p_DecayFit, 0, 0},  {&_swigt__p_DecayFit26, _p_DecayFit26To_p_DecayFit, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayFit23[] = {  {&_swigt__p_DecayFit23, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayFit24[] = {  {&_swigt__p_DecayFit24, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayFit25[] = {  {&_swigt__p_DecayFit25, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayFit26[] = {  {&_swigt__p_DecayFit26, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayFitCorrections[] = {  {&_swigt__p_DecayFitCorrections, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayFitIntegrateSignals[] = {  {&_swigt__p_DecayFitIntegrateSignals, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayFitSettings[] = {  {&_swigt__p_DecayFitSettings, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_DecayPhasor[] = {  {&_swigt__p_DecayPhasor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_HistogramAxisT_double_t[] = {  {&_swigt__p_HistogramAxisT_double_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_HistogramT_double_t[] = {  {&_swigt__p_HistogramT_double_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_LVDoubleArray[] = {  {&_swigt__p_LVDoubleArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_LVI32Array[] = {  {&_swigt__p_LVI32Array, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_MParam[] = {  {&_swigt__p_MParam, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Pda[] = {  {&_swigt__p_Pda, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_PdaCallback[] = {  {&_swigt__p_PdaCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_ReadingRoutine[] = {  {&_swigt__p_ReadingRoutine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_TTTR[] = {  {&_swigt__p_TTTR, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_TTTRHeader[] = {  {&_swigt__p_TTTRHeader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_TTTRMask[] = {  {&_swigt__p_TTTRMask, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_TTTRRange[] = {  {&_swigt__p_TTTRRange, 0, 0, 0},  {&_swigt__p_CLSMFrame, _p_CLSMFrameTo_p_TTTRRange, 0, 0},  {&_swigt__p_CLSMLine, _p_CLSMLineTo_p_TTTRRange, 0, 0},  {&_swigt__p_CLSMPixel, _p_CLSMPixelTo_p_TTTRRange, 0, 0},  {&_swigt__p_TTTRSelection, _p_TTTRSelectionTo_p_TTTRRange, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_TTTRSelection[] = {  {&_swigt__p_TTTRSelection, 0, 0, 0},  {&_swigt__p_CLSMFrame, _p_CLSMFrameTo_p_TTTRSelection, 0, 0},  {&_swigt__p_CLSMLine, _p_CLSMLineTo_p_TTTRSelection, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_allocator_type[] = {  {&_swigt__p_allocator_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_const_reference[] = {  {&_swigt__p_const_reference, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_difference_type[] = {  {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_first_type[] = {  {&_swigt__p_first_type, 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_key_type[] = {  {&_swigt__p_key_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mapped_type[] = {  {&_swigt__p_mapped_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_nlohmann__json[] = {  {&_swigt__p_nlohmann__json, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_LVDoubleArray[] = {  {&_swigt__p_p_LVDoubleArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_LVI32Array[] = {  {&_swigt__p_p_LVI32Array, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_PyObject[] = {  {&_swigt__p_p_PyObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_double[] = {  {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_float[] = {  {&_swigt__p_p_float, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_int[] = {  {&_swigt__p_p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_signed_char[] = {  {&_swigt__p_p_signed_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_unsigned_char[] = {  {&_swigt__p_p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_unsigned_int[] = {  {&_swigt__p_p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_unsigned_long_long[] = {  {&_swigt__p_p_unsigned_long_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_unsigned_short[] = {  {&_swigt__p_p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_second_type[] = {  {&_swigt__p_second_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_size_type[] = {  {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__FILE[] = {  {&_swigt__p_std__FILE, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_CLSMFrame_p_t[] = {  {&_swigt__p_std__allocatorT_CLSMFrame_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_CLSMLine_p_t[] = {  {&_swigt__p_std__allocatorT_CLSMLine_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_CLSMPixel_p_t[] = {  {&_swigt__p_std__allocatorT_CLSMPixel_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_bool_t[] = {  {&_swigt__p_std__allocatorT_bool_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_double_t[] = {  {&_swigt__p_std__allocatorT_double_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_int_t[] = {  {&_swigt__p_std__allocatorT_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_long_long_t[] = {  {&_swigt__p_std__allocatorT_long_long_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_short_t[] = {  {&_swigt__p_std__allocatorT_short_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_std__pairT_int_int_t_t[] = {  {&_swigt__p_std__allocatorT_std__pairT_int_int_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_std__pairT_short_const_std__vectorT_double_t_t_t[] = {  {&_swigt__p_std__allocatorT_std__pairT_short_const_std__vectorT_double_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_std__string_t_t[] = {  {&_swigt__p_std__allocatorT_std__pairT_std__string_const_std__string_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_std__string_t[] = {  {&_swigt__p_std__allocatorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_std__vectorT_double_t_t[] = {  {&_swigt__p_std__allocatorT_std__vectorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t_t[] = {  {&_swigt__p_std__allocatorT_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_unsigned_int_t[] = {  {&_swigt__p_std__allocatorT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_unsigned_long_long_t[] = {  {&_swigt__p_std__allocatorT_unsigned_long_long_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_unsigned_long_t[] = {  {&_swigt__p_std__allocatorT_unsigned_long_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__any[] = {  {&_swigt__p_std__any, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__invalid_argument[] = {  {&_swigt__p_std__invalid_argument, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__lessT_int_t[] = {  {&_swigt__p_std__lessT_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__lessT_short_t[] = {  {&_swigt__p_std__lessT_short_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__lessT_std__string_t[] = {  {&_swigt__p_std__lessT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__mapT_short_std__vectorT_double_t_t[] = {  {&_swigt__p_std__mapT_short_std__vectorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__mapT_std__string_std__string_t[] = {  {&_swigt__p_std__mapT_std__string_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__pairT_int_int_t[] = {  {&_swigt__p_std__pairT_int_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t[] = {  {&_swigt__p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t[] = {  {&_swigt__p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t[] = {  {&_swigt__p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__setT_int_t[] = {  {&_swigt__p_std__setT_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__shared_ptrT_CLSMImage_t[] = {  {&_swigt__p_std__shared_ptrT_CLSMImage_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__shared_ptrT_TTTR_t[] = {  {&_swigt__p_std__shared_ptrT_TTTR_t, 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_CLSMFrame_p_t[] = {  {&_swigt__p_std__vectorT_CLSMFrame_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_CLSMLine_p_t[] = {  {&_swigt__p_std__vectorT_CLSMLine_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_CLSMPixel_p_t[] = {  {&_swigt__p_std__vectorT_CLSMPixel_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_CLSMPixel_std__allocatorT_CLSMPixel_t_t[] = {  {&_swigt__p_std__vectorT_CLSMPixel_std__allocatorT_CLSMPixel_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_bool_t[] = {  {&_swigt__p_std__vectorT_bool_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_double_t[] = {  {&_swigt__p_std__vectorT_double_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_int_t[] = {  {&_swigt__p_std__vectorT_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_long_long_t[] = {  {&_swigt__p_std__vectorT_long_long_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_short_t[] = {  {&_swigt__p_std__vectorT_short_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t[] = {  {&_swigt__p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__pairT_int_int_t_t[] = {  {&_swigt__p_std__vectorT_std__pairT_int_int_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__string_t[] = {  {&_swigt__p_std__vectorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__vectorT_double_t_t[] = {  {&_swigt__p_std__vectorT_std__vectorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t[] = {  {&_swigt__p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t[] = {  {&_swigt__p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_unsigned_int_t[] = {  {&_swigt__p_std__vectorT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_unsigned_long_long_t[] = {  {&_swigt__p_std__vectorT_unsigned_long_long_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_unsigned_long_t[] = {  {&_swigt__p_std__vectorT_unsigned_long_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_swig__SwigPyIterator[] = {  {&_swigt__p_swig__SwigPyIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_uint64_t[] = {  {&_swigt__p_uint64_t, 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 _swigc__p_value_type[] = {  {&_swigt__p_value_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wchar_t[] = {  {&_swigt__p_wchar_t, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_CLSMFrame,
  _swigc__p_CLSMImage,
  _swigc__p_CLSMLine,
  _swigc__p_CLSMPixel,
  _swigc__p_CLSMSettings,
  _swigc__p_CorrelationCurveSettings,
  _swigc__p_Correlator,
  _swigc__p_CorrelatorCurve,
  _swigc__p_CorrelatorPhotonStream,
  _swigc__p_DecayFit,
  _swigc__p_DecayFit23,
  _swigc__p_DecayFit24,
  _swigc__p_DecayFit25,
  _swigc__p_DecayFit26,
  _swigc__p_DecayFitCorrections,
  _swigc__p_DecayFitIntegrateSignals,
  _swigc__p_DecayFitSettings,
  _swigc__p_DecayPhasor,
  _swigc__p_FILE,
  _swigc__p_HistogramAxisT_double_t,
  _swigc__p_HistogramT_double_t,
  _swigc__p_LVDoubleArray,
  _swigc__p_LVI32Array,
  _swigc__p_MParam,
  _swigc__p_Pda,
  _swigc__p_PdaCallback,
  _swigc__p_ReadingRoutine,
  _swigc__p_TTTR,
  _swigc__p_TTTRHeader,
  _swigc__p_TTTRMask,
  _swigc__p_TTTRRange,
  _swigc__p_TTTRSelection,
  _swigc__p_allocator_type,
  _swigc__p_char,
  _swigc__p_const_reference,
  _swigc__p_difference_type,
  _swigc__p_double,
  _swigc__p_first_type,
  _swigc__p_int,
  _swigc__p_key_type,
  _swigc__p_mapped_type,
  _swigc__p_nlohmann__json,
  _swigc__p_p_LVDoubleArray,
  _swigc__p_p_LVI32Array,
  _swigc__p_p_PyObject,
  _swigc__p_p_double,
  _swigc__p_p_float,
  _swigc__p_p_int,
  _swigc__p_p_signed_char,
  _swigc__p_p_unsigned_char,
  _swigc__p_p_unsigned_int,
  _swigc__p_p_unsigned_long_long,
  _swigc__p_p_unsigned_short,
  _swigc__p_second_type,
  _swigc__p_short,
  _swigc__p_size_type,
  _swigc__p_std__FILE,
  _swigc__p_std__allocatorT_CLSMFrame_p_t,
  _swigc__p_std__allocatorT_CLSMLine_p_t,
  _swigc__p_std__allocatorT_CLSMPixel_p_t,
  _swigc__p_std__allocatorT_bool_t,
  _swigc__p_std__allocatorT_double_t,
  _swigc__p_std__allocatorT_int_t,
  _swigc__p_std__allocatorT_long_long_t,
  _swigc__p_std__allocatorT_short_t,
  _swigc__p_std__allocatorT_std__pairT_int_int_t_t,
  _swigc__p_std__allocatorT_std__pairT_short_const_std__vectorT_double_t_t_t,
  _swigc__p_std__allocatorT_std__pairT_std__string_const_std__string_t_t,
  _swigc__p_std__allocatorT_std__string_t,
  _swigc__p_std__allocatorT_std__vectorT_double_t_t,
  _swigc__p_std__allocatorT_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t_t,
  _swigc__p_std__allocatorT_unsigned_int_t,
  _swigc__p_std__allocatorT_unsigned_long_long_t,
  _swigc__p_std__allocatorT_unsigned_long_t,
  _swigc__p_std__any,
  _swigc__p_std__invalid_argument,
  _swigc__p_std__lessT_int_t,
  _swigc__p_std__lessT_short_t,
  _swigc__p_std__lessT_std__string_t,
  _swigc__p_std__mapT_short_std__vectorT_double_t_t,
  _swigc__p_std__mapT_std__string_std__string_t,
  _swigc__p_std__pairT_int_int_t,
  _swigc__p_std__pairT_std__shared_ptrT_TTTR_t_std__shared_ptrT_TTTR_t_t,
  _swigc__p_std__pairT_std__vectorT_double_t_std__vectorT_double_t_t,
  _swigc__p_std__pairT_std__vectorT_unsigned_long_long_t_std__vectorT_unsigned_long_long_t_t,
  _swigc__p_std__setT_int_t,
  _swigc__p_std__shared_ptrT_CLSMImage_t,
  _swigc__p_std__shared_ptrT_TTTR_t,
  _swigc__p_std__string,
  _swigc__p_std__vectorT_CLSMFrame_p_t,
  _swigc__p_std__vectorT_CLSMLine_p_t,
  _swigc__p_std__vectorT_CLSMPixel_p_t,
  _swigc__p_std__vectorT_CLSMPixel_std__allocatorT_CLSMPixel_t_t,
  _swigc__p_std__vectorT_bool_t,
  _swigc__p_std__vectorT_double_t,
  _swigc__p_std__vectorT_int_t,
  _swigc__p_std__vectorT_long_long_t,
  _swigc__p_std__vectorT_short_t,
  _swigc__p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t,
  _swigc__p_std__vectorT_std__pairT_int_int_t_t,
  _swigc__p_std__vectorT_std__string_t,
  _swigc__p_std__vectorT_std__vectorT_double_t_t,
  _swigc__p_std__vectorT_std__vectorT_std__vectorT_unsigned_int_t_t_t,
  _swigc__p_std__vectorT_std__vectorT_unsigned_int_t_std__allocatorT_std__vectorT_unsigned_int_t_t_t,
  _swigc__p_std__vectorT_unsigned_int_t,
  _swigc__p_std__vectorT_unsigned_long_long_t,
  _swigc__p_std__vectorT_unsigned_long_t,
  _swigc__p_swig__SwigPyIterator,
  _swigc__p_uint64_t,
  _swigc__p_unsigned_long_long,
  _swigc__p_unsigned_short,
  _swigc__p_value_type,
  _swigc__p_wchar_t,
};


/* -------- 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

#ifndef SWIG_INIT_CLIENT_DATA_TYPE
#define SWIG_INIT_CLIENT_DATA_TYPE void *
#endif

SWIGRUNTIME void
SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE 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 %lu\n", (unsigned long)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 %lu %s\n", (unsigned long)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 %lu %s\n", (unsigned long)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
  
  /* -----------------------------------------------------------------------------
   * 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);
      }
    }
  }
  
  /* -----------------------------------------------------------------------------
   * Patch %callback methods' docstrings to hold the callback ptrs
   * -----------------------------------------------------------------------------*/
  
  SWIGINTERN void
  SWIG_Python_FixMethods(PyMethodDef *methods, const 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;
        const 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;
              memcpy(buff, methods[i].ml_doc, ldoc);
              buff += ldoc;
              memcpy(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, *globals;
  
#if PY_VERSION_HEX >= 0x03000000
  static struct PyModuleDef SWIG_module = {
    PyModuleDef_HEAD_INIT,
    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 = {
    SwigPyObject_own,
    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
  
  (void)globals;
  
  /* Create singletons now to avoid potential deadlocks with multi-threaded usage after module initialization */
  SWIG_This();
  SWIG_Python_TypeCache();
  SwigPyPacked_type();
#ifndef SWIGPYTHON_BUILTIN
  SwigPyObject_type();
#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(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);
  
  SWIG_Python_SetConstant(d, "RECORD_PHOTON",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "RECORD_MARKER",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
  
  import_array();
  
  
  // thread safe initialization
  swig::container_owner_attribute();
  
  globals = SWIG_globals();
  if (!globals) {
    PyErr_SetString(PyExc_TypeError, "Failure to create SWIG globals.");
#if PY_VERSION_HEX >= 0x03000000
    return NULL;
#else
    return;
#endif
  }
  PyDict_SetItemString(md, "cvar", globals);
  SWIG_addvarlink(globals, "TTTRTagRes", Swig_var_TTTRTagRes_get, Swig_var_TTTRTagRes_set);
  SWIG_addvarlink(globals, "TTTRTagGlobRes", Swig_var_TTTRTagGlobRes_get, Swig_var_TTTRTagGlobRes_set);
  SWIG_addvarlink(globals, "TTTRSyncRate", Swig_var_TTTRSyncRate_get, Swig_var_TTTRSyncRate_set);
  SWIG_addvarlink(globals, "TTTRNMicroTimes", Swig_var_TTTRNMicroTimes_get, Swig_var_TTTRNMicroTimes_set);
  SWIG_addvarlink(globals, "TTTRRecordType", Swig_var_TTTRRecordType_get, Swig_var_TTTRRecordType_set);
  SWIG_addvarlink(globals, "TTTRContainerType", Swig_var_TTTRContainerType_get, Swig_var_TTTRContainerType_set);
  SWIG_addvarlink(globals, "TTTRTagTTTRRecType", Swig_var_TTTRTagTTTRRecType_get, Swig_var_TTTRTagTTTRRecType_set);
  SWIG_addvarlink(globals, "TTTRTagBits", Swig_var_TTTRTagBits_get, Swig_var_TTTRTagBits_set);
  SWIG_addvarlink(globals, "FileTagEnd", Swig_var_FileTagEnd_get, Swig_var_FileTagEnd_set);
  SWIG_Python_SetConstant(d, "CLSM_DEFAULT",SWIG_From_int(static_cast< int >(CLSM_DEFAULT)));
  SWIG_Python_SetConstant(d, "CLSM_SP5",SWIG_From_int(static_cast< int >(CLSM_SP5)));
  SWIG_Python_SetConstant(d, "CLSM_SP8",SWIG_From_int(static_cast< int >(CLSM_SP8)));
#if PY_VERSION_HEX >= 0x03000000
  return m;
#else
  return;
#endif
}

