/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.37
 * 
 * This file is not intended to be easily readable and contains a number of 
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG 
 * interface file instead. 
 * ----------------------------------------------------------------------------- */

#define SWIGPYTHON
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE


#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
  struct SwigMovePointer {
    T *ptr;
    SwigMovePointer(T *p) : ptr(p) { }
    ~SwigMovePointer() { delete ptr; }
    SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
  } pointer;
  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
  SwigValueWrapper() : pointer(0) { }
  SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
  operator T&() const { return *pointer.ptr; }
  T *operator&() { return pointer.ptr; }
};

template <typename T> T SwigValueInit() {
  return T();
}
#endif

/* -----------------------------------------------------------------------------
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 * ----------------------------------------------------------------------------- */

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
#  define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
#  define SWIGTEMPLATEDISAMBIGUATOR template
# else
#  define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__)) 
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__)) 
# else
#   define SWIGUNUSED 
# endif
#endif

#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif 
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  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



/* Python.h has to appear first */
#include <Python.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

/* Flags for new pointer objects */
#define SWIG_POINTER_OWN           0x1


/* 
   Flags/methods for returning states.
   
   The SWIG conversion methods, as ConvertPtr, return and integer 
   that tells if the conversion was successful or not. And if not,
   an error code can be returned (see swigerrors.swg for the codes).
   
   Use the following macros/flags to set or process the returning
   states.
   
   In old versions of SWIG, code such as the following was usually written:

     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
       // success code
     } else {
       //fail code
     }

   Now you can be more explicit:

    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
    } else {
      // fail code
    }

   which is the same really, but now you can also do

    Type *ptr;
    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
      if (SWIG_IsNewObj(res) {
        ...
	delete *ptr;
      } else {
        ...
      }
    } else {
      // fail code
    }
    
   I.e., now SWIG_ConvertPtr can return new objects and you can
   identify the case and take care of the deallocation. Of course that
   also requires SWIG_ConvertPtr to return new result values, such as

      int SWIG_ConvertPtr(obj, ptr,...) {         
        if (<obj is ok>) {			       
          if (<need new object>) {		       
            *ptr = <ptr to new allocated object>; 
            return SWIG_NEWOBJ;		       
          } else {				       
            *ptr = <ptr to old object>;	       
            return SWIG_OLDOBJ;		       
          } 				       
        } else {				       
          return SWIG_BADOBJ;		       
        }					       
      }

   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
   SWIG errors code.

   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
   allows to return the 'cast rank', for example, if you have this

       int food(double)
       int fooi(int);

   and you call
 
      food(1)   // cast rank '1'  (1 -> 1.0)
      fooi(1)   // cast rank '0'

   just use the SWIG_AddCast()/SWIG_CheckState()
*/

#define SWIG_OK                    (0) 
#define SWIG_ERROR                 (-1)
#define SWIG_IsOK(r)               (r >= 0)
#define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)  

/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT         (1 << 8)
/* The NewMask denotes the object was created (using new/malloc) */
#define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
/* The TmpMask is for in/out typemaps that use temporal objects */
#define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
/* Simple returning values */
#define SWIG_BADOBJ                (SWIG_ERROR)
#define SWIG_OLDOBJ                (SWIG_OK)
#define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
/* Check, add and del mask methods */
#define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))

/* Cast-Rank Mode */
#if defined(SWIG_CASTRANK_MODE)
#  ifndef SWIG_TypeRank
#    define SWIG_TypeRank             unsigned long
#  endif
#  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
#    define SWIG_MAXCASTRANK          (2)
#  endif
#  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
#  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIGINTERNINLINE int SWIG_AddCast(int r) { 
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
SWIGINTERNINLINE int SWIG_CheckState(int r) { 
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; 
}
#else /* no cast-rank mode */
#  define SWIG_AddCast
#  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 not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  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_TypeCompare(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}


/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (strcmp(iter->type->name, c) == 0) {
        if (iter == ty->cast)
          return iter;
        /* Move iter to the top of the linked list */
        iter->prev->next = iter->next;
        if (iter->next)
          iter->next->prev = iter->prev;
        iter->next = ty->cast;
        iter->prev = 0;
        if (ty->cast) ty->cast->prev = iter;
        ty->cast = iter;
        return iter;
      }
      iter = iter->next;
    }
  }
  return 0;
}

/* 
  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (iter->type == from) {
        if (iter == ty->cast)
          return iter;
        /* Move iter to the top of the linked list */
        iter->prev->next = iter->next;
        if (iter->next)
          iter->next->prev = iter->prev;
        iter->next = ty->cast;
        iter->prev = 0;
        if (ty->cast) ty->cast->prev = iter;
        ty->cast = iter;
        return iter;
      }
      iter = iter->next;
    }
  }
  return 0;
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}

/* 
   Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
    ty = (*ty->dcast)(ptr);
    if (ty) lastty = ty;
  }
  return lastty;
}

/*
  Return the name associated with this type
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/*
  Return the pretty name associated with this type,
  that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (!type) return NULL;
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

/* 
   Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  swig_cast_info *cast = ti->cast;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;
  
  while (cast) {
    if (!cast->converter) {
      swig_type_info *tc = cast->type;
      if (!tc->clientdata) {
	SWIG_TypeClientData(tc, clientdata);
      }
    }    
    cast = cast->next;
  }
}
SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
  SWIG_TypeClientData(ti, clientdata);
  ti->owndata = 1;
}
  
/*
  Search for a swig_type_info structure only by mangled name
  Search is a O(log #types)
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start, 
                            swig_module_info *end, 
		            const char *name) {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	register size_t i = (l + r) >> 1; 
	const char *iname = iter->types[i]->name;
	if (iname) {
	  register 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 {
      register 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";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register 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) {
  register unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    register char d = *(c++);
    register unsigned char uu;
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    else 
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (d - ('a'-10));
    else 
      return (char *) 0;
    *u = uu;
  }
  return c;
}

/* 
   Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

#ifdef __cplusplus
}
#endif

/*  Errors in SWIG */
#define  SWIG_UnknownError    	   -1 
#define  SWIG_IOError        	   -2 
#define  SWIG_RuntimeError   	   -3 
#define  SWIG_IndexError     	   -4 
#define  SWIG_TypeError      	   -5 
#define  SWIG_DivisionByZero 	   -6 
#define  SWIG_OverflowError  	   -7 
#define  SWIG_SyntaxError    	   -8 
#define  SWIG_ValueError     	   -9 
#define  SWIG_SystemError    	   -10
#define  SWIG_AttributeError 	   -11
#define  SWIG_MemoryError    	   -12 
#define  SWIG_NullReferenceError   -13



/* Compatibility marcos 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 PyString_Format(fmt, args)  PyUnicode_Format(fmt, args)

#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

SWIGINTERN char*
SWIG_Python_str_AsChar(PyObject *str)
{
#if PY_VERSION_HEX >= 0x03000000
  str = PyUnicode_AsUTF8String(str);
  return PyBytes_AsString(str);
#else
  return PyString_AsString(str);
#endif
}

SWIGINTERN PyObject*
SWIG_Python_str_FromChar(const char *c)
{
#if PY_VERSION_HEX >= 0x03000000
  return PyUnicode_FromString(c); 
#else
  return PyString_FromString(c);
#endif
}

/* Add PyOS_snprintf for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
#  define PyOS_snprintf _snprintf
# else
#  define PyOS_snprintf snprintf
# endif
#endif

/* A crude PyString_FromFormat implementation for old Pythons */
#if PY_VERSION_HEX < 0x02020000

#ifndef SWIG_PYBUFFER_SIZE
# define SWIG_PYBUFFER_SIZE 1024
#endif

static PyObject *
PyString_FromFormat(const char *fmt, ...) {
  va_list ap;
  char buf[SWIG_PYBUFFER_SIZE * 2];
  int res;
  va_start(ap, fmt);
  res = vsnprintf(buf, sizeof(buf), fmt, ap);
  va_end(ap);
  return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
}
#endif

/* Add PyObject_Del for old Pythons */
#if PY_VERSION_HEX < 0x01060000
# define PyObject_Del(op) PyMem_DEL((op))
#endif
#ifndef PyObject_DEL
# define PyObject_DEL PyObject_Del
#endif

/* A crude PyExc_StopIteration exception for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# ifndef PyExc_StopIteration
#  define PyExc_StopIteration PyExc_RuntimeError
# endif
# ifndef PyObject_GenericGetAttr
#  define PyObject_GenericGetAttr 0
# endif
#endif

/* Py_NotImplemented is defined in 2.1 and up. */
#if PY_VERSION_HEX < 0x02010000
# ifndef Py_NotImplemented
#  define Py_NotImplemented PyExc_RuntimeError
# endif
#endif

/* A crude PyString_AsStringAndSize implementation for old Pythons */
#if PY_VERSION_HEX < 0x02010000
# ifndef PyString_AsStringAndSize
#  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
# endif
#endif

/* PySequence_Size for old Pythons */
#if PY_VERSION_HEX < 0x02000000
# ifndef PySequence_Size
#  define PySequence_Size PySequence_Length
# endif
#endif

/* PyBool_FromLong for old Pythons */
#if PY_VERSION_HEX < 0x02030000
static
PyObject *PyBool_FromLong(long ok)
{
  PyObject *result = ok ? Py_True : Py_False;
  Py_INCREF(result);
  return result;
}
#endif

/* Py_ssize_t for old Pythons */
/* This code is as recommended by: */
/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
# define PY_SSIZE_T_MAX INT_MAX
# define PY_SSIZE_T_MIN INT_MIN
#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);
    PyErr_Clear();
    Py_XINCREF(type);

    PyErr_Format(type, "%s %s", SWIG_Python_str_AsChar(old_str), mesg);
    Py_DECREF(old_str);
    Py_DECREF(value);
  } else {
    PyErr_SetString(PyExc_RuntimeError, mesg);
  }
}

#if defined(SWIG_PYTHON_NO_THREADS)
#  if defined(SWIG_PYTHON_THREADS)
#    undef SWIG_PYTHON_THREADS
#  endif
#endif
#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
#  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
#    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
#      define SWIG_PYTHON_USE_GIL
#    endif
#  endif
#  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
#    ifndef SWIG_PYTHON_INITIALIZE_THREADS
#     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads() 
#    endif
#    ifdef __cplusplus /* C++ code */
       class SWIG_Python_Thread_Block {
         bool status;
         PyGILState_STATE state;
       public:
         void end() { if (status) { PyGILState_Release(state); status = false;} }
         SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
         ~SWIG_Python_Thread_Block() { end(); }
       };
       class SWIG_Python_Thread_Allow {
         bool status;
         PyThreadState *save;
       public:
         void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
         SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
         ~SWIG_Python_Thread_Allow() { end(); }
       };
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
#      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end()
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow
#      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end()
#    else /* C code */
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
#      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block)
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread()
#      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow)
#    endif
#  else /* Old thread way, not implemented, user must provide it */
#    if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
#      define SWIG_PYTHON_INITIALIZE_THREADS
#    endif
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#    endif
#    if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
#      define SWIG_PYTHON_THREAD_END_BLOCK
#    endif
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#    endif
#    if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
#      define SWIG_PYTHON_THREAD_END_ALLOW
#    endif
#  endif
#else /* No thread support */
#  define SWIG_PYTHON_INITIALIZE_THREADS
#  define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#  define SWIG_PYTHON_THREAD_END_BLOCK
#  define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#  define SWIG_PYTHON_THREAD_END_ALLOW
#endif

/* -----------------------------------------------------------------------------
 * Python API portion that goes into the runtime
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* cc-mode */
#endif
#endif

/* -----------------------------------------------------------------------------
 * Constant declarations
 * ----------------------------------------------------------------------------- */

/* Constant Types */
#define SWIG_PY_POINTER 4
#define SWIG_PY_BINARY  5

/* Constant information structure */
typedef struct swig_const_info {
  int type;
  char *name;
  long lvalue;
  double dvalue;
  void   *pvalue;
  swig_type_info **ptype;
} swig_const_info;


/* -----------------------------------------------------------------------------
 * Wrapper of PyInstanceMethod_New() used in Python 3
 * It is exported to the generated module, used for -fastproxy
 * ----------------------------------------------------------------------------- */
SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *self, PyObject *func)
{
#if PY_VERSION_HEX >= 0x03000000
  return PyInstanceMethod_New(func);
#else
  return NULL;
#endif
}

#ifdef __cplusplus
#if 0
{ /* cc-mode */
#endif
}
#endif


/* -----------------------------------------------------------------------------
 * See the LICENSE file for information on copyright, usage and redistribution
 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
 *
 * pyrun.swg
 *
 * This file contains the runtime support for Python modules
 * and includes code for managing global variables and pointer
 * type checking.
 *
 * ----------------------------------------------------------------------------- */

/* Common SWIG API */

/* for raw pointers */
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
#define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags)
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
#define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(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(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()
#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, (char *) 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 */

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

/* Append a value to the result obj */

SWIGINTERN PyObject*
SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyList_Check(result)) {
      PyObject *o2 = result;
      result = PyList_New(1);
      PyList_SetItem(result, 0, o2);
    }
    PyList_Append(result,obj);
    Py_DECREF(obj);
  }
  return result;
#else
  PyObject*   o2;
  PyObject*   o3;
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyTuple_Check(result)) {
      o2 = result;
      result = PyTuple_New(1);
      PyTuple_SET_ITEM(result, 0, o2);
    }
    o3 = PyTuple_New(1);
    PyTuple_SET_ITEM(o3, 0, obj);
    o2 = result;
    result = PySequence_Concat(o2, o3);
    Py_DECREF(o2);
    Py_DECREF(o3);
  }
  return result;
#endif
}

/* Unpack the argument tuple */

SWIGINTERN int
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)) {
    PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
    return 0;
  } else {
    register 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 {
      register int i;
      for (i = 0; i < l; ++i) {
	objs[i] = PyTuple_GET_ITEM(args, i);
      }
      for (; l < max; ++l) {
	objs[l] = 0;
      }
      return i + 1;
    }    
  }
}

/* A functor is a function object with one single object argument */
#if PY_VERSION_HEX >= 0x02020000
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunctionObjArgs(functor, obj, NULL);
#else
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunction(functor, "O", obj);
#endif

/*
  Helper for static pointer initialization for both C and C++ code, for example
  static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
*/
#ifdef __cplusplus
#define SWIG_STATIC_POINTER(var)  var
#else
#define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var
#endif

/* -----------------------------------------------------------------------------
 * Pointer declarations
 * ----------------------------------------------------------------------------- */

/* Flags for new pointer objects */
#define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1)
#define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)

#define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1)

#ifdef __cplusplus
extern "C" {
#if 0
} /* cc-mode */
#endif
#endif

/*  How to access Py_None */
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#  ifndef SWIG_PYTHON_NO_BUILD_NONE
#    ifndef SWIG_PYTHON_BUILD_NONE
#      define SWIG_PYTHON_BUILD_NONE
#    endif
#  endif
#endif

#ifdef SWIG_PYTHON_BUILD_NONE
#  ifdef Py_None
#   undef Py_None
#   define Py_None SWIG_Py_None()
#  endif
SWIGRUNTIMEINLINE PyObject * 
_SWIG_Py_None(void)
{
  PyObject *none = Py_BuildValue((char*)"");
  Py_DECREF(none);
  return none;
}
SWIGRUNTIME PyObject * 
SWIG_Py_None(void)
{
  static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
  return none;
}
#endif

/* The python void return value */

SWIGRUNTIMEINLINE PyObject * 
SWIG_Py_Void(void)
{
  PyObject *none = Py_None;
  Py_INCREF(none);
  return none;
}

/* SwigPyClientData */

typedef struct {
  PyObject *klass;
  PyObject *newraw;
  PyObject *newargs;
  PyObject *destroy;
  int delargs;
  int implicitconv;
} SwigPyClientData;

SWIGRUNTIMEINLINE int 
SWIG_Python_CheckImplicit(swig_type_info *ty)
{
  SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
  return data ? data->implicitconv : 0;
}

SWIGRUNTIMEINLINE PyObject *
SWIG_Python_ExceptionType(swig_type_info *desc) {
  SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
  PyObject *klass = data ? data->klass : 0;
  return (klass ? klass : PyExc_RuntimeError);
}


SWIGRUNTIME SwigPyClientData * 
SwigPyClientData_New(PyObject* obj)
{
  if (!obj) {
    return 0;
  } else {
    SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
    /* the klass element */
    data->klass = obj;
    Py_INCREF(data->klass);
    /* the newraw method and newargs arguments used to create a new raw instance */
    if (PyClass_Check(obj)) {
      data->newraw = 0;
      data->newargs = obj;
      Py_INCREF(obj);
    } else {
#if (PY_VERSION_HEX < 0x02020000)
      data->newraw = 0;
#else
      data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
#endif
      if (data->newraw) {
	Py_INCREF(data->newraw);
	data->newargs = PyTuple_New(1);
	PyTuple_SetItem(data->newargs, 0, obj);
      } else {
	data->newargs = obj;
      }
      Py_INCREF(data->newargs);
    }
    /* the destroy method, aka as the C++ delete method */
    data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
    if (PyErr_Occurred()) {
      PyErr_Clear();
      data->destroy = 0;
    }
    if (data->destroy) {
      int flags;
      Py_INCREF(data->destroy);
      flags = PyCFunction_GET_FLAGS(data->destroy);
#ifdef METH_O
      data->delargs = !(flags & (METH_O));
#else
      data->delargs = 0;
#endif
    } else {
      data->delargs = 0;
    }
    data->implicitconv = 0;
    return data;
  }
}

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

/* =============== SwigPyObject =====================*/

typedef struct {
  PyObject_HEAD
  void *ptr;
  swig_type_info *ty;
  int own;
  PyObject *next;
} SwigPyObject;

SWIGRUNTIME PyObject *
SwigPyObject_long(SwigPyObject *v)
{
  return PyLong_FromVoidPtr(v->ptr);
}

SWIGRUNTIME PyObject *
SwigPyObject_format(const char* fmt, SwigPyObject *v)
{
  PyObject *res = NULL;
  PyObject *args = PyTuple_New(1);
  if (args) {
    if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
      PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
      if (ofmt) {
#if PY_VERSION_HEX >= 0x03000000
	res = PyUnicode_Format(ofmt,args);
#else
	res = PyString_Format(ofmt,args);
#endif
	Py_DECREF(ofmt);
      }
      Py_DECREF(args);
    }
  }
  return res;
}

SWIGRUNTIME PyObject *
SwigPyObject_oct(SwigPyObject *v)
{
  return SwigPyObject_format("%o",v);
}

SWIGRUNTIME PyObject *
SwigPyObject_hex(SwigPyObject *v)
{
  return SwigPyObject_format("%x",v);
}

SWIGRUNTIME PyObject *
#ifdef METH_NOARGS
SwigPyObject_repr(SwigPyObject *v)
#else
SwigPyObject_repr(SwigPyObject *v, PyObject *args)
#endif
{
  const char *name = SWIG_TypePrettyName(v->ty);
  PyObject *hex = SwigPyObject_hex(v);    
  PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", name, hex);
  Py_DECREF(hex);
  if (v->next) {
#ifdef METH_NOARGS
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
#else
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
#endif
#if PY_VERSION_HEX >= 0x03000000
    PyObject *joined = PyUnicode_Concat(repr, nrep);
    Py_DecRef(repr);
    Py_DecRef(nrep);
    repr = joined;
#else
    PyString_ConcatAndDel(&repr,nrep);
#endif
  }
  return repr;  
}

SWIGRUNTIME int
SwigPyObject_print(SwigPyObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
#ifdef METH_NOARGS
  PyObject *repr = SwigPyObject_repr(v);
#else
  PyObject *repr = SwigPyObject_repr(v, NULL);
#endif
  if (repr) {
    fputs(SWIG_Python_str_AsChar(repr), fp);
    Py_DECREF(repr);
    return 0; 
  } else {
    return 1; 
  }
}

SWIGRUNTIME PyObject *
SwigPyObject_str(SwigPyObject *v)
{
  char result[SWIG_BUFFER_SIZE];
  return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
    SWIG_Python_str_FromChar(result) : 0;
}

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, whould it also useful for Python 2.x? */
SWIGRUNTIME PyObject*
SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
{
  PyObject* res;
  if( op != Py_EQ && op != Py_NE ) {
    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
  }
  if( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) )
    res = Py_True;
  else
    res = Py_False;
  Py_INCREF(res);
  return res;  
}


SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);

SWIGRUNTIME PyTypeObject*
SwigPyObject_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
  return type;
}

SWIGRUNTIMEINLINE int
SwigPyObject_Check(PyObject *op) {
  return (Py_TYPE(op) == SwigPyObject_type())
    || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
}

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

SWIGRUNTIME void
SwigPyObject_dealloc(PyObject *v)
{
  SwigPyObject *sobj = (SwigPyObject *) v;
  PyObject *next = sobj->next;
  if (sobj->own == SWIG_POINTER_OWN) {
    swig_type_info *ty = sobj->ty;
    SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
    PyObject *destroy = data ? data->destroy : 0;
    if (destroy) {
      /* destroy is always a VARARGS method */
      PyObject *res;
      if (data->delargs) {
	/* we need to create a temporal object to carry the destroy operation */
	PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
	res = SWIG_Python_CallFunctor(destroy, tmp);
	Py_DECREF(tmp);
      } else {
	PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
	PyObject *mself = PyCFunction_GET_SELF(destroy);
	res = ((*meth)(mself, v));
      }
      Py_XDECREF(res);
    } 
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
    else {
      const char *name = SWIG_TypePrettyName(ty);
      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
    }
#endif
  } 
  Py_XDECREF(next);
  PyObject_DEL(v);
}

SWIGRUNTIME PyObject* 
SwigPyObject_append(PyObject* v, PyObject* next)
{
  SwigPyObject *sobj = (SwigPyObject *) v;
#ifndef METH_O
  PyObject *tmp = 0;
  if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
  next = tmp;
#endif
  if (!SwigPyObject_Check(next)) {
    return NULL;
  }
  sobj->next = next;
  Py_INCREF(next);
  return SWIG_Py_Void();
}

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

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

SWIGINTERN PyObject*
#ifdef METH_NOARGS
SwigPyObject_acquire(PyObject *v)
#else
SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  SwigPyObject *sobj = (SwigPyObject *)v;
  sobj->own = SWIG_POINTER_OWN;
  return SWIG_Py_Void();
}

SWIGINTERN PyObject*
SwigPyObject_own(PyObject *v, PyObject *args)
{
  PyObject *val = 0;
#if (PY_VERSION_HEX < 0x02020000)
  if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
#else
  if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) 
#endif
    {
      return NULL;
    } 
  else
    {
      SwigPyObject *sobj = (SwigPyObject *)v;
      PyObject *obj = PyBool_FromLong(sobj->own);
      if (val) {
#ifdef METH_NOARGS
	if (PyObject_IsTrue(val)) {
	  SwigPyObject_acquire(v);
	} else {
	  SwigPyObject_disown(v);
	}
#else
	if (PyObject_IsTrue(val)) {
	  SwigPyObject_acquire(v,args);
	} else {
	  SwigPyObject_disown(v,args);
	}
#endif
      } 
      return obj;
    }
}

#ifdef METH_O
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_NOARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_O,       (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_NOARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,    METH_NOARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#else
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_VARARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS,  (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_VARARGS,  (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_VARARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,   METH_VARARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#endif

#if PY_VERSION_HEX < 0x02020000
SWIGINTERN PyObject *
SwigPyObject_getattr(SwigPyObject *sobj,char *name)
{
  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
}
#endif

SWIGRUNTIME PyTypeObject*
_PySwigObject_type(void) {
  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
  
  static PyNumberMethods SwigPyObject_as_number = {
    (binaryfunc)0, /*nb_add*/
    (binaryfunc)0, /*nb_subtract*/
    (binaryfunc)0, /*nb_multiply*/
    /* nb_divide removed in Python 3 */
#if PY_VERSION_HEX < 0x03000000
    (binaryfunc)0, /*nb_divide*/
#endif
    (binaryfunc)0, /*nb_remainder*/
    (binaryfunc)0, /*nb_divmod*/
    (ternaryfunc)0,/*nb_power*/
    (unaryfunc)0,  /*nb_negative*/
    (unaryfunc)0,  /*nb_positive*/
    (unaryfunc)0,  /*nb_absolute*/
    (inquiry)0,    /*nb_nonzero*/
    0,		   /*nb_invert*/
    0,		   /*nb_lshift*/
    0,		   /*nb_rshift*/
    0,		   /*nb_and*/
    0,		   /*nb_xor*/
    0,		   /*nb_or*/
#if PY_VERSION_HEX < 0x03000000
    0,   /*nb_coerce*/
#endif
    (unaryfunc)SwigPyObject_long, /*nb_int*/
    (unaryfunc)SwigPyObject_long, /*nb_long*/
    (unaryfunc)0,                 /*nb_float*/
#if PY_VERSION_HEX < 0x03000000
    (unaryfunc)SwigPyObject_oct,  /*nb_oct*/
    (unaryfunc)SwigPyObject_hex,  /*nb_hex*/
#endif
#if PY_VERSION_HEX >= 0x03000000 /* 3.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
#elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
#endif
  };

  static PyTypeObject swigpyobject_type;  
  static int type_init = 0;
  if (!type_init) {
    const PyTypeObject tmp
      = {
	/* PyOjbect header changed in Python 3 */
#if PY_VERSION_HEX >= 0x03000000
	PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else    
	PyObject_HEAD_INIT(NULL)
	0,				    /* ob_size */
#endif
	(char *)"SwigPyObject",		    /* tp_name */
	sizeof(SwigPyObject),		    /* tp_basicsize */
	0,			            /* tp_itemsize */
	(destructor)SwigPyObject_dealloc,   /* tp_dealloc */
	(printfunc)SwigPyObject_print,	    /* tp_print */
#if PY_VERSION_HEX < 0x02020000
	(getattrfunc)SwigPyObject_getattr,  /* tp_getattr */ 
#else
	(getattrfunc)0,			    /* tp_getattr */ 
#endif
	(setattrfunc)0,			    /* tp_setattr */ 
	(cmpfunc)SwigPyObject_compare,	    /* tp_compare */ 
	(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 */
	(reprfunc)SwigPyObject_str,	    /* tp_str */
	PyObject_GenericGetAttr,            /* tp_getattro */
	0,				    /* tp_setattro */
	0,		                    /* tp_as_buffer */
	Py_TPFLAGS_DEFAULT,	            /* tp_flags */
	swigobject_doc, 	            /* tp_doc */        
	0,                                  /* tp_traverse */
	0,                                  /* tp_clear */
	(richcmpfunc)SwigPyObject_richcompare,           /* tp_richcompare */
	0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
	0,                                  /* tp_iter */
	0,                                  /* tp_iternext */
	swigobject_methods,		    /* tp_methods */ 
	0,			            /* tp_members */
	0,				    /* tp_getset */	    	
	0,			            /* tp_base */	        
	0,				    /* tp_dict */	    	
	0,				    /* tp_descr_get */  	
	0,				    /* tp_descr_set */  	
	0,				    /* tp_dictoffset */ 	
	0,				    /* tp_init */	    	
	0,				    /* tp_alloc */	    	
	0,			            /* tp_new */	    	
	0,	                            /* tp_free */	   
	0,                                  /* tp_is_gc */  
	0,				    /* tp_bases */   
	0,				    /* tp_mro */
	0,				    /* tp_cache */   
	0,				    /* tp_subclasses */
	0,				    /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
	0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
	0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
    swigpyobject_type = tmp;
    /* for Python 3 we already assigned the ob_type in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
    swigpyobject_type.ob_type = &PyType_Type;
#endif
    type_init = 1;
  }
  return &swigpyobject_type;
}

SWIGRUNTIME PyObject *
SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
{
  SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type());
  if (sobj) {
    sobj->ptr  = ptr;
    sobj->ty   = ty;
    sobj->own  = own;
    sobj->next = 0;
  }
  return (PyObject *)sobj;
}

/* -----------------------------------------------------------------------------
 * Implements a simple Swig Packed type, and use it instead of string
 * ----------------------------------------------------------------------------- */

typedef struct {
  PyObject_HEAD
  void *pack;
  swig_type_info *ty;
  size_t size;
} SwigPyPacked;

SWIGRUNTIME int
SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
  char result[SWIG_BUFFER_SIZE];
  fputs("<Swig Packed ", fp); 
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    fputs("at ", fp); 
    fputs(result, fp); 
  }
  fputs(v->ty->name,fp); 
  fputs(">", fp);
  return 0; 
}
  
SWIGRUNTIME PyObject *
SwigPyPacked_repr(SwigPyPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
  } else {
    return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
  }  
}

SWIGRUNTIME PyObject *
SwigPyPacked_str(SwigPyPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
    return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
  } else {
    return SWIG_Python_str_FromChar(v->ty->name);
  }  
}

SWIGRUNTIME int
SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
{
  size_t i = v->size;
  size_t j = w->size;
  int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
  return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
}

SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);

SWIGRUNTIME PyTypeObject*
SwigPyPacked_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
  return type;
}

SWIGRUNTIMEINLINE int
SwigPyPacked_Check(PyObject *op) {
  return ((op)->ob_type == _PySwigPacked_type()) 
    || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
}

SWIGRUNTIME void
SwigPyPacked_dealloc(PyObject *v)
{
  if (SwigPyPacked_Check(v)) {
    SwigPyPacked *sobj = (SwigPyPacked *) v;
    free(sobj->pack);
  }
  PyObject_DEL(v);
}

SWIGRUNTIME PyTypeObject*
_PySwigPacked_type(void) {
  static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
  static PyTypeObject swigpypacked_type;
  static int type_init = 0;  
  if (!type_init) {
    const PyTypeObject tmp
      = {
    /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX>=0x03000000
    PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else
	PyObject_HEAD_INIT(NULL)
    0,				    /* ob_size */	
#endif
	(char *)"SwigPyPacked",		    /* tp_name */	
	sizeof(SwigPyPacked),		    /* tp_basicsize */	
	0,				    /* tp_itemsize */	
	(destructor)SwigPyPacked_dealloc,   /* tp_dealloc */	
	(printfunc)SwigPyPacked_print,	    /* tp_print */   	
	(getattrfunc)0,			    /* tp_getattr */ 	
	(setattrfunc)0,			    /* tp_setattr */ 	
	(cmpfunc)SwigPyPacked_compare,	    /* tp_compare */ 	
	(reprfunc)SwigPyPacked_repr,	    /* tp_repr */    	
	0,	                            /* tp_as_number */	
	0,				    /* tp_as_sequence */
	0,				    /* tp_as_mapping */	
	(hashfunc)0,			    /* tp_hash */	
	(ternaryfunc)0,			    /* tp_call */	
	(reprfunc)SwigPyPacked_str,	    /* tp_str */	
	PyObject_GenericGetAttr,            /* tp_getattro */
	0,				    /* tp_setattro */
	0,		                    /* tp_as_buffer */
	Py_TPFLAGS_DEFAULT,	            /* tp_flags */
	swigpacked_doc, 	            /* tp_doc */
	0,                                  /* tp_traverse */
	0,                                  /* tp_clear */
	0,                                  /* tp_richcompare */
	0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
	0,                                  /* tp_iter */
	0,                                  /* tp_iternext */
	0,		                    /* tp_methods */ 
	0,			            /* tp_members */
	0,				    /* tp_getset */	    	
	0,			            /* tp_base */	        
	0,				    /* tp_dict */	    	
	0,				    /* tp_descr_get */  	
	0,				    /* tp_descr_set */  	
	0,				    /* tp_dictoffset */ 	
	0,				    /* tp_init */	    	
	0,				    /* tp_alloc */	    	
	0,			            /* tp_new */	    	
	0, 	                            /* tp_free */	   
        0,                                  /* tp_is_gc */  
	0,				    /* tp_bases */   
	0,				    /* tp_mro */
	0,				    /* tp_cache */   
 	0,				    /* tp_subclasses */
	0,				    /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
	0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
	0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
    swigpypacked_type = tmp;
    /* for Python 3 the ob_type already assigned in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
    swigpypacked_type.ob_type = &PyType_Type;
#endif
    type_init = 1;
  }
  return &swigpypacked_type;
}

SWIGRUNTIME PyObject *
SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
{
  SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type());
  if (sobj) {
    void *pack = malloc(size);
    if (pack) {
      memcpy(pack, ptr, size);
      sobj->pack = pack;
      sobj->ty   = ty;
      sobj->size = size;
    } else {
      PyObject_DEL((PyObject *) sobj);
      sobj = 0;
    }
  }
  return (PyObject *) sobj;
}

SWIGRUNTIME swig_type_info *
SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
{
  if (SwigPyPacked_Check(obj)) {
    SwigPyPacked *sobj = (SwigPyPacked *)obj;
    if (sobj->size != size) return 0;
    memcpy(ptr, sobj->pack, size);
    return sobj->ty;
  } else {
    return 0;
  }
}

/* -----------------------------------------------------------------------------
 * pointers/data manipulation
 * ----------------------------------------------------------------------------- */

SWIGRUNTIMEINLINE PyObject *
_SWIG_This(void)
{
    return SWIG_Python_str_FromChar("this");
}

SWIGRUNTIME PyObject *
SWIG_This(void)
{
  static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
  return swig_this;
}

/* #define SWIG_PYTHON_SLOW_GETSET_THIS */

/* TODO: I don't know how to implement the fast getset in Python 3 right now */
#if PY_VERSION_HEX>=0x03000000
#define SWIG_PYTHON_SLOW_GETSET_THIS 
#endif

SWIGRUNTIME SwigPyObject *
SWIG_Python_GetSwigThis(PyObject *pyobj) 
{
  if (SwigPyObject_Check(pyobj)) {
    return (SwigPyObject *) pyobj;
  } else {
    PyObject *obj = 0;
#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
    if (PyInstance_Check(pyobj)) {
      obj = _PyInstance_Lookup(pyobj, SWIG_This());      
    } else {
      PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
      if (dictptr != NULL) {
	PyObject *dict = *dictptr;
	obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
      } else {
#ifdef PyWeakref_CheckProxy
	if (PyWeakref_CheckProxy(pyobj)) {
	  PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
	  return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
	}
#endif
	obj = PyObject_GetAttr(pyobj,SWIG_This());
	if (obj) {
	  Py_DECREF(obj);
	} else {
	  if (PyErr_Occurred()) PyErr_Clear();
	  return 0;
	}
      }
    }
#else
    obj = PyObject_GetAttr(pyobj,SWIG_This());
    if (obj) {
      Py_DECREF(obj);
    } else {
      if (PyErr_Occurred()) PyErr_Clear();
      return 0;
    }
#endif
    if (obj && !SwigPyObject_Check(obj)) {
      /* a PyObject is called 'this', try to get the 'real this'
	 SwigPyObject from it */ 
      return SWIG_Python_GetSwigThis(obj);
    }
    return (SwigPyObject *)obj;
  }
}

/* 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) {
  if (!obj) return SWIG_ERROR;
  if (obj == Py_None) {
    if (ptr) *ptr = 0;
    return SWIG_OK;
  } else {
    SwigPyObject *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);
                if (own)
                  *own = *own | SWIG_CAST_NEW_MEMORY;
              }
            }
	    break;
	  }
	}
      } else {
	if (ptr) *ptr = vptr;
	break;
      }
    }
    if (sobj) {
      if (own)
        *own = *own | sobj->own;
      if (flags & SWIG_POINTER_DISOWN) {
	sobj->own = 0;
      }
      return SWIG_OK;
    } else {
      int res = SWIG_ERROR;
      if (flags & SWIG_POINTER_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);
	    }
	  }
	}
      }
      return res;
    }
  }
}

/* Convert a function ptr value */

SWIGRUNTIME int
SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
  if (!PyCFunction_Check(obj)) {
    return SWIG_ConvertPtr(obj, ptr, ty, 0);
  } else {
    void *vptr = 0;
    
    /* here we get the method pointer for callbacks */
    const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
    const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
    if (desc) {
      desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
      if (!desc) return SWIG_ERROR;
    }
    if (ty) {
      swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
      if (tc) {
        int newmemory = 0;
        *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
        assert(!newmemory); /* newmemory handling not yet implemented */
      } else {
        return SWIG_ERROR;
      }
    } else {
      *ptr = vptr;
    }
    return SWIG_OK;
  }
}

/* Convert a packed value value */

SWIGRUNTIME int
SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
  swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
  if (!to) return SWIG_ERROR;
  if (ty) {
    if (to != ty) {
      /* check type cast? */
      swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
      if (!tc) return SWIG_ERROR;
    }
  }
  return SWIG_OK;
}  

/* -----------------------------------------------------------------------------
 * Create a new pointer object
 * ----------------------------------------------------------------------------- */

/*
  Create a new instance object, whitout calling __init__, and set the
  'this' attribute.
*/

SWIGRUNTIME PyObject* 
SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
{
#if (PY_VERSION_HEX >= 0x02020000)
  PyObject *inst = 0;
  PyObject *newraw = data->newraw;
  if (newraw) {
    inst = PyObject_Call(newraw, data->newargs, NULL);
    if (inst) {
#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
      PyObject **dictptr = _PyObject_GetDictPtr(inst);
      if (dictptr != NULL) {
	PyObject *dict = *dictptr;
	if (dict == NULL) {
	  dict = PyDict_New();
	  *dictptr = dict;
	  PyDict_SetItem(dict, SWIG_This(), swig_this);
	}
      }
#else
      PyObject *key = SWIG_This();
      PyObject_SetAttr(inst, key, swig_this);
#endif
    }
  } else {
#if PY_VERSION_HEX >= 0x03000000
    inst = PyBaseObject_Type.tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
    Py_INCREF(data->newargs);
    PyObject_SetAttr(inst, SWIG_This(), swig_this);
    Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
#else
    PyObject *dict = PyDict_New();
    PyDict_SetItem(dict, SWIG_This(), swig_this);
    inst = PyInstance_NewRaw(data->newargs, dict);
    Py_DECREF(dict);
#endif
  }
  return inst;
#else
#if (PY_VERSION_HEX >= 0x02010000)
  PyObject *inst;
  PyObject *dict = PyDict_New();
  PyDict_SetItem(dict, SWIG_This(), swig_this);
  inst = PyInstance_NewRaw(data->newargs, dict);
  Py_DECREF(dict);
  return (PyObject *) inst;
#else
  PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
  if (inst == NULL) {
    return NULL;
  }
  inst->in_class = (PyClassObject *)data->newargs;
  Py_INCREF(inst->in_class);
  inst->in_dict = PyDict_New();
  if (inst->in_dict == NULL) {
    Py_DECREF(inst);
    return NULL;
  }
#ifdef Py_TPFLAGS_HAVE_WEAKREFS
  inst->in_weakreflist = NULL;
#endif
#ifdef Py_TPFLAGS_GC
  PyObject_GC_Init(inst);
#endif
  PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
  return (PyObject *) inst;
#endif
#endif
}

SWIGRUNTIME void
SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
{
 PyObject *dict;
#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
 PyObject **dictptr = _PyObject_GetDictPtr(inst);
 if (dictptr != NULL) {
   dict = *dictptr;
   if (dict == NULL) {
     dict = PyDict_New();
     *dictptr = dict;
   }
   PyDict_SetItem(dict, SWIG_This(), swig_this);
   return;
 }
#endif
 dict = PyObject_GetAttrString(inst, (char*)"__dict__");
 PyDict_SetItem(dict, SWIG_This(), swig_this);
 Py_DECREF(dict);
} 


SWIGINTERN PyObject *
SWIG_Python_InitShadowInstance(PyObject *args) {
  PyObject *obj[2];
  if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
    return NULL;
  } else {
    SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
    if (sthis) {
      SwigPyObject_append((PyObject*) sthis, obj[1]);
    } else {
      SWIG_Python_SetSwigThis(obj[0], obj[1]);
    }
    return SWIG_Py_Void();
  }
}

/* Create a new pointer object */

SWIGRUNTIME PyObject *
SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
  if (!ptr) {
    return SWIG_Py_Void();
  } else {
    int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
    PyObject *robj = SwigPyObject_New(ptr, type, own);
    SwigPyClientData *clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
    if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
      PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
      if (inst) {
	Py_DECREF(robj);
	robj = inst;
      }
    }
    return robj;
  }
}

/* Create a new packed object */

SWIGRUNTIMEINLINE PyObject *
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
  return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
}

/* -----------------------------------------------------------------------------*
 *  Get type list 
 * -----------------------------------------------------------------------------*/

#ifdef SWIG_LINK_RUNTIME
void *SWIG_ReturnGlobalTypeList(void *);
#endif

SWIGRUNTIME swig_module_info *
SWIG_Python_GetModule(void) {
  static void *type_pointer = (void *)0;
  /* first check if module already created */
  if (!type_pointer) {
#ifdef SWIG_LINK_RUNTIME
    type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
#else
    type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
				    (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
    if (PyErr_Occurred()) {
      PyErr_Clear();
      type_pointer = (void *)0;
    }
#endif
  }
  return (swig_module_info *) type_pointer;
}

#if PY_MAJOR_VERSION < 2
/* PyModule_AddObject function was introduced in Python 2.0.  The following function
   is copied out of Python/modsupport.c in python version 2.3.4 */
SWIGINTERN int
PyModule_AddObject(PyObject *m, char *name, PyObject *o)
{
  PyObject *dict;
  if (!PyModule_Check(m)) {
    PyErr_SetString(PyExc_TypeError,
		    "PyModule_AddObject() needs module as first arg");
    return SWIG_ERROR;
  }
  if (!o) {
    PyErr_SetString(PyExc_TypeError,
		    "PyModule_AddObject() needs non-NULL value");
    return SWIG_ERROR;
  }
  
  dict = PyModule_GetDict(m);
  if (dict == NULL) {
    /* Internal error -- modules must have a dict! */
    PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
		 PyModule_GetName(m));
    return SWIG_ERROR;
  }
  if (PyDict_SetItemString(dict, name, o))
    return SWIG_ERROR;
  Py_DECREF(o);
  return SWIG_OK;
}
#endif

SWIGRUNTIME void
SWIG_Python_DestroyModule(void *vptr)
{
  swig_module_info *swig_module = (swig_module_info *) vptr;
  swig_type_info **types = swig_module->types;
  size_t i;
  for (i =0; i < swig_module->size; ++i) {
    swig_type_info *ty = types[i];
    if (ty->owndata) {
      SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
      if (data) SwigPyClientData_Del(data);
    }
  }
  Py_DECREF(SWIG_This());
}

SWIGRUNTIME void
SWIG_Python_SetModule(swig_module_info *swig_module) {
  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */

#if PY_VERSION_HEX >= 0x03000000
 /* Add a dummy module object into sys.modules */
  PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
#else
  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
				   swig_empty_runtime_method_table);
#endif
  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
  if (pointer && module) {
    PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
  } else {
    Py_XDECREF(pointer);
  }
}

/* The python cached type query */
SWIGRUNTIME PyObject *
SWIG_Python_TypeCache(void) {
  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
  return cache;
}

SWIGRUNTIME swig_type_info *
SWIG_Python_TypeQuery(const char *type)
{
  PyObject *cache = SWIG_Python_TypeCache();
  PyObject *key = SWIG_Python_str_FromChar(type); 
  PyObject *obj = PyDict_GetItem(cache, key);
  swig_type_info *descriptor;
  if (obj) {
    descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
  } else {
    swig_module_info *swig_module = SWIG_Python_GetModule();
    descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
    if (descriptor) {
      obj = PyCObject_FromVoidPtr(descriptor, NULL);
      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);
      Py_XINCREF(type);
      PyErr_Clear();
      if (infront) {
	PyErr_Format(type, "%s %s", mesg, SWIG_Python_str_AsChar(old_str));
      } else {
	PyErr_Format(type, "%s %s", SWIG_Python_str_AsChar(old_str), mesg);
      }
      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 : (char*)"";
}

SWIGRUNTIME void
SWIG_Python_TypeError(const char *type, PyObject *obj)
{
  if (type) {
#if defined(SWIG_COBJECT_TYPES)
    if (obj && SwigPyObject_Check(obj)) {
      const char *otype = (const char *) SwigPyObject_GetDesc(obj);
      if (otype) {
	PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
		     type, otype);
	return;
      }
    } else 
#endif      
    {
      const char *otype = (obj ? obj->ob_type->tp_name : 0); 
      if (otype) {
	PyObject *str = PyObject_Str(obj);
	const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
	if (cstr) {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
		       type, otype, cstr);
	} else {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
		       type, otype);
	}
	Py_XDECREF(str);
	return;
      }
    }   
    PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
  } else {
    PyErr_Format(PyExc_TypeError, "unexpected type is received");
  }
}


/* Convert a pointer value, signal an exception on a type mismatch */
SWIGRUNTIME void *
SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
  void *result;
  if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
    PyErr_Clear();
    if (flags & SWIG_POINTER_EXCEPTION) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
      SWIG_Python_ArgFail(argnum);
    }
  }
  return result;
}


#ifdef __cplusplus
#if 0
{ /* cc-mode */
#endif
}
#endif



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

#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 



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

#define SWIGTYPE_p_XdmfArray swig_types[0]
#define SWIGTYPE_p_XdmfArrayList swig_types[1]
#define SWIGTYPE_p_XdmfAttribute swig_types[2]
#define SWIGTYPE_p_XdmfCloseCallback swig_types[3]
#define SWIGTYPE_p_XdmfDOM swig_types[4]
#define SWIGTYPE_p_XdmfDataDesc swig_types[5]
#define SWIGTYPE_p_XdmfDataItem swig_types[6]
#define SWIGTYPE_p_XdmfDataStructure swig_types[7]
#define SWIGTYPE_p_XdmfDomain swig_types[8]
#define SWIGTYPE_p_XdmfDsm swig_types[9]
#define SWIGTYPE_p_XdmfDsmBuffer swig_types[10]
#define SWIGTYPE_p_XdmfDsmComm swig_types[11]
#define SWIGTYPE_p_XdmfDsmCommMpi swig_types[12]
#define SWIGTYPE_p_XdmfDsmMsg swig_types[13]
#define SWIGTYPE_p_XdmfElement swig_types[14]
#define SWIGTYPE_p_XdmfElementData swig_types[15]
#define SWIGTYPE_p_XdmfGeometry swig_types[16]
#define SWIGTYPE_p_XdmfGrid swig_types[17]
#define SWIGTYPE_p_XdmfHDF swig_types[18]
#define SWIGTYPE_p_XdmfHeavyData swig_types[19]
#define SWIGTYPE_p_XdmfInformation swig_types[20]
#define SWIGTYPE_p_XdmfLightData swig_types[21]
#define SWIGTYPE_p_XdmfMap swig_types[22]
#define SWIGTYPE_p_XdmfObject swig_types[23]
#define SWIGTYPE_p_XdmfOpenCallback swig_types[24]
#define SWIGTYPE_p_XdmfReadCallback swig_types[25]
#define SWIGTYPE_p_XdmfRegion swig_types[26]
#define SWIGTYPE_p_XdmfRoot swig_types[27]
#define SWIGTYPE_p_XdmfSet swig_types[28]
#define SWIGTYPE_p_XdmfTime swig_types[29]
#define SWIGTYPE_p_XdmfTopology swig_types[30]
#define SWIGTYPE_p_XdmfValues swig_types[31]
#define SWIGTYPE_p_XdmfValuesHDF swig_types[32]
#define SWIGTYPE_p_XdmfValuesXML swig_types[33]
#define SWIGTYPE_p_XdmfWriteCallback swig_types[34]
#define SWIGTYPE_p__xmlNode swig_types[35]
#define SWIGTYPE_p_char swig_types[36]
#define SWIGTYPE_p_double swig_types[37]
#define SWIGTYPE_p_float swig_types[38]
#define SWIGTYPE_p_hid_t swig_types[39]
#define SWIGTYPE_p_int swig_types[40]
#define SWIGTYPE_p_istream swig_types[41]
#define SWIGTYPE_p_long_long swig_types[42]
#define SWIGTYPE_p_ostream swig_types[43]
#define SWIGTYPE_p_p__xmlDoc swig_types[44]
#define SWIGTYPE_p_short swig_types[45]
#define SWIGTYPE_p_unsigned_char swig_types[46]
#define SWIGTYPE_p_unsigned_int swig_types[47]
#define SWIGTYPE_p_unsigned_short swig_types[48]
#define SWIGTYPE_p_void swig_types[49]
static swig_type_info *swig_types[51];
static swig_module_info swig_module = {swig_types, 50, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)

/* -------- TYPES TABLE (END) -------- */

#if (PY_VERSION_HEX <= 0x02000000)
# if !defined(SWIG_PYTHON_CLASSIC)
#  error "This python version requires swig to be run with the '-classic' option"
# endif
#endif

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

#else
#  define SWIG_init    init_Xdmf

#endif
#define SWIG_name    "_Xdmf"

#define SWIGVERSION 0x010337 
#define SWIG_VERSION SWIGVERSION


#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 


#include <stdexcept>


namespace swig {
  class SwigPtr_PyObject {
  protected:
    PyObject *_obj;

  public:
    SwigPtr_PyObject() :_obj(0)
    {
    }

    SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj)
    {
      Py_XINCREF(_obj);      
    }
    
    SwigPtr_PyObject(PyObject *obj, bool initial_ref = true) :_obj(obj)
    {
      if (initial_ref) {
        Py_XINCREF(_obj);
      }
    }
    
    SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item) 
    {
      Py_XINCREF(item._obj);
      Py_XDECREF(_obj);
      _obj = item._obj;
      return *this;      
    }
    
    ~SwigPtr_PyObject() 
    {
      Py_XDECREF(_obj);
    }
    
    operator PyObject *() const
    {
      return _obj;
    }

    PyObject *operator->() const
    {
      return _obj;
    }
  };
}


namespace swig {
  struct SwigVar_PyObject : SwigPtr_PyObject {
    SwigVar_PyObject(PyObject* obj = 0) : SwigPtr_PyObject(obj, false) { }
    
    SwigVar_PyObject & operator = (PyObject* obj)
    {
      Py_XDECREF(_obj);
      _obj = obj;
      return *this;      
    }
  };
}


    /*
#include <XdmfCharArray.h>
    */
#include <XdmfAttribute.h>
#include <XdmfArray.h>
#include <XdmfDOM.h>
#include <XdmfLightData.h>
#include <XdmfInformation.h>
#include <XdmfElement.h>
#include <XdmfDataDesc.h>
#include <XdmfDataStructure.h>
#include <XdmfHDF.h>
#include <XdmfHeavyData.h>
#include <XdmfValues.h>
#include <XdmfValuesXML.h>
#include <XdmfValuesHDF.h>
#include <XdmfExpression.h>
    /*
#include <XdmfFormat.h>
#include <XdmfFormatHDF.h>
#include <XdmfFormatMulti.h>
#include <XdmfFormatXML.h>
    */
#include <XdmfObject.h>
#include <XdmfDomain.h>
#include <XdmfRoot.h>
#include <XdmfTopology.h>
#include <XdmfGeometry.h>
#include <XdmfGrid.h>
#include <XdmfTime.h>
#include <XdmfRegion.h>
#include <XdmfSet.h>
#include <XdmfMap.h>
    /*
#include <XdmfParameter.h>
#include <XdmfTransform.h>
#include <XdmfXNode.h>
#include <XdmfNDGM.h>
    */
#include <XdmfDsm.h>
#include <XdmfDsmMsg.h>
#include <XdmfDsmBuffer.h>
#include <XdmfDsmComm.h>
#ifndef XDMF_NO_MPI
#include <XdmfDsmCommMpi.h>
#endif

#ifndef HAVE_STRTOLL
# define strtoll XDMF_strtoll
inline XDMF_LONG64 XDMF_strtoll(char *str, void*, int)
{
  XDMF_LONG64 result = 0;
  int negative=0;

  while (*str == ' ' || *str == '\t')
    {
    str++;
    }
  if (*str == '+')
    {
    str++;
    }
  else if (*str == '-')
    {
    negative = 1;
    str++;
    }

  while (*str >= '0' && *str <= '9')
    {
    result = (result*10)-(*str++ - '0');
    }
  return negative ? result : -result;
}
#else
# define XDMF_strtoll strtoll
#endif



#include <string>


  #define SWIG_From_long   PyInt_FromLong 


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


  #define SWIG_From_double   PyFloat_FromDouble 


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


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_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
    } else {
#if PY_VERSION_HEX >= 0x03000000
      return PyUnicode_FromStringAndSize(carray, static_cast< int >(size));
#else
      return PyString_FromStringAndSize(carray, static_cast< int >(size));
#endif
    }
  } else {
    return SWIG_Py_Void();
  }
}


SWIGINTERNINLINE PyObject * 
SWIG_FromCharPtr(const char *cptr)
{ 
  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
}


#include <limits.h>
#if !defined(SWIG_NO_LLONG_MAX)
# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
#   define LLONG_MAX __LONG_LONG_MAX__
#   define LLONG_MIN (-LLONG_MAX - 1LL)
#   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
# endif
#endif


SWIGINTERN int
SWIG_AsVal_double (PyObject *obj, double *val)
{
  int res = SWIG_TypeError;
  if (PyFloat_Check(obj)) {
    if (val) *val = PyFloat_AsDouble(obj);
    return SWIG_OK;
  } else if (PyInt_Check(obj)) {
    if (val) *val = PyInt_AsLong(obj);
    return SWIG_OK;
  } else if (PyLong_Check(obj)) {
    double v = PyLong_AsDouble(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    double d = PyFloat_AsDouble(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = d;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      long v = PyLong_AsLong(obj);
      if (!PyErr_Occurred()) {
	if (val) *val = v;
	return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
      } else {
	PyErr_Clear();
      }
    }
  }
#endif
  return res;
}


#include <float.h>


#include <math.h>


SWIGINTERNINLINE int
SWIG_CanCastAsInteger(double *d, double min, double max) {
  double x = *d;
  if ((min <= x && x <= max)) {
   double fx = floor(x);
   double cx = ceil(x);
   double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
   if ((errno == EDOM) || (errno == ERANGE)) {
     errno = 0;
   } else {
     double summ, reps, diff;
     if (rd < x) {
       diff = x - rd;
     } else if (rd > x) {
       diff = rd - x;
     } else {
       return 1;
     }
     summ = rd + x;
     reps = diff/summ;
     if (reps < 8*DBL_EPSILON) {
       *d = rd;
       return 1;
     }
   }
  }
  return 0;
}


SWIGINTERN int
SWIG_AsVal_long (PyObject *obj, long* val)
{
  if (PyInt_Check(obj)) {
    if (val) *val = PyInt_AsLong(obj);
    return SWIG_OK;
  } else if (PyLong_Check(obj)) {
    long v = PyLong_AsLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    long v = PyInt_AsLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
	if (val) *val = (long)(d);
	return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_int (PyObject * obj, int *val)
{
  long v;
  int res = SWIG_AsVal_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < INT_MIN || v > INT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< int >(v);
    }
  }  
  return res;
}


SWIGINTERN int
SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
{
#if PY_VERSION_HEX>=0x03000000
  if (PyUnicode_Check(obj)) 
#else  
  if (PyString_Check(obj)) 
#endif
  {
    char *cstr; Py_ssize_t len;
#if PY_VERSION_HEX>=0x03000000
    obj = PyUnicode_AsUTF8String(obj);
    PyBytes_AsStringAndSize(obj, &cstr, &len);
#else
    PyString_AsStringAndSize(obj, &cstr, &len);
#endif
    if (cptr) { 
      if (alloc) {
	/* 
	   In python the user should not be able to modify the inner
	   string representation. To warranty that, if you define
	   SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
	   buffer is always returned.

	   The default behavior is just to return the pointer value,
	   so, be careful.
	*/ 
#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
	if (*alloc != SWIG_OLDOBJ) 
#else
	if (*alloc == SWIG_NEWOBJ) 
#endif
	  {
	    *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
	    *alloc = SWIG_NEWOBJ;
	  }
	else {
	  *cptr = cstr;
	  *alloc = SWIG_OLDOBJ;
	}
      } else {
	*cptr = SWIG_Python_str_AsChar(obj);
      }
    }
    if (psize) *psize = len + 1;
    return SWIG_OK;
  } else {
    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_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();
    }
  } 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)) {
      if (val) *val = (long long)(d);
      return SWIG_AddCast(res);
    }
    res = SWIG_TypeError;
  }
#endif
  return res;
}


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


SWIGINTERNINLINE PyObject *
SWIG_From_float  (float value)
{    
  return SWIG_From_double  (value);
}


SWIGINTERNINLINE PyObject *
SWIG_From_short  (short value)
{    
  return SWIG_From_long  (value);
}


SWIGINTERNINLINE PyObject *
SWIG_From_char  (char c) 
{ 
  return SWIG_FromCharPtrAndSize(&c,1);
}


SWIGINTERN int
SWIG_AsVal_float (PyObject * obj, float *val)
{
  double v;
  int res = SWIG_AsVal_double (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < -FLT_MAX || v > FLT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< float >(v);
    }
  }  
  return res;
}


void XdmfSwigException(int code, const char* msg)
{
/*   SWIG_exception(code, msg); */
}

#ifdef __cplusplus
extern "C" {
#endif
SWIGINTERN PyObject *_wrap_new_XdmfObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfObject")) SWIG_fail;
  result = (XdmfObject *)new XdmfObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfObject, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfObject" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObject_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_GetClassName" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_SetDebug(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  XdmfBoolean arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfObject_SetDebug",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_SetDebug" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfObject_SetDebug" "', argument " "2"" of type '" "XdmfBoolean""'");
  } 
  arg2 = static_cast< XdmfBoolean >(val2);
  result = (XdmfInt32)(arg1)->SetDebug(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_GetDebug(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfBoolean result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObject_GetDebug",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_GetDebug" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  result = (XdmfBoolean)(arg1)->GetDebug();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_GetGlobalDebug(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfBoolean result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObject_GetGlobalDebug",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_GetGlobalDebug" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  result = (XdmfBoolean)(arg1)->GetGlobalDebug();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_SetGlobalDebug(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  XdmfBoolean arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfObject_SetGlobalDebug",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_SetGlobalDebug" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfObject_SetGlobalDebug" "', argument " "2"" of type '" "XdmfBoolean""'");
  } 
  arg2 = static_cast< XdmfBoolean >(val2);
  (arg1)->SetGlobalDebug(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_DebugOn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObject_DebugOn",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_DebugOn" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  (arg1)->DebugOn();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_DebugOff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObject_DebugOff",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_DebugOff" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  (arg1)->DebugOff();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_GlobalDebugOn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObject_GlobalDebugOn",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_GlobalDebugOn" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  (arg1)->GlobalDebugOn();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_GlobalDebugOff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObject_GlobalDebugOff",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_GlobalDebugOff" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  (arg1)->GlobalDebugOff();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_GetUniqueName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfObject_GetUniqueName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_GetUniqueName" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfObject_GetUniqueName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfConstString)(arg1)->GetUniqueName(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_GetUniqueName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObject_GetUniqueName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObject_GetUniqueName" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  result = (XdmfConstString)(arg1)->GetUniqueName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObject_GetUniqueName(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfObject_GetUniqueName__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfObject_GetUniqueName__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfObject_GetUniqueName'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetUniqueName(XdmfObject *,XdmfConstString)\n"
    "    GetUniqueName(XdmfObject *)\n");
  return NULL;
}


SWIGINTERN PyObject *XdmfObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfObject, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_SetGlobalDebugOn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":SetGlobalDebugOn")) SWIG_fail;
  SetGlobalDebugOn();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetGlobalDebugOff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":SetGlobalDebugOff")) SWIG_fail;
  SetGlobalDebugOff();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_GetGlobalDebug(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)":GetGlobalDebug")) SWIG_fail;
  result = (XdmfInt32)GetGlobalDebug();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SetGlobalDebug(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInt32 arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SetGlobalDebug",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SetGlobalDebug" "', argument " "1"" of type '" "XdmfInt32""'");
  } 
  arg1 = static_cast< XdmfInt32 >(val1);
  SetGlobalDebug(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_GetUnique__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfConstString arg1 = (XdmfConstString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:GetUnique",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetUnique" "', argument " "1"" of type '" "XdmfConstString""'");
  }
  arg1 = reinterpret_cast< XdmfConstString >(buf1);
  result = (XdmfString)GetUnique((char const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_GetUnique__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)":GetUnique")) SWIG_fail;
  result = (XdmfString)GetUnique();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_GetUnique(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_GetUnique__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_GetUnique__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'GetUnique'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetUnique(XdmfConstString)\n"
    "    GetUnique()\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfObjectToHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfObject *arg1 = (XdmfObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfObjectToHandle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfObjectToHandle" "', argument " "1"" of type '" "XdmfObject *""'"); 
  }
  arg1 = reinterpret_cast< XdmfObject * >(argp1);
  result = (XdmfString)XdmfObjectToHandle(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_HandleToXdmfObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfConstString arg1 = (XdmfConstString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfObject *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:HandleToXdmfObject",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HandleToXdmfObject" "', argument " "1"" of type '" "XdmfConstString""'");
  }
  arg1 = reinterpret_cast< XdmfConstString >(buf1);
  result = (XdmfObject *)HandleToXdmfObject((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfObject, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_VoidPointerHandleToXdmfPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfConstString arg1 = (XdmfConstString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfPointer result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:VoidPointerHandleToXdmfPointer",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoidPointerHandleToXdmfPointer" "', argument " "1"" of type '" "XdmfConstString""'");
  }
  arg1 = reinterpret_cast< XdmfConstString >(buf1);
  result = (XdmfPointer)VoidPointerHandleToXdmfPointer((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfLightData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfLightData")) SWIG_fail;
  result = (XdmfLightData *)new XdmfLightData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfLightData, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfLightData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfLightData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfLightData" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfLightData_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfLightData_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_GetClassName" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfLightData_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfLightData_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_SetName" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfLightData_SetName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetName(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_XdmfLightData_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfLightData_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_GetName" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  result = (XdmfConstString)(arg1)->GetName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfLightData_SetFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfLightData_SetFileName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_SetFileName" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfLightData_SetFileName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetFileName(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_XdmfLightData_GetFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfLightData_GetFileName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_GetFileName" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  result = (XdmfConstString)(arg1)->GetFileName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfLightData_SetWorkingDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfLightData_SetWorkingDirectory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_SetWorkingDirectory" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfLightData_SetWorkingDirectory" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetWorkingDirectory(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_XdmfLightData_GetWorkingDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfLightData_GetWorkingDirectory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_GetWorkingDirectory" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  result = (XdmfConstString)(arg1)->GetWorkingDirectory();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfLightData_GetInitialized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfLightData_GetInitialized",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_GetInitialized" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  result = (XdmfInt32)(arg1)->GetInitialized();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfLightData_SetInitialized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfLightData_SetInitialized",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_SetInitialized" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfLightData_SetInitialized" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetInitialized(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfLightData_GetReturnBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLightData *arg1 = (XdmfLightData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfLightData_GetReturnBuffer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfLightData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfLightData_GetReturnBuffer" "', argument " "1"" of type '" "XdmfLightData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfLightData * >(argp1);
  result = (XdmfConstString)(arg1)->GetReturnBuffer();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfLightData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfLightData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfElement")) SWIG_fail;
  result = (XdmfElement *)new XdmfElement();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfElement, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfElement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfElement" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetClassName" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetDOM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfDOM *arg2 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetDOM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetDOM" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_SetDOM" "', argument " "2"" of type '" "XdmfDOM *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDOM * >(argp2);
  result = (XdmfInt32)(arg1)->SetDOM(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetDOM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDOM *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetDOM",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetDOM" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfDOM *)(arg1)->GetDOM();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDOM, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetState" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfElement_SetState" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetState(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetState" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->GetState();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetIsReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetIsReference",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetIsReference" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfElement_SetIsReference" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetIsReference(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetIsReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetIsReference",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetIsReference" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->GetIsReference();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_CheckForReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_CheckForReference",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_CheckForReference" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_CheckForReference" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfXmlNode)(arg1)->CheckForReference(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_InsertChildElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_InsertChildElement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_InsertChildElement" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_InsertChildElement" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfInt32)(arg1)->InsertChildElement(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Serialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_Serialize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_Serialize" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfConstString)(arg1)->Serialize();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfInt32 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfElement_SetElement",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetElement" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_SetElement" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfElement_SetElement" "', argument " "3"" of type '" "XdmfInt32""'");
  } 
  arg3 = static_cast< XdmfInt32 >(val3);
  result = (XdmfInt32)(arg1)->SetElement(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetElement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetElement" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_SetElement" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfInt32)(arg1)->SetElement(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetElement(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfElement, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__xmlNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfElement_SetElement__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfElement, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__xmlNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfElement_SetElement__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfElement_SetElement'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetElement(XdmfElement *,XdmfXmlNode,XdmfInt32)\n"
    "    SetElement(XdmfElement *,XdmfXmlNode)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetElement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetElement" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfXmlNode)(arg1)->GetElement();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetCopyReferenceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetCopyReferenceData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetCopyReferenceData" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfElement_SetCopyReferenceData" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetCopyReferenceData(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetCopyReferenceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetCopyReferenceData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetCopyReferenceData" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->GetCopyReferenceData();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetElementName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetElementName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetElementName" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfConstString)(arg1)->GetElementName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetElementName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetElementName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetElementName" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_SetElementName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetElementName(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_XdmfElement_GetDataXml(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetDataXml",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetDataXml" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfConstString)(arg1)->GetDataXml();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetDataXml(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetDataXml",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetDataXml" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_SetDataXml" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetDataXml(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_XdmfElement_GetInsertedDataXml(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetInsertedDataXml",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetInsertedDataXml" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfConstString)(arg1)->GetInsertedDataXml();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetInsertedDataXml(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfString arg2 = (XdmfString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetInsertedDataXml",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetInsertedDataXml" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_SetInsertedDataXml" "', argument " "2"" of type '" "XdmfString""'");
  }
  arg2 = reinterpret_cast< XdmfString >(buf2);
  result = (XdmfInt32)(arg1)->SetInsertedDataXml(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_XdmfElement_BuildFromDataXml__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_BuildFromDataXml",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_BuildFromDataXml" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfElement_BuildFromDataXml" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->BuildFromDataXml(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_BuildFromDataXml__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_BuildFromDataXml",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_BuildFromDataXml" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->BuildFromDataXml();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_BuildFromDataXml(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfElement, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfElement_BuildFromDataXml__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfElement, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfElement_BuildFromDataXml__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfElement_BuildFromDataXml'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    BuildFromDataXml(XdmfElement *,XdmfInt32)\n"
    "    BuildFromDataXml(XdmfElement *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetElementType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetElementType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetElementType" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfConstString)(arg1)->GetElementType();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_UpdateInformation" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_Update" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_Build" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfElement_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_Set" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_Set" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfElement_Set" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->Set(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_Get" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_Get" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfConstString)(arg1)->Get(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_Copy",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_Copy" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_Copy" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Copy(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_Insert" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_Insert",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_Insert" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->Insert();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_Insert(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfElement, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfElement_Insert__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfElement, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfElement, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfElement_Insert__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfElement_Insert'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Insert(XdmfElement *,XdmfElement *)\n"
    "    Insert(XdmfElement *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_FollowReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_FollowReference",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_FollowReference" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_FollowReference" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfXmlNode)(arg1)->FollowReference(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetDsmBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDsmBuffer *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetDsmBuffer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetDsmBuffer" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfDsmBuffer *)(arg1)->GetDsmBuffer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetDsmBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfDsmBuffer *arg2 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetDsmBuffer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetDsmBuffer" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElement_SetDsmBuffer" "', argument " "2"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmBuffer * >(argp2);
  result = (XdmfInt32)(arg1)->SetDsmBuffer(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_SetDeleteOnGridDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElement_SetDeleteOnGridDelete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_SetDeleteOnGridDelete" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfElement_SetDeleteOnGridDelete" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetDeleteOnGridDelete(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElement_GetDeleteOnGridDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElement *arg1 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElement_GetDeleteOnGridDelete",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElement_GetDeleteOnGridDelete" "', argument " "1"" of type '" "XdmfElement *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElement * >(argp1);
  result = (XdmfInt32)(arg1)->GetDeleteOnGridDelete();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfElement, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfElementData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElementData *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfElementData")) SWIG_fail;
  result = (XdmfElementData *)new XdmfElementData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfElementData, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfElementData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElementData *arg1 = (XdmfElementData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfElementData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElementData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfElementData" "', argument " "1"" of type '" "XdmfElementData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElementData * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElementData_SetReferenceElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElementData *arg1 = (XdmfElementData *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElementData_SetReferenceElement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElementData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElementData_SetReferenceElement" "', argument " "1"" of type '" "XdmfElementData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElementData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElementData_SetReferenceElement" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->SetReferenceElement(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElementData_GetReferenceElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElementData *arg1 = (XdmfElementData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfElement *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElementData_GetReferenceElement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElementData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElementData_GetReferenceElement" "', argument " "1"" of type '" "XdmfElementData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElementData * >(argp1);
  result = (XdmfElement *)(arg1)->GetReferenceElement();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfElement, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElementData_SetCurrentXdmfElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElementData *arg1 = (XdmfElementData *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfElementData_SetCurrentXdmfElement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElementData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElementData_SetCurrentXdmfElement" "', argument " "1"" of type '" "XdmfElementData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElementData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfElementData_SetCurrentXdmfElement" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->SetCurrentXdmfElement(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfElementData_GetCurrentXdmfElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfElementData *arg1 = (XdmfElementData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfElement *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfElementData_GetCurrentXdmfElement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfElementData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfElementData_GetCurrentXdmfElement" "', argument " "1"" of type '" "XdmfElementData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfElementData * >(argp1);
  result = (XdmfElement *)(arg1)->GetCurrentXdmfElement();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfElement, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfElementData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfElementData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfAttribute")) SWIG_fail;
  result = (XdmfAttribute *)new XdmfAttribute();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfAttribute, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfAttribute",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfAttribute" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetClassName" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_SetAttributeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_SetAttributeType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_SetAttributeType" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfAttribute_SetAttributeType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetAttributeType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetAttributeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetAttributeType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetAttributeType" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfInt32)(arg1)->GetAttributeType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_SetLightDataLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_SetLightDataLimit",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_SetLightDataLimit" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfAttribute_SetLightDataLimit" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetLightDataLimit(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetLightDataLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetLightDataLimit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetLightDataLimit" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfInt32)(arg1)->GetLightDataLimit();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_SetActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_SetActive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_SetActive" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfAttribute_SetActive" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetActive(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetActive",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetActive" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfInt32)(arg1)->GetActive();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_Insert" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfAttribute_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_SetAttributeTypeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_SetAttributeTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_SetAttributeTypeFromString" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfAttribute_SetAttributeTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetAttributeTypeFromString(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_XdmfAttribute_GetAttributeTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetAttributeTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetAttributeTypeAsString" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfConstString)(arg1)->GetAttributeTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_SetAttributeCenterFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_SetAttributeCenterFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_SetAttributeCenterFromString" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfAttribute_SetAttributeCenterFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetAttributeCenterFromString(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_XdmfAttribute_GetAttributeCenterAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetAttributeCenterAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetAttributeCenterAsString" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfConstString)(arg1)->GetAttributeCenterAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_SetAttributeCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_SetAttributeCenter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_SetAttributeCenter" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfAttribute_SetAttributeCenter" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetAttributeCenter(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetAttributeCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetAttributeCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetAttributeCenter" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfInt32)(arg1)->GetAttributeCenter();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetUnits",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetUnits" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfConstString)(arg1)->GetUnits();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_SetUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_SetUnits",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_SetUnits" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfAttribute_SetUnits" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetUnits(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_XdmfAttribute_GetShapeDesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDataDesc *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetShapeDesc",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetShapeDesc" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfDataDesc *)(arg1)->GetShapeDesc();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_SetValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_SetValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_SetValues" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfAttribute_SetValues" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetValues(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfAttribute_GetValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetValues" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfAttribute_GetValues" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetValues(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_GetValues",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_GetValues" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfArray *)(arg1)->GetValues();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_GetValues(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfAttribute, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfAttribute_GetValues__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfAttribute, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfAttribute_GetValues__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfAttribute_GetValues'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetValues(XdmfAttribute *,XdmfInt32)\n"
    "    GetValues(XdmfAttribute *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_UpdateInformation" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_Update" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_Build" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfAttribute_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfAttribute *arg1 = (XdmfAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfAttribute_Release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfAttribute_Release" "', argument " "1"" of type '" "XdmfAttribute *""'"); 
  }
  arg1 = reinterpret_cast< XdmfAttribute * >(argp1);
  result = (XdmfInt32)(arg1)->Release();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfAttribute_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfAttribute, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_XdmfTypeToHDF5Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInt32 arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  hid_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTypeToHDF5Type",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "XdmfTypeToHDF5Type" "', argument " "1"" of type '" "XdmfInt32""'");
  } 
  arg1 = static_cast< XdmfInt32 >(val1);
  result = XdmfTypeToHDF5Type(arg1);
  resultobj = SWIG_NewPointerObj((new hid_t(static_cast< const hid_t& >(result))), SWIGTYPE_p_hid_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_HDF5TypeToXdmfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  hid_t arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:HDF5TypeToXdmfType",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_hid_t,  0  | 0);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HDF5TypeToXdmfType" "', argument " "1"" of type '" "hid_t""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HDF5TypeToXdmfType" "', argument " "1"" of type '" "hid_t""'");
    } else {
      hid_t * temp = reinterpret_cast< hid_t * >(argp1);
      arg1 = *temp;
      if (SWIG_IsNewObj(res1)) delete temp;
    }
  }
  result = (XdmfInt32)HDF5TypeToXdmfType(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTypeToString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInt32 arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTypeToString",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "XdmfTypeToString" "', argument " "1"" of type '" "XdmfInt32""'");
  } 
  arg1 = static_cast< XdmfInt32 >(val1);
  result = (XdmfConstString)XdmfTypeToString(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_StringToXdmfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfConstString arg1 = (XdmfConstString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:StringToXdmfType",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StringToXdmfType" "', argument " "1"" of type '" "XdmfConstString""'");
  }
  arg1 = reinterpret_cast< XdmfConstString >(buf1);
  result = (XdmfInt32)StringToXdmfType((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_XdmfTypeToClassString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInt32 arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTypeToClassString",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "XdmfTypeToClassString" "', argument " "1"" of type '" "XdmfInt32""'");
  } 
  arg1 = static_cast< XdmfInt32 >(val1);
  result = (XdmfConstString)XdmfTypeToClassString(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfDataDesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDataDesc")) SWIG_fail;
  result = (XdmfDataDesc *)new XdmfDataDesc();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataDesc, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDataDesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDataDesc",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDataDesc" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_Print",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_Print" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  (arg1)->Print();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetNumberType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt32 arg2 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataDesc_SetNumberType",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetNumberType" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_SetNumberType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDataDesc_SetNumberType" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfInt32)(arg1)->SetNumberType(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetNumberType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_SetNumberType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetNumberType" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_SetNumberType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetNumberType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetNumberType(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfDataDesc_SetNumberType__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 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_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfDataDesc_SetNumberType__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataDesc_SetNumberType'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetNumberType(XdmfDataDesc *,XdmfInt32,XdmfInt64)\n"
    "    SetNumberType(XdmfDataDesc *,XdmfInt32)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetNumberTypeFromString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataDesc_SetNumberTypeFromString",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetNumberTypeFromString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_SetNumberTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDataDesc_SetNumberTypeFromString" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfInt32)(arg1)->SetNumberTypeFromString(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_XdmfDataDesc_SetNumberTypeFromString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_SetNumberTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetNumberTypeFromString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_SetNumberTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetNumberTypeFromString(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_XdmfDataDesc_SetNumberTypeFromString(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDataDesc_SetNumberTypeFromString__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfDataDesc_SetNumberTypeFromString__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataDesc_SetNumberTypeFromString'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetNumberTypeFromString(XdmfDataDesc *,XdmfConstString,XdmfInt64)\n"
    "    SetNumberTypeFromString(XdmfDataDesc *,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetNumberType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetNumberType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetNumberType" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt32)(arg1)->GetNumberType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetNumberTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetNumberTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetNumberTypeAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfConstString)(arg1)->GetNumberTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt32 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataDesc_SetShape",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetShape" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_SetShape" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataDesc_SetShape" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  result = (XdmfInt32)(arg1)->SetShape(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 *arg2 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetShape",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetShape" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_GetShape" "', argument " "2"" of type '" "XdmfInt64 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt64 * >(argp2);
  result = (XdmfInt32)(arg1)->GetShape(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetShapeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetShapeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetShapeAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfConstString)(arg1)->GetShapeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_CopySelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfDataDesc *arg2 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_CopySelection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_CopySelection" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_CopySelection" "', argument " "2"" of type '" "XdmfDataDesc *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataDesc * >(argp2);
  result = (XdmfInt32)(arg1)->CopySelection(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_CopyShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfDataDesc *arg2 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_CopyShape",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_CopyShape" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_CopyShape" "', argument " "2"" of type '" "XdmfDataDesc *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataDesc * >(argp2);
  result = (XdmfInt32)(arg1)->CopyShape(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_CopyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfDataDesc *arg2 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_CopyType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_CopyType" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_CopyType" "', argument " "2"" of type '" "XdmfDataDesc *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataDesc * >(argp2);
  result = (XdmfInt32)(arg1)->CopyType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetNumberOfElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_SetNumberOfElements",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetNumberOfElements" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_SetNumberOfElements" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetNumberOfElements(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetShapeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_SetShapeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetShapeFromString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_SetShapeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetShapeFromString(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_XdmfDataDesc_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_SelectAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SelectAll" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt32)(arg1)->SelectAll();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SelectHyperSlab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 *arg2 = (XdmfInt64 *) 0 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 *arg4 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDataDesc_SelectHyperSlab",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SelectHyperSlab" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_SelectHyperSlab" "', argument " "2"" of type '" "XdmfInt64 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt64 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataDesc_SelectHyperSlab" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDataDesc_SelectHyperSlab" "', argument " "4"" of type '" "XdmfInt64 *""'"); 
  }
  arg4 = reinterpret_cast< XdmfInt64 * >(argp4);
  result = (XdmfInt32)(arg1)->SelectHyperSlab(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SelectHyperSlabFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfConstString arg4 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDataDesc_SelectHyperSlabFromString",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SelectHyperSlabFromString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_SelectHyperSlabFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataDesc_SelectHyperSlabFromString" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDataDesc_SelectHyperSlabFromString" "', argument " "4"" of type '" "XdmfConstString""'");
  }
  arg4 = reinterpret_cast< XdmfConstString >(buf4);
  result = (XdmfInt32)(arg1)->SelectHyperSlabFromString(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetHyperSlab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 *arg2 = (XdmfInt64 *) 0 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 *arg4 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDataDesc_GetHyperSlab",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetHyperSlab" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_GetHyperSlab" "', argument " "2"" of type '" "XdmfInt64 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt64 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataDesc_GetHyperSlab" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDataDesc_GetHyperSlab" "', argument " "4"" of type '" "XdmfInt64 *""'"); 
  }
  arg4 = reinterpret_cast< XdmfInt64 * >(argp4);
  result = (XdmfInt32)(arg1)->GetHyperSlab(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetHyperSlabAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetHyperSlabAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetHyperSlabAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfConstString)(arg1)->GetHyperSlabAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SelectCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataDesc_SelectCoordinates",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SelectCoordinates" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_SelectCoordinates" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataDesc_SelectCoordinates" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  result = (XdmfInt32)(arg1)->SelectCoordinates(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SelectCoordinatesFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_SelectCoordinatesFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SelectCoordinatesFromString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_SelectCoordinatesFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SelectCoordinatesFromString(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_XdmfDataDesc_GetCoordinates__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt64 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataDesc_GetCoordinates",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetCoordinates" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetCoordinates" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDataDesc_GetCoordinates" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfInt64 *)(arg1)->GetCoordinates(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long_long, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCoordinates__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetCoordinates",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetCoordinates" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetCoordinates" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64 *)(arg1)->GetCoordinates(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long_long, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCoordinates__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetCoordinates",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetCoordinates" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt64 *)(arg1)->GetCoordinates();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long_long, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCoordinates(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDataDesc_GetCoordinates__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfDataDesc_GetCoordinates__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(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_XdmfDataDesc_GetCoordinates__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataDesc_GetCoordinates'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetCoordinates(XdmfDataDesc *,XdmfInt64,XdmfInt64)\n"
    "    GetCoordinates(XdmfDataDesc *,XdmfInt64)\n"
    "    GetCoordinates(XdmfDataDesc *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCoordinatesAsString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataDesc_GetCoordinatesAsString",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetCoordinatesAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetCoordinatesAsString" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDataDesc_GetCoordinatesAsString" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfConstString)(arg1)->GetCoordinatesAsString(arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCoordinatesAsString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetCoordinatesAsString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetCoordinatesAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetCoordinatesAsString" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfConstString)(arg1)->GetCoordinatesAsString(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCoordinatesAsString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetCoordinatesAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetCoordinatesAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfConstString)(arg1)->GetCoordinatesAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCoordinatesAsString(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDataDesc_GetCoordinatesAsString__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfDataDesc_GetCoordinatesAsString__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(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_XdmfDataDesc_GetCoordinatesAsString__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataDesc_GetCoordinatesAsString'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetCoordinatesAsString(XdmfDataDesc *,XdmfInt64,XdmfInt64)\n"
    "    GetCoordinatesAsString(XdmfDataDesc *,XdmfInt64)\n"
    "    GetCoordinatesAsString(XdmfDataDesc *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetSelectionSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetSelectionSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetSelectionSize" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt64)(arg1)->GetSelectionSize();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetNumberOfElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetNumberOfElements",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetNumberOfElements" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt64)(arg1)->GetNumberOfElements();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCompression(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetCompression",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetCompression" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt32)(arg1)->GetCompression();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetCompression__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_SetCompression",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetCompression" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_SetCompression" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetCompression(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetCompression__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_SetCompression",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetCompression" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt32)(arg1)->SetCompression();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetCompression(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDataDesc_SetCompression__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfDataDesc_SetCompression__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataDesc_SetCompression'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetCompression(XdmfDataDesc *,XdmfInt32)\n"
    "    SetCompression(XdmfDataDesc *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetRank(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetRank",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetRank" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt32)(arg1)->GetRank();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetDimension",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetDimension" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetDimension" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64)(arg1)->GetDimension(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetStart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetStart" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetStart" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64)(arg1)->GetStart(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetStride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetStride",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetStride" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetStride" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64)(arg1)->GetStride(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetCount" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetCount" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64)(arg1)->GetCount(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetSelectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetSelectionType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetSelectionType" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt32)(arg1)->GetSelectionType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetSelectionTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetSelectionTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetSelectionTypeAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfConstString)(arg1)->GetSelectionTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetDataType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  hid_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetDataType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetDataType" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (arg1)->GetDataType();
  resultobj = SWIG_NewPointerObj((new hid_t(static_cast< const hid_t& >(result))), SWIGTYPE_p_hid_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetDataSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  hid_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetDataSpace",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetDataSpace" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (arg1)->GetDataSpace();
  resultobj = SWIG_NewPointerObj((new hid_t(static_cast< const hid_t& >(result))), SWIGTYPE_p_hid_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetElementSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetElementSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetElementSize" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt64)(arg1)->GetElementSize();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_AddCompoundMemberFromString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfConstString arg4 = (XdmfConstString) 0 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfDataDesc_AddCompoundMemberFromString",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "4"" of type '" "XdmfConstString""'");
  }
  arg4 = reinterpret_cast< XdmfConstString >(buf4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->AddCompoundMemberFromString(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_AddCompoundMemberFromString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfConstString arg4 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDataDesc_AddCompoundMemberFromString",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDataDesc_AddCompoundMemberFromString" "', argument " "4"" of type '" "XdmfConstString""'");
  }
  arg4 = reinterpret_cast< XdmfConstString >(buf4);
  result = (XdmfInt32)(arg1)->AddCompoundMemberFromString(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_AddCompoundMemberFromString(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_XdmfDataDesc_AddCompoundMemberFromString__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataDesc, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfDataDesc_AddCompoundMemberFromString__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataDesc_AddCompoundMemberFromString'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    AddCompoundMemberFromString(XdmfDataDesc *,XdmfConstString,XdmfConstString,XdmfConstString,XdmfInt64)\n"
    "    AddCompoundMemberFromString(XdmfDataDesc *,XdmfConstString,XdmfConstString,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetNumberOfMembers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetNumberOfMembers",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetNumberOfMembers" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfInt64)(arg1)->GetNumberOfMembers();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetMemberName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetMemberName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetMemberName" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetMemberName" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfConstString)(arg1)->GetMemberName(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetMemberLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetMemberLength",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetMemberLength" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetMemberLength" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64)(arg1)->GetMemberLength(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetMemberSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetMemberSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetMemberSize" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetMemberSize" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64)(arg1)->GetMemberSize(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetMemberShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataDesc_GetMemberShape",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetMemberShape" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetMemberShape" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataDesc_GetMemberShape" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  result = (XdmfInt32)(arg1)->GetMemberShape(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetMemberShapeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetMemberShapeAsString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetMemberShapeAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetMemberShapeAsString" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfConstString)(arg1)->GetMemberShapeAsString(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetMemberType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetMemberType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetMemberType" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetMemberType" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->GetMemberType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetMemberTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetMemberTypeAsString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetMemberTypeAsString" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetMemberTypeAsString" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfConstString)(arg1)->GetMemberTypeAsString(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetMemberOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_GetMemberOffset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetMemberOffset" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataDesc_GetMemberOffset" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64)(arg1)->GetMemberOffset(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetHeavyDataSetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_SetHeavyDataSetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetHeavyDataSetName" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_SetHeavyDataSetName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetHeavyDataSetName(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_XdmfDataDesc_GetHeavyDataSetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetHeavyDataSetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetHeavyDataSetName" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfConstString)(arg1)->GetHeavyDataSetName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_GetDsmBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDsmBuffer *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataDesc_GetDsmBuffer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_GetDsmBuffer" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  result = (XdmfDsmBuffer *)(arg1)->GetDsmBuffer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataDesc_SetDsmBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataDesc *arg1 = (XdmfDataDesc *) 0 ;
  XdmfDsmBuffer *arg2 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataDesc_SetDsmBuffer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataDesc_SetDsmBuffer" "', argument " "1"" of type '" "XdmfDataDesc *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataDesc * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataDesc_SetDsmBuffer" "', argument " "2"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmBuffer * >(argp2);
  result = (XdmfInt32)(arg1)->SetDsmBuffer(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDataDesc_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDataDesc, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfArray")) SWIG_fail;
  result = (XdmfArray *)new XdmfArray();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfArray" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetClassName" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetTagName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetTagName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetTagName" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfString)(arg1)->GetTagName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetCoreLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfLength result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetCoreLength",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetCoreLength" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfLength)(arg1)->GetCoreLength();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Allocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_Allocate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Allocate" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfInt32)(arg1)->Allocate();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetAllowAllocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfBoolean arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_SetAllowAllocate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetAllowAllocate" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetAllowAllocate" "', argument " "2"" of type '" "XdmfBoolean""'");
  } 
  arg2 = static_cast< XdmfBoolean >(val2);
  result = (XdmfInt32)(arg1)->SetAllowAllocate(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetAllowAllocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfBoolean result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetAllowAllocate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetAllowAllocate" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfBoolean)(arg1)->GetAllowAllocate();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt32 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArray_SetShape",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetShape" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetShape" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetShape" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  result = (XdmfInt32)(arg1)->SetShape(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetShapeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_SetShapeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetShapeFromString" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArray_SetShapeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetShapeFromString(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_XdmfArray_SetShapeFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfDataDesc *arg2 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_SetShapeFromSelection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetShapeFromSelection" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArray_SetShapeFromSelection" "', argument " "2"" of type '" "XdmfDataDesc *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataDesc * >(argp2);
  result = (XdmfInt32)(arg1)->SetShapeFromSelection(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetNumberOfElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_SetNumberOfElements",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetNumberOfElements" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetNumberOfElements" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetNumberOfElements(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_ReformFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_ReformFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_ReformFromString" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArray_ReformFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->ReformFromString(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_XdmfArray_ReformFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfDataDesc *arg2 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_ReformFromSelection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_ReformFromSelection" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArray_ReformFromSelection" "', argument " "2"" of type '" "XdmfDataDesc *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataDesc * >(argp2);
  result = (XdmfInt32)(arg1)->ReformFromSelection(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_CopyShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfDataDesc *arg2 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_CopyShape",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_CopyShape" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArray_CopyShape" "', argument " "2"" of type '" "XdmfDataDesc *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataDesc * >(argp2);
  result = (XdmfInt32)(arg1)->CopyShape(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetDataPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfPointer result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_GetDataPointer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetDataPointer" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetDataPointer" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfPointer)(arg1)->GetDataPointer(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetDataPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfPointer result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetDataPointer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetDataPointer" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfPointer)(arg1)->GetDataPointer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetDataPointer(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfArray_GetDataPointer__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfArray_GetDataPointer__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_GetDataPointer'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetDataPointer(XdmfArray *,XdmfInt64)\n"
    "    GetDataPointer(XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfPointer arg2 = (XdmfPointer) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_SetDataPointer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetDataPointer" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArray_SetDataPointer" "', argument " "2"" of type '" "XdmfPointer""'"); 
  }
  (arg1)->SetDataPointer(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Reset__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_Reset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Reset" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_Reset" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  (arg1)->Reset(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Reset__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Reset" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Reset(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfArray_Reset__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfArray_Reset__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_Reset'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Reset(XdmfArray *,XdmfInt32)\n"
    "    Reset(XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValueFromFloat64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArray_SetValueFromFloat64",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValueFromFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValueFromFloat64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_SetValueFromFloat64" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  result = (XdmfInt32)(arg1)->SetValueFromFloat64(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValueFromInt64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArray_SetValueFromInt64",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValueFromInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValueFromInt64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_SetValueFromInt64" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfInt32)(arg1)->SetValueFromInt64(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  XdmfInt64 arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:XdmfArray_SetValues",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValues" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValues" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_SetValues" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  ecode7 = SWIG_AsVal_long_SS_long(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "XdmfArray_SetValues" "', argument " "7"" of type '" "XdmfInt64""'");
  } 
  arg7 = static_cast< XdmfInt64 >(val7);
  result = (XdmfInt32)(arg1)->SetValues(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_SetValues",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValues" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValues" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_SetValues" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->SetValues(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValues__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_SetValues",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValues" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValues" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SetValues(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValues__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_SetValues",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValues" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SetValues(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValues__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_SetValues",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValues" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValues" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SetValues(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValues__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_SetValues",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValues" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SetValues(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValues__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArray_SetValues",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValues" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->SetValues(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValues(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfArray_SetValues__SWIG_6(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_SetValues__SWIG_3(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_SetValues__SWIG_5(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_SetValues__SWIG_2(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_SetValues__SWIG_4(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_SetValues__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_long_SS_long(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_XdmfArray_SetValues__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_SetValues'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetValues(XdmfArray *,XdmfInt64,XdmfArray *,XdmfInt64,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    SetValues(XdmfArray *,XdmfInt64,XdmfArray *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    SetValues(XdmfArray *,XdmfInt64,XdmfArray *,XdmfInt64,XdmfInt64)\n"
    "    SetValues(XdmfArray *,XdmfInt64,XdmfArray *,XdmfInt64)\n"
    "    SetValues(XdmfArray *,XdmfInt64,XdmfConstString,XdmfInt64,XdmfInt64)\n"
    "    SetValues(XdmfArray *,XdmfInt64,XdmfConstString,XdmfInt64)\n"
    "    SetValues(XdmfArray *,XdmfInt64,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt8__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt8 *arg3 = (XdmfInt8 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_GetValuesAsInt8",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "3"" of type '" "XdmfInt8 *""'");
  }
  arg3 = reinterpret_cast< XdmfInt8 * >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->GetValuesAsInt8(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt8__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt8 *arg3 = (XdmfInt8 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_GetValuesAsInt8",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "3"" of type '" "XdmfInt8 *""'");
  }
  arg3 = reinterpret_cast< XdmfInt8 * >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->GetValuesAsInt8(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt8__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt8 *arg3 = (XdmfInt8 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_GetValuesAsInt8",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "3"" of type '" "XdmfInt8 *""'");
  }
  arg3 = reinterpret_cast< XdmfInt8 * >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt8" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->GetValuesAsInt8(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt8(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_GetValuesAsInt8__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_GetValuesAsInt8__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_GetValuesAsInt8__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_GetValuesAsInt8'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetValuesAsInt8(XdmfArray *,XdmfInt64,XdmfInt8 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsInt8(XdmfArray *,XdmfInt64,XdmfInt8 *,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsInt8(XdmfArray *,XdmfInt64,XdmfInt8 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt8__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt8 *arg3 = (XdmfInt8 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_SetValuesFromInt8",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "3"" of type '" "XdmfInt8 *""'");
  }
  arg3 = reinterpret_cast< XdmfInt8 * >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->SetValuesFromInt8(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt8__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt8 *arg3 = (XdmfInt8 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_SetValuesFromInt8",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "3"" of type '" "XdmfInt8 *""'");
  }
  arg3 = reinterpret_cast< XdmfInt8 * >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SetValuesFromInt8(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt8__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt8 *arg3 = (XdmfInt8 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_SetValuesFromInt8",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "3"" of type '" "XdmfInt8 *""'");
  }
  arg3 = reinterpret_cast< XdmfInt8 * >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt8" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SetValuesFromInt8(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt8(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_SetValuesFromInt8__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_SetValuesFromInt8__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_SetValuesFromInt8__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_SetValuesFromInt8'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetValuesFromInt8(XdmfArray *,XdmfInt64,XdmfInt8 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromInt8(XdmfArray *,XdmfInt64,XdmfInt8 *,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromInt8(XdmfArray *,XdmfInt64,XdmfInt8 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_GetValuesAsInt32",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->GetValuesAsInt32(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_GetValuesAsInt32",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->GetValuesAsInt32(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_GetValuesAsInt32",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->GetValuesAsInt32(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt32(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_GetValuesAsInt32__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_GetValuesAsInt32__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_GetValuesAsInt32__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_GetValuesAsInt32'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetValuesAsInt32(XdmfArray *,XdmfInt64,XdmfInt32 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsInt32(XdmfArray *,XdmfInt64,XdmfInt32 *,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsInt32(XdmfArray *,XdmfInt64,XdmfInt32 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_SetValuesFromInt32",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->SetValuesFromInt32(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_SetValuesFromInt32",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SetValuesFromInt32(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_SetValuesFromInt32",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SetValuesFromInt32(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt32(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_SetValuesFromInt32__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_SetValuesFromInt32__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_SetValuesFromInt32__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_SetValuesFromInt32'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetValuesFromInt32(XdmfArray *,XdmfInt64,XdmfInt32 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromInt32(XdmfArray *,XdmfInt64,XdmfInt32 *,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromInt32(XdmfArray *,XdmfInt64,XdmfInt32 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt64__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_GetValuesAsInt64",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->GetValuesAsInt64(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt64__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_GetValuesAsInt64",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->GetValuesAsInt64(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt64__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_GetValuesAsInt64",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsInt64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->GetValuesAsInt64(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsInt64(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_GetValuesAsInt64__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_GetValuesAsInt64__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_GetValuesAsInt64__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_GetValuesAsInt64'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetValuesAsInt64(XdmfArray *,XdmfInt64,XdmfInt64 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsInt64(XdmfArray *,XdmfInt64,XdmfInt64 *,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsInt64(XdmfArray *,XdmfInt64,XdmfInt64 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt64__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_SetValuesFromInt64",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->SetValuesFromInt64(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt64__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_SetValuesFromInt64",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SetValuesFromInt64(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt64__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_SetValuesFromInt64",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromInt64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SetValuesFromInt64(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromInt64(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_SetValuesFromInt64__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_SetValuesFromInt64__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_SetValuesFromInt64__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_SetValuesFromInt64'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetValuesFromInt64(XdmfArray *,XdmfInt64,XdmfInt64 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromInt64(XdmfArray *,XdmfInt64,XdmfInt64 *,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromInt64(XdmfArray *,XdmfInt64,XdmfInt64 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsFloat32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat32 *arg3 = (XdmfFloat32 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_GetValuesAsFloat32",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "3"" of type '" "XdmfFloat32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->GetValuesAsFloat32(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsFloat32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat32 *arg3 = (XdmfFloat32 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_GetValuesAsFloat32",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "3"" of type '" "XdmfFloat32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->GetValuesAsFloat32(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsFloat32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat32 *arg3 = (XdmfFloat32 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_GetValuesAsFloat32",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "3"" of type '" "XdmfFloat32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsFloat32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->GetValuesAsFloat32(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsFloat32(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_GetValuesAsFloat32__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_GetValuesAsFloat32__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_GetValuesAsFloat32__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_GetValuesAsFloat32'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetValuesAsFloat32(XdmfArray *,XdmfInt64,XdmfFloat32 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsFloat32(XdmfArray *,XdmfInt64,XdmfFloat32 *,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsFloat32(XdmfArray *,XdmfInt64,XdmfFloat32 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromFloat32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat32 *arg3 = (XdmfFloat32 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_SetValuesFromFloat32",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "3"" of type '" "XdmfFloat32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->SetValuesFromFloat32(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromFloat32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat32 *arg3 = (XdmfFloat32 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_SetValuesFromFloat32",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "3"" of type '" "XdmfFloat32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SetValuesFromFloat32(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromFloat32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat32 *arg3 = (XdmfFloat32 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_SetValuesFromFloat32",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "3"" of type '" "XdmfFloat32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat32 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromFloat32" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SetValuesFromFloat32(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromFloat32(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_SetValuesFromFloat32__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_SetValuesFromFloat32__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_SetValuesFromFloat32__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_SetValuesFromFloat32'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetValuesFromFloat32(XdmfArray *,XdmfInt64,XdmfFloat32 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromFloat32(XdmfArray *,XdmfInt64,XdmfFloat32 *,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromFloat32(XdmfArray *,XdmfInt64,XdmfFloat32 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsFloat64__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat64 *arg3 = (XdmfFloat64 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_GetValuesAsFloat64",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "3"" of type '" "XdmfFloat64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->GetValuesAsFloat64(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsFloat64__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat64 *arg3 = (XdmfFloat64 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_GetValuesAsFloat64",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "3"" of type '" "XdmfFloat64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->GetValuesAsFloat64(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsFloat64__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat64 *arg3 = (XdmfFloat64 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_GetValuesAsFloat64",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "3"" of type '" "XdmfFloat64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValuesAsFloat64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->GetValuesAsFloat64(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValuesAsFloat64(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _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_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_GetValuesAsFloat64__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _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_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_GetValuesAsFloat64__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _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_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_GetValuesAsFloat64__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_GetValuesAsFloat64'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetValuesAsFloat64(XdmfArray *,XdmfInt64,XdmfFloat64 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsFloat64(XdmfArray *,XdmfInt64,XdmfFloat64 *,XdmfInt64,XdmfInt64)\n"
    "    GetValuesAsFloat64(XdmfArray *,XdmfInt64,XdmfFloat64 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromFloat64__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat64 *arg3 = (XdmfFloat64 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  XdmfInt64 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  long long val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfArray_SetValuesFromFloat64",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "3"" of type '" "XdmfFloat64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  ecode6 = SWIG_AsVal_long_SS_long(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "6"" of type '" "XdmfInt64""'");
  } 
  arg6 = static_cast< XdmfInt64 >(val6);
  result = (XdmfInt32)(arg1)->SetValuesFromFloat64(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromFloat64__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat64 *arg3 = (XdmfFloat64 *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_SetValuesFromFloat64",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "3"" of type '" "XdmfFloat64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SetValuesFromFloat64(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromFloat64__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfFloat64 *arg3 = (XdmfFloat64 *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_SetValuesFromFloat64",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "3"" of type '" "XdmfFloat64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfFloat64 * >(argp3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_SetValuesFromFloat64" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SetValuesFromFloat64(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetValuesFromFloat64(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _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_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_SetValuesFromFloat64__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _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_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_SetValuesFromFloat64__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _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_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_long_SS_long(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfArray_SetValuesFromFloat64__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_SetValuesFromFloat64'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetValuesFromFloat64(XdmfArray *,XdmfInt64,XdmfFloat64 *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromFloat64(XdmfArray *,XdmfInt64,XdmfFloat64 *,XdmfInt64,XdmfInt64)\n"
    "    SetValuesFromFloat64(XdmfArray *,XdmfInt64,XdmfFloat64 *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValueAsFloat64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_GetValueAsFloat64",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValueAsFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValueAsFloat64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfFloat64)(arg1)->GetValueAsFloat64(arg2);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValueAsFloat32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfFloat32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_GetValueAsFloat32",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValueAsFloat32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValueAsFloat32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfFloat32)(arg1)->GetValueAsFloat32(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValueAsInt64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_GetValueAsInt64",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValueAsInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValueAsInt64" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt64)(arg1)->GetValueAsInt64(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValueAsInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_GetValueAsInt32",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValueAsInt32" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValueAsInt32" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->GetValueAsInt32(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValueAsInt16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt16 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_GetValueAsInt16",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValueAsInt16" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValueAsInt16" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt16)(arg1)->GetValueAsInt16(arg2);
  resultobj = SWIG_From_short(static_cast< short >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValueAsInt8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt8 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_GetValueAsInt8",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValueAsInt8" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValueAsInt8" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt8)(arg1)->GetValueAsInt8(arg2);
  resultobj = SWIG_From_char(static_cast< char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_GetValues",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_GetValues" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_GetValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfString)(arg1)->GetValues(arg2,arg3,arg4);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArray_GetValues",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_GetValues" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfString)(arg1)->GetValues(arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValues__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_GetValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_GetValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfString)(arg1)->GetValues(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValues__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetValues",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetValues" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfString)(arg1)->GetValues();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetValues(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfArray_GetValues__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfArray_GetValues__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(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_XdmfArray_GetValues__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(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) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_GetValues__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_GetValues'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetValues(XdmfArray *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    GetValues(XdmfArray *,XdmfInt64,XdmfInt64)\n"
    "    GetValues(XdmfArray *,XdmfInt64)\n"
    "    GetValues(XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Generate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfFloat64 arg2 ;
  XdmfFloat64 arg3 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfArray_Generate",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Generate" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_Generate" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_Generate" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_Generate" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfArray_Generate" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->Generate(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Generate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfFloat64 arg2 ;
  XdmfFloat64 arg3 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfArray_Generate",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Generate" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_Generate" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_Generate" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfArray_Generate" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->Generate(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Generate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfFloat64 arg2 ;
  XdmfFloat64 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArray_Generate",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Generate" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_Generate" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_Generate" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  result = (XdmfInt32)(arg1)->Generate(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Generate(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 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) {
          return _wrap_XdmfArray_Generate__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 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_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfArray_Generate__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 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_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfArray_Generate__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_Generate'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Generate(XdmfArray *,XdmfFloat64,XdmfFloat64,XdmfInt64,XdmfInt64)\n"
    "    Generate(XdmfArray *,XdmfFloat64,XdmfFloat64,XdmfInt64)\n"
    "    Generate(XdmfArray *,XdmfFloat64,XdmfFloat64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Clone__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfLength arg2 ;
  XdmfLength arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArray_Clone",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Clone" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_Clone" "', argument " "2"" of type '" "XdmfLength""'");
  } 
  arg2 = static_cast< XdmfLength >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_Clone" "', argument " "3"" of type '" "XdmfLength""'");
  } 
  arg3 = static_cast< XdmfLength >(val3);
  result = (XdmfArray *)(arg1)->Clone(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Clone__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfLength arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_Clone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Clone" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_Clone" "', argument " "2"" of type '" "XdmfLength""'");
  } 
  arg2 = static_cast< XdmfLength >(val2);
  result = (XdmfArray *)(arg1)->Clone(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Clone__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Clone" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfArray *)(arg1)->Clone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Clone(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfArray_Clone__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfArray_Clone__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(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_XdmfArray_Clone__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_Clone'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Clone(XdmfArray *,XdmfLength,XdmfLength)\n"
    "    Clone(XdmfArray *,XdmfLength)\n"
    "    Clone(XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Reference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfLength arg2 ;
  XdmfLength arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArray_Reference",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Reference" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_Reference" "', argument " "2"" of type '" "XdmfLength""'");
  } 
  arg2 = static_cast< XdmfLength >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfArray_Reference" "', argument " "3"" of type '" "XdmfLength""'");
  } 
  arg3 = static_cast< XdmfLength >(val3);
  result = (XdmfArray *)(arg1)->Reference(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Reference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfLength arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_Reference",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Reference" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArray_Reference" "', argument " "2"" of type '" "XdmfLength""'");
  } 
  arg2 = static_cast< XdmfLength >(val2);
  result = (XdmfArray *)(arg1)->Reference(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Reference__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_Reference",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_Reference" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfArray *)(arg1)->Reference();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_Reference(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfArray_Reference__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfArray_Reference__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(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_XdmfArray_Reference__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfArray_Reference'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Reference(XdmfArray *,XdmfLength,XdmfLength)\n"
    "    Reference(XdmfArray *,XdmfLength)\n"
    "    Reference(XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetMaxAsFloat64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetMaxAsFloat64",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetMaxAsFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfFloat64)(arg1)->GetMaxAsFloat64();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetMinAsFloat64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetMinAsFloat64",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetMinAsFloat64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfFloat64)(arg1)->GetMinAsFloat64();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetMaxAsInt64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetMaxAsInt64",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetMaxAsInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfInt64)(arg1)->GetMaxAsInt64();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetMinAsInt64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetMinAsInt64",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetMinAsInt64" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfInt64)(arg1)->GetMinAsInt64();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetMean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetMean",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetMean" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfFloat64)(arg1)->GetMean();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_SetDataFromChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfString arg2 = (XdmfString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArray_SetDataFromChars",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_SetDataFromChars" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArray_SetDataFromChars" "', argument " "2"" of type '" "XdmfString""'");
  }
  arg2 = reinterpret_cast< XdmfString >(buf2);
  (arg1)->SetDataFromChars(arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArray_GetDataPointerAsCharPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArray_GetDataPointerAsCharPointer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArray_GetDataPointerAsCharPointer" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfString)(arg1)->GetDataPointerAsCharPointer();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfArray, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_XdmfArrayList_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArrayList *arg1 = (XdmfArrayList *) 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 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArrayList_name_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArrayList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArrayList_name_set" "', argument " "1"" of type '" "XdmfArrayList *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArrayList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArrayList_name_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  if (arg1->name) delete[] arg1->name;
  if (arg2) {
    size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
    arg1->name = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
  } else {
    arg1->name = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArrayList_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArrayList *arg1 = (XdmfArrayList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArrayList_name_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArrayList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArrayList_name_get" "', argument " "1"" of type '" "XdmfArrayList *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArrayList * >(argp1);
  result = (char *) ((arg1)->name);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArrayList_timecntr_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArrayList *arg1 = (XdmfArrayList *) 0 ;
  XdmfLength arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArrayList_timecntr_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArrayList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArrayList_timecntr_set" "', argument " "1"" of type '" "XdmfArrayList *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArrayList * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfArrayList_timecntr_set" "', argument " "2"" of type '" "XdmfLength""'");
  } 
  arg2 = static_cast< XdmfLength >(val2);
  if (arg1) (arg1)->timecntr = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArrayList_timecntr_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArrayList *arg1 = (XdmfArrayList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfLength result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArrayList_timecntr_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArrayList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArrayList_timecntr_get" "', argument " "1"" of type '" "XdmfArrayList *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArrayList * >(argp1);
  result = (XdmfLength) ((arg1)->timecntr);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArrayList_Array_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArrayList *arg1 = (XdmfArrayList *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfArrayList_Array_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArrayList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArrayList_Array_set" "', argument " "1"" of type '" "XdmfArrayList *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArrayList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArrayList_Array_set" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  if (arg1) (arg1)->Array = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfArrayList_Array_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArrayList *arg1 = (XdmfArrayList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfArrayList_Array_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArrayList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArrayList_Array_get" "', argument " "1"" of type '" "XdmfArrayList *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArrayList * >(argp1);
  result = (XdmfArray *) ((arg1)->Array);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfArrayList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArrayList *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfArrayList")) SWIG_fail;
  result = (XdmfArrayList *)new XdmfArrayList();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArrayList, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfArrayList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArrayList *arg1 = (XdmfArrayList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfArrayList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArrayList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfArrayList" "', argument " "1"" of type '" "XdmfArrayList *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArrayList * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfArrayList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfArrayList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_TagNameToArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfString arg1 = (XdmfString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:TagNameToArray",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TagNameToArray" "', argument " "1"" of type '" "XdmfString""'");
  }
  arg1 = reinterpret_cast< XdmfString >(buf1);
  result = (XdmfArray *)TagNameToArray(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_PrintAllXdmfArrays(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":PrintAllXdmfArrays")) SWIG_fail;
  PrintAllXdmfArrays();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_GetNextOlderArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLength arg1 ;
  XdmfLength *arg2 = (XdmfLength *) 0 ;
  long long val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:GetNextOlderArray",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_long_SS_long(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "GetNextOlderArray" "', argument " "1"" of type '" "XdmfLength""'");
  } 
  arg1 = static_cast< XdmfLength >(val1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetNextOlderArray" "', argument " "2"" of type '" "XdmfLength *""'"); 
  }
  arg2 = reinterpret_cast< XdmfLength * >(argp2);
  result = (XdmfArray *)GetNextOlderArray(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_GetNextOlderArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLength arg1 ;
  long long val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:GetNextOlderArray",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_long_SS_long(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "GetNextOlderArray" "', argument " "1"" of type '" "XdmfLength""'");
  } 
  arg1 = static_cast< XdmfLength >(val1);
  result = (XdmfArray *)GetNextOlderArray(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_GetNextOlderArray(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_long_SS_long(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_GetNextOlderArray__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_long_SS_long(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long_long, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_GetNextOlderArray__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'GetNextOlderArray'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetNextOlderArray(XdmfLength,XdmfLength *)\n"
    "    GetNextOlderArray(XdmfLength)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_GetCurrentArrayTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfLength result;
  
  if (!PyArg_ParseTuple(args,(char *)":GetCurrentArrayTime")) SWIG_fail;
  result = (XdmfLength)GetCurrentArrayTime();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfDOM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDOM")) SWIG_fail;
  result = (XdmfDOM *)new XdmfDOM();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDOM, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDOM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDOM",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDOM" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetClassName" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_SetInputFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_SetInputFileName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_SetInputFileName" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_SetInputFileName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetInputFileName(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_XdmfDOM_SetOutputFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_SetOutputFileName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_SetOutputFileName" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_SetOutputFileName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetOutputFileName(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_XdmfDOM_GetInputFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetInputFileName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetInputFileName" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfConstString)(arg1)->GetInputFileName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetOutputFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetOutputFileName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetOutputFileName" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfConstString)(arg1)->GetOutputFileName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_SetParserOptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_SetParserOptions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_SetParserOptions" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDOM_SetParserOptions" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetParserOptions(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  ostream *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetOutput",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetOutput" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (ostream *)(arg1)->GetOutput();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ostream, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_SetOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  ostream *arg2 = (ostream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_SetOutput",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_SetOutput" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ostream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_SetOutput" "', argument " "2"" of type '" "ostream *""'"); 
  }
  arg2 = reinterpret_cast< ostream * >(argp2);
  result = (XdmfInt32)(arg1)->SetOutput(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  istream *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetInput",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetInput" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (istream *)(arg1)->GetInput();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_istream, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_SetInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  istream *arg2 = (istream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_SetInput",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_SetInput" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_istream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_SetInput" "', argument " "2"" of type '" "istream *""'"); 
  }
  arg2 = reinterpret_cast< istream * >(argp2);
  result = (XdmfInt32)(arg1)->SetInput(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GenerateHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GenerateHead",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GenerateHead" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfInt32)(arg1)->GenerateHead();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetDTD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetDTD",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetDTD" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfInt32)(arg1)->GetDTD();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_SetDTD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_SetDTD",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_SetDTD" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDOM_SetDTD" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetDTD(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Puts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_Puts",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Puts" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Puts" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->Puts(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_XdmfDOM_GenerateTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GenerateTail",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GenerateTail" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfInt32)(arg1)->GenerateTail();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetTree",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetTree" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfXmlNode)(arg1)->GetTree();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM___Parse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfXmlDoc *arg3 = (XdmfXmlDoc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM___Parse",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM___Parse" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM___Parse" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p__xmlDoc, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM___Parse" "', argument " "3"" of type '" "XdmfXmlDoc *""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlDoc * >(argp3);
  result = (XdmfXmlNode)(arg1)->__Parse(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM___Parse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM___Parse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM___Parse" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM___Parse" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfXmlNode)(arg1)->__Parse(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM___Parse(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM___Parse__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p__xmlDoc, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDOM___Parse__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM___Parse'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    __Parse(XdmfDOM *,XdmfConstString,XdmfXmlDoc *)\n"
    "    __Parse(XdmfDOM *,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Parse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_Parse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Parse" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Parse" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->Parse(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_XdmfDOM_Parse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_Parse",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Parse" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfInt32)(arg1)->Parse();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Parse(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDOM_Parse__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM_Parse__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_Parse'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Parse(XdmfDOM *,XdmfConstString)\n"
    "    Parse(XdmfDOM *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetRoot",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetRoot" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfXmlNode)(arg1)->GetRoot();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetNumberOfChildren__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_GetNumberOfChildren",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetNumberOfChildren" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_GetNumberOfChildren" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfInt64)(arg1)->GetNumberOfChildren(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetNumberOfChildren__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetNumberOfChildren",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetNumberOfChildren" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfInt64)(arg1)->GetNumberOfChildren();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetNumberOfChildren(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDOM_GetNumberOfChildren__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__xmlNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM_GetNumberOfChildren__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_GetNumberOfChildren'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetNumberOfChildren(XdmfDOM *,XdmfXmlNode)\n"
    "    GetNumberOfChildren(XdmfDOM *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfInt64 arg2 ;
  XdmfXmlNode arg3 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_GetChild",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetChild" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDOM_GetChild" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_GetChild" "', argument " "3"" of type '" "XdmfXmlNode""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlNode >(argp3);
  result = (XdmfXmlNode)(arg1)->GetChild(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetNumberOfAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_GetNumberOfAttributes",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetNumberOfAttributes" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_GetNumberOfAttributes" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfInt32)(arg1)->GetNumberOfAttributes(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetAttributeName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfInt32 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 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_GetAttributeName",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetAttributeName" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_GetAttributeName" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDOM_GetAttributeName" "', argument " "3"" of type '" "XdmfInt32""'");
  } 
  arg3 = static_cast< XdmfInt32 >(val3);
  result = (XdmfConstString)(arg1)->GetAttributeName(arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_IsChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfXmlNode arg3 = (XdmfXmlNode) 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_IsChild",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_IsChild" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_IsChild" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_IsChild" "', argument " "3"" of type '" "XdmfXmlNode""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlNode >(argp3);
  result = (XdmfInt32)(arg1)->IsChild(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_IsChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_IsChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_IsChild" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_IsChild" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfInt32)(arg1)->IsChild(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_IsChild(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__xmlNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM_IsChild__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__xmlNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p__xmlNode, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDOM_IsChild__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_IsChild'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    IsChild(XdmfDOM *,XdmfXmlNode,XdmfXmlNode)\n"
    "    IsChild(XdmfDOM *,XdmfXmlNode)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Serialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_Serialize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Serialize" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Serialize" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfConstString)(arg1)->Serialize(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Serialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_Serialize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Serialize" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfConstString)(arg1)->Serialize();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Serialize(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDOM_Serialize__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__xmlNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM_Serialize__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_Serialize'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Serialize(XdmfDOM *,XdmfXmlNode)\n"
    "    Serialize(XdmfDOM *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Write__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_Write",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Write" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Write" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->Write(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_XdmfDOM_Write__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_Write",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Write" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfInt32)(arg1)->Write();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Write(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDOM_Write__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM_Write__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_Write'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Write(XdmfDOM *,XdmfConstString)\n"
    "    Write(XdmfDOM *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfXmlNode arg3 = (XdmfXmlNode) 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 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_Insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Insert" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Insert" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_Insert" "', argument " "3"" of type '" "XdmfXmlNode""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlNode >(argp3);
  result = (XdmfXmlNode)(arg1)->Insert(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_InsertFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_InsertFromString",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_InsertFromString" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_InsertFromString" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_InsertFromString" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfXmlNode)(arg1)->InsertFromString(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Create__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_Create",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Create" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Create" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_Create" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfXmlNode)(arg1)->Create(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Create__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_Create",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Create" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Create" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfXmlNode)(arg1)->Create(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Create__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_Create",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Create" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfXmlNode)(arg1)->Create();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Create(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDOM_Create__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM_Create__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDOM_Create__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_Create'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Create(XdmfDOM *,XdmfConstString,XdmfConstString)\n"
    "    Create(XdmfDOM *,XdmfConstString)\n"
    "    Create(XdmfDOM *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_InsertNew(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_InsertNew",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_InsertNew" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_InsertNew" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_InsertNew" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfXmlNode)(arg1)->InsertNew(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_DeleteNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_DeleteNode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_DeleteNode" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_DeleteNode" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfInt32)(arg1)->DeleteNode(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfInt32 arg3 ;
  XdmfXmlNode arg4 = (XdmfXmlNode) 0 ;
  XdmfInt32 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 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 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfDOM_FindElement",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindElement" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDOM_FindElement" "', argument " "3"" of type '" "XdmfInt32""'");
  } 
  arg3 = static_cast< XdmfInt32 >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDOM_FindElement" "', argument " "4"" of type '" "XdmfXmlNode""'"); 
  }
  arg4 = reinterpret_cast< XdmfXmlNode >(argp4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfDOM_FindElement" "', argument " "5"" of type '" "XdmfInt32""'");
  } 
  arg5 = static_cast< XdmfInt32 >(val5);
  result = (XdmfXmlNode)(arg1)->FindElement(arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfInt32 arg3 ;
  XdmfXmlNode arg4 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDOM_FindElement",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindElement" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDOM_FindElement" "', argument " "3"" of type '" "XdmfInt32""'");
  } 
  arg3 = static_cast< XdmfInt32 >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDOM_FindElement" "', argument " "4"" of type '" "XdmfXmlNode""'"); 
  }
  arg4 = reinterpret_cast< XdmfXmlNode >(argp4);
  result = (XdmfXmlNode)(arg1)->FindElement(arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElement__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfInt32 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_FindElement",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindElement" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDOM_FindElement" "', argument " "3"" of type '" "XdmfInt32""'");
  } 
  arg3 = static_cast< XdmfInt32 >(val3);
  result = (XdmfXmlNode)(arg1)->FindElement(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElement__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_FindElement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindElement" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfXmlNode)(arg1)->FindElement(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElement(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM_FindElement__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfDOM_FindElement__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p__xmlNode, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_XdmfDOM_FindElement__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p__xmlNode, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfDOM_FindElement__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_FindElement'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindElement(XdmfDOM *,XdmfConstString,XdmfInt32,XdmfXmlNode,XdmfInt32)\n"
    "    FindElement(XdmfDOM *,XdmfConstString,XdmfInt32,XdmfXmlNode)\n"
    "    FindElement(XdmfDOM *,XdmfConstString,XdmfInt32)\n"
    "    FindElement(XdmfDOM *,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindNextElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfXmlNode arg3 = (XdmfXmlNode) 0 ;
  XdmfInt32 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDOM_FindNextElement",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindNextElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindNextElement" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindNextElement" "', argument " "3"" of type '" "XdmfXmlNode""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlNode >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDOM_FindNextElement" "', argument " "4"" of type '" "XdmfInt32""'");
  } 
  arg4 = static_cast< XdmfInt32 >(val4);
  result = (XdmfXmlNode)(arg1)->FindNextElement(arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindNextElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfXmlNode arg3 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_FindNextElement",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindNextElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindNextElement" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindNextElement" "', argument " "3"" of type '" "XdmfXmlNode""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlNode >(argp3);
  result = (XdmfXmlNode)(arg1)->FindNextElement(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindNextElement(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p__xmlNode, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDOM_FindNextElement__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p__xmlNode, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfDOM_FindNextElement__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_FindNextElement'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindNextElement(XdmfDOM *,XdmfConstString,XdmfXmlNode,XdmfInt32)\n"
    "    FindNextElement(XdmfDOM *,XdmfConstString,XdmfXmlNode)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindDataElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfInt32 arg2 ;
  XdmfXmlNode arg3 = (XdmfXmlNode) 0 ;
  XdmfInt32 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDOM_FindDataElement",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindDataElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDOM_FindDataElement" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindDataElement" "', argument " "3"" of type '" "XdmfXmlNode""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlNode >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDOM_FindDataElement" "', argument " "4"" of type '" "XdmfInt32""'");
  } 
  arg4 = static_cast< XdmfInt32 >(val4);
  result = (XdmfXmlNode)(arg1)->FindDataElement(arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindDataElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfInt32 arg2 ;
  XdmfXmlNode arg3 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_FindDataElement",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindDataElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDOM_FindDataElement" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindDataElement" "', argument " "3"" of type '" "XdmfXmlNode""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlNode >(argp3);
  result = (XdmfXmlNode)(arg1)->FindDataElement(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindDataElement__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_FindDataElement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindDataElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDOM_FindDataElement" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfXmlNode)(arg1)->FindDataElement(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindDataElement__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_FindDataElement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindDataElement" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfXmlNode)(arg1)->FindDataElement();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindDataElement(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDOM_FindDataElement__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfDOM_FindDataElement__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p__xmlNode, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDOM_FindDataElement__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p__xmlNode, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfDOM_FindDataElement__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_FindDataElement'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindDataElement(XdmfDOM *,XdmfInt32,XdmfXmlNode,XdmfInt32)\n"
    "    FindDataElement(XdmfDOM *,XdmfInt32,XdmfXmlNode)\n"
    "    FindDataElement(XdmfDOM *,XdmfInt32)\n"
    "    FindDataElement(XdmfDOM *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElementByAttribute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfInt32 arg4 ;
  XdmfXmlNode arg5 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfDOM_FindElementByAttribute",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "4"" of type '" "XdmfInt32""'");
  } 
  arg4 = static_cast< XdmfInt32 >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "5"" of type '" "XdmfXmlNode""'"); 
  }
  arg5 = reinterpret_cast< XdmfXmlNode >(argp5);
  result = (XdmfXmlNode)(arg1)->FindElementByAttribute(arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElementByAttribute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfInt32 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDOM_FindElementByAttribute",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "4"" of type '" "XdmfInt32""'");
  } 
  arg4 = static_cast< XdmfInt32 >(val4);
  result = (XdmfXmlNode)(arg1)->FindElementByAttribute(arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElementByAttribute__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_FindElementByAttribute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindElementByAttribute" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfXmlNode)(arg1)->FindElementByAttribute(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElementByAttribute(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDOM_FindElementByAttribute__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfDOM_FindElementByAttribute__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p__xmlNode, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_XdmfDOM_FindElementByAttribute__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_FindElementByAttribute'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindElementByAttribute(XdmfDOM *,XdmfConstString,XdmfConstString,XdmfInt32,XdmfXmlNode)\n"
    "    FindElementByAttribute(XdmfDOM *,XdmfConstString,XdmfConstString,XdmfInt32)\n"
    "    FindElementByAttribute(XdmfDOM *,XdmfConstString,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindElementByPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfXmlNode result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_FindElementByPath",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindElementByPath" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindElementByPath" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfXmlNode)(arg1)->FindElementByPath(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__xmlNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindNumberOfElements__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfXmlNode arg3 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_FindNumberOfElements",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindNumberOfElements" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindNumberOfElements" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindNumberOfElements" "', argument " "3"" of type '" "XdmfXmlNode""'"); 
  }
  arg3 = reinterpret_cast< XdmfXmlNode >(argp3);
  result = (XdmfInt32)(arg1)->FindNumberOfElements(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_XdmfDOM_FindNumberOfElements__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_FindNumberOfElements",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindNumberOfElements" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindNumberOfElements" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->FindNumberOfElements(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_XdmfDOM_FindNumberOfElements(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDOM_FindNumberOfElements__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p__xmlNode, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDOM_FindNumberOfElements__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_FindNumberOfElements'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindNumberOfElements(XdmfDOM *,XdmfConstString,XdmfXmlNode)\n"
    "    FindNumberOfElements(XdmfDOM *,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindNumberOfElementsByAttribute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfXmlNode arg4 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDOM_FindNumberOfElementsByAttribute",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindNumberOfElementsByAttribute" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindNumberOfElementsByAttribute" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindNumberOfElementsByAttribute" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDOM_FindNumberOfElementsByAttribute" "', argument " "4"" of type '" "XdmfXmlNode""'"); 
  }
  arg4 = reinterpret_cast< XdmfXmlNode >(argp4);
  result = (XdmfInt32)(arg1)->FindNumberOfElementsByAttribute(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindNumberOfElementsByAttribute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_FindNumberOfElementsByAttribute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_FindNumberOfElementsByAttribute" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_FindNumberOfElementsByAttribute" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_FindNumberOfElementsByAttribute" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->FindNumberOfElementsByAttribute(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_FindNumberOfElementsByAttribute(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDOM_FindNumberOfElementsByAttribute__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDOM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p__xmlNode, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_XdmfDOM_FindNumberOfElementsByAttribute__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDOM_FindNumberOfElementsByAttribute'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindNumberOfElementsByAttribute(XdmfDOM *,XdmfConstString,XdmfConstString,XdmfXmlNode)\n"
    "    FindNumberOfElementsByAttribute(XdmfDOM *,XdmfConstString,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_GetPath",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetPath" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_GetPath" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfConstString)(arg1)->GetPath(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetNdgmHost(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDOM_GetNdgmHost",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetNdgmHost" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  result = (XdmfConstString)(arg1)->GetNdgmHost();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_SetNdgmHost(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_SetNdgmHost",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_SetNdgmHost" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_SetNdgmHost" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetNdgmHost(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_XdmfDOM_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_Get",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Get" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Get" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_Get" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfConstString)(arg1)->Get(arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDOM_GetAttribute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetAttribute" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_GetAttribute" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_GetAttribute" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfConstString)(arg1)->GetAttribute(arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_GetCData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDOM_GetCData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_GetCData" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_GetCData" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  result = (XdmfConstString)(arg1)->GetCData(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDOM_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDOM *arg1 = (XdmfDOM *) 0 ;
  XdmfXmlNode arg2 = (XdmfXmlNode) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfConstString arg4 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDOM_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDOM_Set" "', argument " "1"" of type '" "XdmfDOM *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDOM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__xmlNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDOM_Set" "', argument " "2"" of type '" "XdmfXmlNode""'"); 
  }
  arg2 = reinterpret_cast< XdmfXmlNode >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDOM_Set" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDOM_Set" "', argument " "4"" of type '" "XdmfConstString""'");
  }
  arg4 = reinterpret_cast< XdmfConstString >(buf4);
  (arg1)->Set(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *XdmfDOM_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDOM, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_HandleToXdmfDOM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfConstString arg1 = (XdmfConstString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDOM *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:HandleToXdmfDOM",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HandleToXdmfDOM" "', argument " "1"" of type '" "XdmfConstString""'");
  }
  arg1 = reinterpret_cast< XdmfConstString >(buf1);
  result = (XdmfDOM *)HandleToXdmfDOM((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDOM, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInformation *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfInformation")) SWIG_fail;
  result = (XdmfInformation *)new XdmfInformation();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfInformation, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInformation *arg1 = (XdmfInformation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfInformation, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfInformation" "', argument " "1"" of type '" "XdmfInformation *""'"); 
  }
  arg1 = reinterpret_cast< XdmfInformation * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfInformation_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInformation *arg1 = (XdmfInformation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfInformation_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfInformation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfInformation_GetClassName" "', argument " "1"" of type '" "XdmfInformation *""'"); 
  }
  arg1 = reinterpret_cast< XdmfInformation * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfInformation_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInformation *arg1 = (XdmfInformation *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfInformation_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfInformation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfInformation_Insert" "', argument " "1"" of type '" "XdmfInformation *""'"); 
  }
  arg1 = reinterpret_cast< XdmfInformation * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfInformation_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfInformation_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInformation *arg1 = (XdmfInformation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfInformation_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfInformation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfInformation_UpdateInformation" "', argument " "1"" of type '" "XdmfInformation *""'"); 
  }
  arg1 = reinterpret_cast< XdmfInformation * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfInformation_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInformation *arg1 = (XdmfInformation *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfInformation_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfInformation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfInformation_SetValue" "', argument " "1"" of type '" "XdmfInformation *""'"); 
  }
  arg1 = reinterpret_cast< XdmfInformation * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfInformation_SetValue" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetValue(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_XdmfInformation_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInformation *arg1 = (XdmfInformation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfInformation_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfInformation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfInformation_Build" "', argument " "1"" of type '" "XdmfInformation *""'"); 
  }
  arg1 = reinterpret_cast< XdmfInformation * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfInformation_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfInformation *arg1 = (XdmfInformation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfInformation_GetValue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfInformation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfInformation_GetValue" "', argument " "1"" of type '" "XdmfInformation *""'"); 
  }
  arg1 = reinterpret_cast< XdmfInformation * >(argp1);
  result = (XdmfConstString)(arg1)->GetValue();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfInformation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfInformation, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfDataItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDataItem")) SWIG_fail;
  result = (XdmfDataItem *)new XdmfDataItem();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataItem, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDataItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDataItem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDataItem" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetClassName" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfValues *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetValues",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetValues" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfValues *)(arg1)->GetValues();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfValues, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetFormat" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->GetFormat();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetFormat",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetFormat" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetFormat" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetFormat(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_Insert" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataItem_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetArrayIsMine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetArrayIsMine",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetArrayIsMine" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetArrayIsMine" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetArrayIsMine(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetArrayIsMine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetArrayIsMine",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetArrayIsMine" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->GetArrayIsMine();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_UpdateInformation" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_Update" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_Build" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetDataDesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDataDesc *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetDataDesc",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetDataDesc" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfDataDesc *)(arg1)->GetDataDesc();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetDataDesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfDataDesc *arg2 = (XdmfDataDesc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetDataDesc",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetDataDesc" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataItem_SetDataDesc" "', argument " "2"" of type '" "XdmfDataDesc *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataDesc * >(argp2);
  result = (XdmfInt32)(arg1)->SetDataDesc(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_GetArray",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetArray" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_GetArray" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetArray(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetArray" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfArray *)(arg1)->GetArray();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetArray(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDataItem_GetArray__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfDataItem_GetArray__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataItem_GetArray'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetArray(XdmfDataItem *,XdmfInt32)\n"
    "    GetArray(XdmfDataItem *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetArray",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetArray" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataItem_SetArray" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetArray(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetDataValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDataItem_GetDataValues",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetDataValues" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_GetDataValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDataItem_GetDataValues" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDataItem_GetDataValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfString)(arg1)->GetDataValues(arg2,arg3,arg4);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetDataValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataItem_GetDataValues",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetDataValues" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_GetDataValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDataItem_GetDataValues" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfString)(arg1)->GetDataValues(arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetDataValues__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_GetDataValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetDataValues" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_GetDataValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfString)(arg1)->GetDataValues(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetDataValues__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetDataValues",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetDataValues" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfString)(arg1)->GetDataValues();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetDataValues(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDataItem_GetDataValues__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfDataItem_GetDataValues__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(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_XdmfDataItem_GetDataValues__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(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) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfDataItem_GetDataValues__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataItem_GetDataValues'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetDataValues(XdmfDataItem *,XdmfInt64,XdmfInt64,XdmfInt64)\n"
    "    GetDataValues(XdmfDataItem *,XdmfInt64,XdmfInt64)\n"
    "    GetDataValues(XdmfDataItem *,XdmfInt64)\n"
    "    GetDataValues(XdmfDataItem *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetDataValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt64 arg2 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfDataItem_SetDataValues",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetDataValues" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetDataValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataItem_SetDataValues" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDataItem_SetDataValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfDataItem_SetDataValues" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SetDataValues(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetDataValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt64 arg2 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDataItem_SetDataValues",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetDataValues" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetDataValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataItem_SetDataValues" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDataItem_SetDataValues" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SetDataValues(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetDataValues__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt64 arg2 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataItem_SetDataValues",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetDataValues" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetDataValues" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataItem_SetDataValues" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->SetDataValues(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetDataValues(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfDataItem_SetDataValues__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfDataItem_SetDataValues__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDataItem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_long_SS_long(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfDataItem_SetDataValues__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDataItem_SetDataValues'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetDataValues(XdmfDataItem *,XdmfInt64,XdmfConstString,XdmfInt64,XdmfInt64)\n"
    "    SetDataValues(XdmfDataItem *,XdmfInt64,XdmfConstString,XdmfInt64)\n"
    "    SetDataValues(XdmfDataItem *,XdmfInt64,XdmfConstString)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetRank(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetRank",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetRank" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->GetRank();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt32 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataItem_SetShape",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetShape" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetShape" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataItem_SetShape" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  result = (XdmfInt32)(arg1)->SetShape(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt64 *arg2 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_GetShape",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetShape" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataItem_GetShape" "', argument " "2"" of type '" "XdmfInt64 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt64 * >(argp2);
  result = (XdmfInt32)(arg1)->GetShape(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetShapeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetShapeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetShapeAsString" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfConstString)(arg1)->GetShapeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetDimensions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetDimensions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetDimensions" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfConstString)(arg1)->GetDimensions();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetDimensions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt32 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDataItem_SetDimensions",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetDimensions" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetDimensions" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDataItem_SetDimensions" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  result = (XdmfInt32)(arg1)->SetDimensions(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetDimensionsFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetDimensionsFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetDimensionsFromString" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataItem_SetDimensionsFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetDimensionsFromString(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_XdmfDataItem_SetHeavyDataSetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetHeavyDataSetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetHeavyDataSetName" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataItem_SetHeavyDataSetName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetHeavyDataSetName(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_XdmfDataItem_GetHeavyDataSetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetHeavyDataSetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetHeavyDataSetName" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfConstString)(arg1)->GetHeavyDataSetName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_Copy",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_Copy" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataItem_Copy" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Copy(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetItemType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetItemType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetItemType" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetItemType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetItemType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetItemType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetItemType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetItemType" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->GetItemType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetIsMultiple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetIsMultiple",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetIsMultiple" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->GetIsMultiple();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetFunction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetFunction" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDataItem_SetFunction" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetFunction(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_XdmfDataItem_GetFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetFunction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetFunction" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfConstString)(arg1)->GetFunction();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_Release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_Release" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->Release();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetColumnMajor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetColumnMajor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetColumnMajor" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->GetColumnMajor();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetColumnMajor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetColumnMajor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetColumnMajor" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetColumnMajor" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetColumnMajor(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_GetTransposeInMemory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataItem_GetTransposeInMemory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_GetTransposeInMemory" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  result = (XdmfInt32)(arg1)->GetTransposeInMemory();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataItem_SetTransposeInMemory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataItem *arg1 = (XdmfDataItem *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDataItem_SetTransposeInMemory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataItem_SetTransposeInMemory" "', argument " "1"" of type '" "XdmfDataItem *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataItem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDataItem_SetTransposeInMemory" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetTransposeInMemory(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDataItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDataItem, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfDataStructure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataStructure *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDataStructure")) SWIG_fail;
  result = (XdmfDataStructure *)new XdmfDataStructure();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataStructure, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDataStructure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataStructure *arg1 = (XdmfDataStructure *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDataStructure",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataStructure, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDataStructure" "', argument " "1"" of type '" "XdmfDataStructure *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataStructure * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataStructure_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataStructure *arg1 = (XdmfDataStructure *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataStructure_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataStructure, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataStructure_GetClassName" "', argument " "1"" of type '" "XdmfDataStructure *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataStructure * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDataStructure_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDataStructure *arg1 = (XdmfDataStructure *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDataStructure_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDataStructure, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDataStructure_UpdateInformation" "', argument " "1"" of type '" "XdmfDataStructure *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDataStructure * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDataStructure_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDataStructure, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValues *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfValues")) SWIG_fail;
  result = (XdmfValues *)new XdmfValues();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfValues, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValues *arg1 = (XdmfValues *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfValues",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValues, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfValues" "', argument " "1"" of type '" "XdmfValues *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValues * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValues_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValues *arg1 = (XdmfValues *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfValues_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValues, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValues_GetClassName" "', argument " "1"" of type '" "XdmfValues *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValues * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValues_Inherit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValues *arg1 = (XdmfValues *) 0 ;
  XdmfDataItem *arg2 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfValues_Inherit",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValues, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValues_Inherit" "', argument " "1"" of type '" "XdmfValues *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValues * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValues_Inherit" "', argument " "2"" of type '" "XdmfDataItem *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataItem * >(argp2);
  result = (XdmfInt32)(arg1)->Inherit(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValues_Read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValues *arg1 = (XdmfValues *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfValues_Read",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValues, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValues_Read" "', argument " "1"" of type '" "XdmfValues *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValues * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValues_Read" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)(arg1)->Read(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValues_Read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValues *arg1 = (XdmfValues *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfValues_Read",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValues, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValues_Read" "', argument " "1"" of type '" "XdmfValues *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValues * >(argp1);
  result = (XdmfArray *)(arg1)->Read();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValues_Read(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValues, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfValues_Read__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValues, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfValues_Read__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfValues_Read'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Read(XdmfValues *,XdmfArray *)\n"
    "    Read(XdmfValues *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValues_Write__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValues *arg1 = (XdmfValues *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfValues_Write",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValues, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValues_Write" "', argument " "1"" of type '" "XdmfValues *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValues * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValues_Write" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfValues_Write" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->Write(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValues_Write__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValues *arg1 = (XdmfValues *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfValues_Write",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValues, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValues_Write" "', argument " "1"" of type '" "XdmfValues *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValues * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValues_Write" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->Write(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValues_Write(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValues, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfValues_Write__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValues, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfValues_Write__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfValues_Write'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Write(XdmfValues *,XdmfArray *,XdmfConstString)\n"
    "    Write(XdmfValues *,XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *XdmfValues_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfValues, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfValuesXML(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesXML *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfValuesXML")) SWIG_fail;
  result = (XdmfValuesXML *)new XdmfValuesXML();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfValuesXML, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfValuesXML(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesXML *arg1 = (XdmfValuesXML *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfValuesXML",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesXML, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfValuesXML" "', argument " "1"" of type '" "XdmfValuesXML *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesXML * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesXML_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesXML *arg1 = (XdmfValuesXML *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfValuesXML_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesXML, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesXML_GetClassName" "', argument " "1"" of type '" "XdmfValuesXML *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesXML * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesXML_Read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesXML *arg1 = (XdmfValuesXML *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfValuesXML_Read",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesXML, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesXML_Read" "', argument " "1"" of type '" "XdmfValuesXML *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesXML * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValuesXML_Read" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)(arg1)->Read(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesXML_Read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesXML *arg1 = (XdmfValuesXML *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfValuesXML_Read",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesXML, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesXML_Read" "', argument " "1"" of type '" "XdmfValuesXML *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesXML * >(argp1);
  result = (XdmfArray *)(arg1)->Read();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesXML_Read(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValuesXML, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfValuesXML_Read__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValuesXML, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfValuesXML_Read__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfValuesXML_Read'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Read(XdmfValuesXML *,XdmfArray *)\n"
    "    Read(XdmfValuesXML *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesXML_Write__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesXML *arg1 = (XdmfValuesXML *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfValuesXML_Write",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesXML, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesXML_Write" "', argument " "1"" of type '" "XdmfValuesXML *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesXML * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValuesXML_Write" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfValuesXML_Write" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->Write(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesXML_Write__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesXML *arg1 = (XdmfValuesXML *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfValuesXML_Write",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesXML, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesXML_Write" "', argument " "1"" of type '" "XdmfValuesXML *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesXML * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValuesXML_Write" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->Write(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesXML_Write(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValuesXML, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfValuesXML_Write__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValuesXML, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfValuesXML_Write__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfValuesXML_Write'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Write(XdmfValuesXML *,XdmfArray *,XdmfConstString)\n"
    "    Write(XdmfValuesXML *,XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *XdmfValuesXML_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfValuesXML, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfValuesHDF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesHDF *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfValuesHDF")) SWIG_fail;
  result = (XdmfValuesHDF *)new XdmfValuesHDF();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfValuesHDF, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfValuesHDF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesHDF *arg1 = (XdmfValuesHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfValuesHDF",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesHDF, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfValuesHDF" "', argument " "1"" of type '" "XdmfValuesHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesHDF * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesHDF_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesHDF *arg1 = (XdmfValuesHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfValuesHDF_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesHDF_GetClassName" "', argument " "1"" of type '" "XdmfValuesHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesHDF * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesHDF_Read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesHDF *arg1 = (XdmfValuesHDF *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfValuesHDF_Read",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesHDF_Read" "', argument " "1"" of type '" "XdmfValuesHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesHDF * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValuesHDF_Read" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)(arg1)->Read(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesHDF_Read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesHDF *arg1 = (XdmfValuesHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfValuesHDF_Read",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesHDF_Read" "', argument " "1"" of type '" "XdmfValuesHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesHDF * >(argp1);
  result = (XdmfArray *)(arg1)->Read();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesHDF_Read(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValuesHDF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfValuesHDF_Read__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValuesHDF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfValuesHDF_Read__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfValuesHDF_Read'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Read(XdmfValuesHDF *,XdmfArray *)\n"
    "    Read(XdmfValuesHDF *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesHDF_Write__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesHDF *arg1 = (XdmfValuesHDF *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfValuesHDF_Write",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesHDF_Write" "', argument " "1"" of type '" "XdmfValuesHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesHDF * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValuesHDF_Write" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfValuesHDF_Write" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->Write(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesHDF_Write__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesHDF *arg1 = (XdmfValuesHDF *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfValuesHDF_Write",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesHDF_Write" "', argument " "1"" of type '" "XdmfValuesHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesHDF * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValuesHDF_Write" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->Write(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesHDF_Write(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValuesHDF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfValuesHDF_Write__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfValuesHDF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfValuesHDF_Write__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfValuesHDF_Write'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Write(XdmfValuesHDF *,XdmfArray *,XdmfConstString)\n"
    "    Write(XdmfValuesHDF *,XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfValuesHDF_DataItemFromHDF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfValuesHDF *arg1 = (XdmfValuesHDF *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfValuesHDF_DataItemFromHDF",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfValuesHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfValuesHDF_DataItemFromHDF" "', argument " "1"" of type '" "XdmfValuesHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfValuesHDF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfValuesHDF_DataItemFromHDF" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfString)(arg1)->DataItemFromHDF(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *XdmfValuesHDF_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfValuesHDF, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_XdmfArrayExpr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfString arg2 = (XdmfString) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfArrayExpr",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfArrayExpr" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfArrayExpr" "', argument " "2"" of type '" "XdmfString""'");
  }
  arg2 = reinterpret_cast< XdmfString >(buf2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfArrayExpr" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  XdmfArrayExpr(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfScalarExpr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfString arg2 = (XdmfString) 0 ;
  XdmfFloat64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfScalarExpr",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfScalarExpr" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfScalarExpr" "', argument " "2"" of type '" "XdmfString""'");
  }
  arg2 = reinterpret_cast< XdmfString >(buf2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfScalarExpr" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  XdmfScalarExpr(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfExpr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfString arg1 = (XdmfString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfExpr",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfExpr" "', argument " "1"" of type '" "XdmfString""'");
  }
  arg1 = reinterpret_cast< XdmfString >(buf1);
  result = (XdmfArray *)XdmfExpr(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfHeavyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfHeavyData")) SWIG_fail;
  result = (XdmfHeavyData *)new XdmfHeavyData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfHeavyData, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfHeavyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfHeavyData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfHeavyData" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_GetClassName" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_GetNdgmHost(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_GetNdgmHost",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_GetNdgmHost" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfConstString)(arg1)->GetNdgmHost();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_SetNdgmHost(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_SetNdgmHost",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_SetNdgmHost" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_SetNdgmHost" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  (arg1)->SetNdgmHost(arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_GetWorkingDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_GetWorkingDirectory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_GetWorkingDirectory" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfConstString)(arg1)->GetWorkingDirectory();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_SetWorkingDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_SetWorkingDirectory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_SetWorkingDirectory" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_SetWorkingDirectory" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  (arg1)->SetWorkingDirectory(arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_GetDomain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_GetDomain",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_GetDomain" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfConstString)(arg1)->GetDomain();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_SetDomain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_SetDomain",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_SetDomain" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_SetDomain" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  (arg1)->SetDomain(arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_GetFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_GetFileName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_GetFileName" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfConstString)(arg1)->GetFileName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_SetFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_SetFileName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_SetFileName" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_SetFileName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  (arg1)->SetFileName(arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_GetPath",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_GetPath" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfConstString)(arg1)->GetPath();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_SetPath",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_SetPath" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_SetPath" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  (arg1)->SetPath(arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_GetAccess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_GetAccess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_GetAccess" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfConstString)(arg1)->GetAccess();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_SetAccess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_SetAccess",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_SetAccess" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_SetAccess" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  (arg1)->SetAccess(arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_Open__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfHeavyData_Open",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_Open" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_Open" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfHeavyData_Open" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->Open(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_Open__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_Open",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_Open" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_Open" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->Open(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_XdmfHeavyData_Open__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_Open",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_Open" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfInt32)(arg1)->Open();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_Open(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHeavyData, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfHeavyData_Open__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHeavyData, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfHeavyData_Open__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHeavyData, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfHeavyData_Open__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfHeavyData_Open'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Open(XdmfHeavyData *,XdmfConstString,XdmfConstString)\n"
    "    Open(XdmfHeavyData *,XdmfConstString)\n"
    "    Open(XdmfHeavyData *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_Read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_Read",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_Read" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_Read" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)(arg1)->Read(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_Read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_Read",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_Read" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfArray *)(arg1)->Read();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_Read(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHeavyData, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfHeavyData_Read__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHeavyData, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfHeavyData_Read__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfHeavyData_Read'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Read(XdmfHeavyData *,XdmfArray *)\n"
    "    Read(XdmfHeavyData *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_Write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_Write",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_Write" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_Write" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->Write(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_Close",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_Close" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfInt32)(arg1)->Close();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_DoOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfHeavyData_DoOpen",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_DoOpen" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_DoOpen" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfHeavyData_DoOpen" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->DoOpen(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_DoRead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_DoRead",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_DoRead" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_DoRead" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)(arg1)->DoRead(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_DoWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_DoWrite",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_DoWrite" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_DoWrite" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->DoWrite(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_DoClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHeavyData_DoClose",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_DoClose" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  result = (XdmfInt32)(arg1)->DoClose();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_setOpenCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfOpenCallback *arg2 = (XdmfOpenCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_setOpenCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_setOpenCallback" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfOpenCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_setOpenCallback" "', argument " "2"" of type '" "XdmfOpenCallback *""'"); 
  }
  arg2 = reinterpret_cast< XdmfOpenCallback * >(argp2);
  (arg1)->setOpenCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_setReadCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfReadCallback *arg2 = (XdmfReadCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_setReadCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_setReadCallback" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfReadCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_setReadCallback" "', argument " "2"" of type '" "XdmfReadCallback *""'"); 
  }
  arg2 = reinterpret_cast< XdmfReadCallback * >(argp2);
  (arg1)->setReadCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_setWriteCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfWriteCallback *arg2 = (XdmfWriteCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_setWriteCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_setWriteCallback" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfWriteCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_setWriteCallback" "', argument " "2"" of type '" "XdmfWriteCallback *""'"); 
  }
  arg2 = reinterpret_cast< XdmfWriteCallback * >(argp2);
  (arg1)->setWriteCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHeavyData_setCloseCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHeavyData *arg1 = (XdmfHeavyData *) 0 ;
  XdmfCloseCallback *arg2 = (XdmfCloseCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHeavyData_setCloseCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHeavyData_setCloseCallback" "', argument " "1"" of type '" "XdmfHeavyData *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHeavyData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfCloseCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHeavyData_setCloseCallback" "', argument " "2"" of type '" "XdmfCloseCallback *""'"); 
  }
  arg2 = reinterpret_cast< XdmfCloseCallback * >(argp2);
  (arg1)->setCloseCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfHeavyData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfHeavyData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_XdmfOpenCallback_DoOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfOpenCallback *arg1 = (XdmfOpenCallback *) 0 ;
  XdmfHeavyData *arg2 = (XdmfHeavyData *) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  XdmfConstString arg4 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfOpenCallback_DoOpen",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfOpenCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfOpenCallback_DoOpen" "', argument " "1"" of type '" "XdmfOpenCallback *""'"); 
  }
  arg1 = reinterpret_cast< XdmfOpenCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfOpenCallback_DoOpen" "', argument " "2"" of type '" "XdmfHeavyData *""'"); 
  }
  arg2 = reinterpret_cast< XdmfHeavyData * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfOpenCallback_DoOpen" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfOpenCallback_DoOpen" "', argument " "4"" of type '" "XdmfConstString""'");
  }
  arg4 = reinterpret_cast< XdmfConstString >(buf4);
  result = (XdmfInt32)(arg1)->DoOpen(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfOpenCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfOpenCallback *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfOpenCallback")) SWIG_fail;
  result = (XdmfOpenCallback *)new XdmfOpenCallback();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfOpenCallback, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfOpenCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfOpenCallback *arg1 = (XdmfOpenCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfOpenCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfOpenCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfOpenCallback" "', argument " "1"" of type '" "XdmfOpenCallback *""'"); 
  }
  arg1 = reinterpret_cast< XdmfOpenCallback * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfOpenCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfOpenCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_XdmfReadCallback_DoRead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfReadCallback *arg1 = (XdmfReadCallback *) 0 ;
  XdmfHeavyData *arg2 = (XdmfHeavyData *) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 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 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfReadCallback_DoRead",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfReadCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfReadCallback_DoRead" "', argument " "1"" of type '" "XdmfReadCallback *""'"); 
  }
  arg1 = reinterpret_cast< XdmfReadCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfReadCallback_DoRead" "', argument " "2"" of type '" "XdmfHeavyData *""'"); 
  }
  arg2 = reinterpret_cast< XdmfHeavyData * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfReadCallback_DoRead" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  result = (XdmfArray *)(arg1)->DoRead(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfReadCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfReadCallback *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfReadCallback")) SWIG_fail;
  result = (XdmfReadCallback *)new XdmfReadCallback();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfReadCallback, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfReadCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfReadCallback *arg1 = (XdmfReadCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfReadCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfReadCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfReadCallback" "', argument " "1"" of type '" "XdmfReadCallback *""'"); 
  }
  arg1 = reinterpret_cast< XdmfReadCallback * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfReadCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfReadCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_XdmfWriteCallback_DoWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfWriteCallback *arg1 = (XdmfWriteCallback *) 0 ;
  XdmfHeavyData *arg2 = (XdmfHeavyData *) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfWriteCallback_DoWrite",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfWriteCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfWriteCallback_DoWrite" "', argument " "1"" of type '" "XdmfWriteCallback *""'"); 
  }
  arg1 = reinterpret_cast< XdmfWriteCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfWriteCallback_DoWrite" "', argument " "2"" of type '" "XdmfHeavyData *""'"); 
  }
  arg2 = reinterpret_cast< XdmfHeavyData * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfWriteCallback_DoWrite" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  result = (XdmfInt32)(arg1)->DoWrite(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfWriteCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfWriteCallback *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfWriteCallback")) SWIG_fail;
  result = (XdmfWriteCallback *)new XdmfWriteCallback();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfWriteCallback, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfWriteCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfWriteCallback *arg1 = (XdmfWriteCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfWriteCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfWriteCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfWriteCallback" "', argument " "1"" of type '" "XdmfWriteCallback *""'"); 
  }
  arg1 = reinterpret_cast< XdmfWriteCallback * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfWriteCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfWriteCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_XdmfCloseCallback_DoClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfCloseCallback *arg1 = (XdmfCloseCallback *) 0 ;
  XdmfHeavyData *arg2 = (XdmfHeavyData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfCloseCallback_DoClose",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfCloseCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfCloseCallback_DoClose" "', argument " "1"" of type '" "XdmfCloseCallback *""'"); 
  }
  arg1 = reinterpret_cast< XdmfCloseCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfHeavyData, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfCloseCallback_DoClose" "', argument " "2"" of type '" "XdmfHeavyData *""'"); 
  }
  arg2 = reinterpret_cast< XdmfHeavyData * >(argp2);
  result = (XdmfInt32)(arg1)->DoClose(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfCloseCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfCloseCallback *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfCloseCallback")) SWIG_fail;
  result = (XdmfCloseCallback *)new XdmfCloseCallback();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfCloseCallback, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfCloseCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfCloseCallback *arg1 = (XdmfCloseCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfCloseCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfCloseCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfCloseCallback" "', argument " "1"" of type '" "XdmfCloseCallback *""'"); 
  }
  arg1 = reinterpret_cast< XdmfCloseCallback * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfCloseCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfCloseCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfHDF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfHDF")) SWIG_fail;
  result = (XdmfHDF *)new XdmfHDF();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfHDF, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfHDF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfHDF",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfHDF" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetClassName" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_SetCompression(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_SetCompression",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_SetCompression" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfHDF_SetCompression" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetCompression(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_GetCompression(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_GetCompression",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetCompression" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfInt32)(arg1)->GetCompression();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_SetUseSerialFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_SetUseSerialFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_SetUseSerialFile" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfHDF_SetUseSerialFile" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetUseSerialFile(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_GetUseSerialFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_GetUseSerialFile",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetUseSerialFile" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfInt32)(arg1)->GetUseSerialFile();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_SetCwdName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_SetCwdName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_SetCwdName" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_SetCwdName" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetCwdName(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_XdmfHDF_GetCwdName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_GetCwdName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetCwdName" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfString)(arg1)->GetCwdName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_Cd__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_Cd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_Cd" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_Cd" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->Cd(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_XdmfHDF_Cd__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_Cd",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_Cd" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfInt32)(arg1)->Cd();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_Cd(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHDF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfHDF_Cd__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHDF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfHDF_Cd__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfHDF_Cd'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Cd(XdmfHDF *,XdmfConstString)\n"
    "    Cd(XdmfHDF *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_Mkdir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfString arg2 = (XdmfString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_Mkdir",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_Mkdir" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_Mkdir" "', argument " "2"" of type '" "XdmfString""'");
  }
  arg2 = reinterpret_cast< XdmfString >(buf2);
  result = (XdmfInt32)(arg1)->Mkdir(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_XdmfHDF_GetNumberOfChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_GetNumberOfChildren",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetNumberOfChildren" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfInt64)(arg1)->GetNumberOfChildren();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_GetHDFVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_GetHDFVersion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetHDFVersion" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfConstString)(arg1)->GetHDFVersion();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_GetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_GetChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetChild" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfHDF_GetChild" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfConstString)(arg1)->GetChild(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_SetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_SetNextChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_SetNextChild" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_SetNextChild" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  (arg1)->SetNextChild(arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_Info(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  hid_t arg2 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfHDF_Info",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_Info" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_hid_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_Info" "', argument " "2"" of type '" "hid_t""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "XdmfHDF_Info" "', argument " "2"" of type '" "hid_t""'");
    } else {
      hid_t * temp = reinterpret_cast< hid_t * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfHDF_Info" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->Info(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_GetChildType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_GetChildType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetChildType" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfHDF_GetChildType" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->GetChildType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_GetChildTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_GetChildTypeAsString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_GetChildTypeAsString" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfHDF_GetChildTypeAsString" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfConstString)(arg1)->GetChildTypeAsString(arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_CreateDataset__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_CreateDataset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_CreateDataset" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_CreateDataset" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->CreateDataset(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_XdmfHDF_CreateDataset__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_CreateDataset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_CreateDataset" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfInt32)(arg1)->CreateDataset();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_CreateDataset(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHDF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfHDF_CreateDataset__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfHDF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfHDF_CreateDataset__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfHDF_CreateDataset'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    CreateDataset(XdmfHDF *,XdmfConstString)\n"
    "    CreateDataset(XdmfHDF *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_OpenDataset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_OpenDataset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_OpenDataset" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfInt32)(arg1)->OpenDataset();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_DoOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  XdmfConstString arg3 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfHDF_DoOpen",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_DoOpen" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_DoOpen" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfHDF_DoOpen" "', argument " "3"" of type '" "XdmfConstString""'");
  }
  arg3 = reinterpret_cast< XdmfConstString >(buf3);
  result = (XdmfInt32)(arg1)->DoOpen(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_DoRead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_DoRead",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_DoRead" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_DoRead" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)(arg1)->DoRead(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_DoWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfHDF_DoWrite",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_DoWrite" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfHDF_DoWrite" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->DoWrite(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfHDF_DoClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfHDF *arg1 = (XdmfHDF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfHDF_DoClose",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfHDF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfHDF_DoClose" "', argument " "1"" of type '" "XdmfHDF *""'"); 
  }
  arg1 = reinterpret_cast< XdmfHDF * >(argp1);
  result = (XdmfInt32)(arg1)->DoClose();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfHDF_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfHDF, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_CopyArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CopyArray",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopyArray" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CopyArray" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)CopyArray(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CopyArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfArray *arg1 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:CopyArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopyArray" "', argument " "1"" of type '" "XdmfArray *""'"); 
  }
  arg1 = reinterpret_cast< XdmfArray * >(argp1);
  result = (XdmfArray *)CopyArray(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CopyArray(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_CopyArray__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_CopyArray__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'CopyArray'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    CopyArray(XdmfArray *,XdmfArray *)\n"
    "    CopyArray(XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfDomain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDomain *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDomain")) SWIG_fail;
  result = (XdmfDomain *)new XdmfDomain();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDomain, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDomain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDomain *arg1 = (XdmfDomain *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDomain",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDomain, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDomain" "', argument " "1"" of type '" "XdmfDomain *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDomain * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDomain_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDomain *arg1 = (XdmfDomain *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDomain_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDomain, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDomain_GetClassName" "', argument " "1"" of type '" "XdmfDomain *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDomain * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDomain_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDomain *arg1 = (XdmfDomain *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDomain_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDomain, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDomain_UpdateInformation" "', argument " "1"" of type '" "XdmfDomain *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDomain * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDomain_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDomain *arg1 = (XdmfDomain *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDomain_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDomain, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDomain_Insert" "', argument " "1"" of type '" "XdmfDomain *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDomain * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDomain_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDomain_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDomain *arg1 = (XdmfDomain *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDomain_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDomain, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDomain_Build" "', argument " "1"" of type '" "XdmfDomain *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDomain * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDomain_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDomain, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfRoot")) SWIG_fail;
  result = (XdmfRoot *)new XdmfRoot();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfRoot, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfRoot",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfRoot" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRoot_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRoot_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRoot_GetClassName" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRoot_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRoot_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRoot_UpdateInformation" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRoot_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfRoot_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRoot_Insert" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfRoot_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRoot_SetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  XdmfFloat32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfRoot_SetVersion",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRoot_SetVersion" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfRoot_SetVersion" "', argument " "2"" of type '" "XdmfFloat32""'");
  } 
  arg2 = static_cast< XdmfFloat32 >(val2);
  result = (XdmfInt32)(arg1)->SetVersion(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRoot_SetXInclude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfRoot_SetXInclude",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRoot_SetXInclude" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfRoot_SetXInclude" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetXInclude(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRoot_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRoot_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRoot_Build" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRoot_GetXInclude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRoot_GetXInclude",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRoot_GetXInclude" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  result = (XdmfInt32)(arg1)->GetXInclude();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRoot_GetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRoot *arg1 = (XdmfRoot *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRoot_GetVersion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRoot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRoot_GetVersion" "', argument " "1"" of type '" "XdmfRoot *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRoot * >(argp1);
  result = (XdmfFloat32)(arg1)->GetVersion();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfRoot_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfRoot, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfTopology(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfTopology")) SWIG_fail;
  result = (XdmfTopology *)new XdmfTopology();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfTopology, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfTopology(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfTopology",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfTopology" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetClassName" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_Build" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_Insert" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTopology_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetClass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetClass" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->GetClass();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetClassAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetClassAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetClassAsString" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_SetTopologyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_SetTopologyType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetTopologyType" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTopology_SetTopologyType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetTopologyType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_SetTopologyTypeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_SetTopologyTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetTopologyTypeFromString" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTopology_SetTopologyTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetTopologyTypeFromString(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_XdmfTopology_GetTopologyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetTopologyType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetTopologyType" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->GetTopologyType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetTopologyTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetTopologyTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetTopologyTypeAsString" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfConstString)(arg1)->GetTopologyTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetOrder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetOrder",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetOrder" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32 *)(arg1)->GetOrder();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetOrderAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetOrderAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetOrderAsString" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfConstString)(arg1)->GetOrderAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_SetOrderFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_SetOrderFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetOrderFromString" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTopology_SetOrderFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetOrderFromString(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_XdmfTopology_SetOrder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfInt32 arg2 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfTopology_SetOrder",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetOrder" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTopology_SetOrder" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfTopology_SetOrder" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  result = (XdmfInt32)(arg1)->SetOrder(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_SetLightDataLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_SetLightDataLimit",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetLightDataLimit" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTopology_SetLightDataLimit" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetLightDataLimit(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetLightDataLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetLightDataLimit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetLightDataLimit" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->GetLightDataLimit();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_SetNodesPerElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_SetNodesPerElement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetNodesPerElement" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTopology_SetNodesPerElement" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetNodesPerElement(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetNodesPerElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetNodesPerElement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetNodesPerElement" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->GetNodesPerElement();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetEdgesPerElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetEdgesPerElement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetEdgesPerElement" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->GetEdgesPerElement();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetFacesPerElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetFacesPerElement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetFacesPerElement" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->GetFacesPerElement();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_SetBaseOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_SetBaseOffset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetBaseOffset" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTopology_SetBaseOffset" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetBaseOffset(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetBaseOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetBaseOffset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetBaseOffset" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->GetBaseOffset();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetShapeDesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDataDesc *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetShapeDesc",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetShapeDesc" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfDataDesc *)(arg1)->GetShapeDesc();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_SetNumberOfElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_SetNumberOfElements",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetNumberOfElements" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTopology_SetNumberOfElements" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetNumberOfElements(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetNumberOfElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetNumberOfElements",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetNumberOfElements" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt64)(arg1)->GetNumberOfElements();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetConnectivity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  XdmfInt32 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 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfTopology_GetConnectivity",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetConnectivity" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTopology_GetConnectivity" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfTopology_GetConnectivity" "', argument " "3"" of type '" "XdmfInt32""'");
  } 
  arg3 = static_cast< XdmfInt32 >(val3);
  result = (XdmfArray *)(arg1)->GetConnectivity(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetConnectivity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_GetConnectivity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetConnectivity" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTopology_GetConnectivity" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)(arg1)->GetConnectivity(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetConnectivity__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetConnectivity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetConnectivity" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfArray *)(arg1)->GetConnectivity();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetConnectivity(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTopology, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfTopology_GetConnectivity__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTopology, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfTopology_GetConnectivity__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTopology, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfTopology_GetConnectivity__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfTopology_GetConnectivity'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetConnectivity(XdmfTopology *,XdmfArray *,XdmfInt32)\n"
    "    GetConnectivity(XdmfTopology *,XdmfArray *)\n"
    "    GetConnectivity(XdmfTopology *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_SetConnectivity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_SetConnectivity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_SetConnectivity" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTopology_SetConnectivity" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetConnectivity(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetCellOffsets__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTopology_GetCellOffsets",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetCellOffsets" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTopology_GetCellOffsets" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfArray *)(arg1)->GetCellOffsets(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetCellOffsets__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_GetCellOffsets",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_GetCellOffsets" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfArray *)(arg1)->GetCellOffsets();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_GetCellOffsets(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTopology, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfTopology_GetCellOffsets__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTopology, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfTopology_GetCellOffsets__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfTopology_GetCellOffsets'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetCellOffsets(XdmfTopology *,XdmfArray *)\n"
    "    GetCellOffsets(XdmfTopology *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_Update" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_UpdateInformation" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTopology_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTopology *arg1 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTopology_Release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTopology_Release" "', argument " "1"" of type '" "XdmfTopology *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTopology * >(argp1);
  result = (XdmfInt32)(arg1)->Release();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfTopology_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfTopology, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_HandleToXdmfTopology(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfString arg1 = (XdmfString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfTopology *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:HandleToXdmfTopology",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HandleToXdmfTopology" "', argument " "1"" of type '" "XdmfString""'");
  }
  arg1 = reinterpret_cast< XdmfString >(buf1);
  result = (XdmfTopology *)HandleToXdmfTopology(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfGeometry")) SWIG_fail;
  result = (XdmfGeometry *)new XdmfGeometry();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfGeometry, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfGeometry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfGeometry" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetClassName" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetNumberOfPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetNumberOfPoints",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetNumberOfPoints" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGeometry_SetNumberOfPoints" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetNumberOfPoints(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetNumberOfPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetNumberOfPoints",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetNumberOfPoints" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfInt64)(arg1)->GetNumberOfPoints();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetGeometryType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetGeometryType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetGeometryType" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGeometry_SetGeometryType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetGeometryType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetGeometryType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetGeometryType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetGeometryType" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfInt32)(arg1)->GetGeometryType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetLightDataLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetLightDataLimit",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetLightDataLimit" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGeometry_SetLightDataLimit" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetLightDataLimit(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetLightDataLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetLightDataLimit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetLightDataLimit" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfInt32)(arg1)->GetLightDataLimit();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetUnits",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetUnits" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfConstString)(arg1)->GetUnits();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetUnits",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetUnits" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetUnits" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetUnits(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_XdmfGeometry_GetGeometryTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetGeometryTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetGeometryTypeAsString" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfString)(arg1)->GetGeometryTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetGeometryTypeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetGeometryTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetGeometryTypeFromString" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetGeometryTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetGeometryTypeFromString(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_XdmfGeometry_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_Build" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_Insert" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_Update" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_UpdateInformation" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetPoints",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetPoints" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetPoints" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetPoints(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetPoints__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_GetPoints",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetPoints" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGeometry_GetPoints" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetPoints(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetPoints__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetPoints",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetPoints" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfArray *)(arg1)->GetPoints();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetPoints(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGeometry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfGeometry_GetPoints__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGeometry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfGeometry_GetPoints__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfGeometry_GetPoints'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetPoints(XdmfGeometry *,XdmfInt32)\n"
    "    GetPoints(XdmfGeometry *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_Release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_Release" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfInt32)(arg1)->Release();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetOrigin",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetOrigin" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfFloat64 *)(arg1)->GetOrigin();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetOriginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetOriginX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetOriginX" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfFloat64)(arg1)->GetOriginX();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetOriginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetOriginY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetOriginY" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfFloat64)(arg1)->GetOriginY();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetOriginZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetOriginZ",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetOriginZ" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfFloat64)(arg1)->GetOriginZ();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfFloat64 arg2 ;
  XdmfFloat64 arg3 ;
  XdmfFloat64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfGeometry_SetOrigin",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetOrigin" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGeometry_SetOrigin" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfGeometry_SetOrigin" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfGeometry_SetOrigin" "', argument " "4"" of type '" "XdmfFloat64""'");
  } 
  arg4 = static_cast< XdmfFloat64 >(val4);
  result = (XdmfInt32)(arg1)->SetOrigin(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetDxDyDz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfFloat64 arg2 ;
  XdmfFloat64 arg3 ;
  XdmfFloat64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfGeometry_SetDxDyDz",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetDxDyDz" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGeometry_SetDxDyDz" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfGeometry_SetDxDyDz" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfGeometry_SetDxDyDz" "', argument " "4"" of type '" "XdmfFloat64""'");
  } 
  arg4 = static_cast< XdmfFloat64 >(val4);
  result = (XdmfInt32)(arg1)->SetDxDyDz(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetDx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetDx",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetDx" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfFloat64)(arg1)->GetDx();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetDy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetDy",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetDy" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfFloat64)(arg1)->GetDy();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetDz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetDz",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetDz" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfFloat64)(arg1)->GetDz();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetDxDyDz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetDxDyDz",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetDxDyDz" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfFloat64 *)(arg1)->GetDxDyDz();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetVectorX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetVectorX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetVectorX" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfArray *)(arg1)->GetVectorX();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetVectorY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetVectorY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetVectorY" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfArray *)(arg1)->GetVectorY();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_GetVectorZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_GetVectorZ",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_GetVectorZ" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfArray *)(arg1)->GetVectorZ();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorX__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  XdmfBoolean 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 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfGeometry_SetVectorX",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetVectorX" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetVectorX" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfGeometry_SetVectorX" "', argument " "3"" of type '" "XdmfBoolean""'");
  } 
  arg3 = static_cast< XdmfBoolean >(val3);
  (arg1)->SetVectorX(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorX__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetVectorX",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetVectorX" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetVectorX" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  (arg1)->SetVectorX(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorX(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGeometry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfGeometry_SetVectorX__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGeometry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfGeometry_SetVectorX__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfGeometry_SetVectorX'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetVectorX(XdmfGeometry *,XdmfArray *,XdmfBoolean)\n"
    "    SetVectorX(XdmfGeometry *,XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorY__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  XdmfBoolean 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 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfGeometry_SetVectorY",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetVectorY" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetVectorY" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfGeometry_SetVectorY" "', argument " "3"" of type '" "XdmfBoolean""'");
  } 
  arg3 = static_cast< XdmfBoolean >(val3);
  (arg1)->SetVectorY(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorY__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetVectorY",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetVectorY" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetVectorY" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  (arg1)->SetVectorY(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorY(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGeometry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfGeometry_SetVectorY__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGeometry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfGeometry_SetVectorY__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfGeometry_SetVectorY'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetVectorY(XdmfGeometry *,XdmfArray *,XdmfBoolean)\n"
    "    SetVectorY(XdmfGeometry *,XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorZ__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  XdmfBoolean 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 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfGeometry_SetVectorZ",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetVectorZ" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetVectorZ" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfGeometry_SetVectorZ" "', argument " "3"" of type '" "XdmfBoolean""'");
  } 
  arg3 = static_cast< XdmfBoolean >(val3);
  (arg1)->SetVectorZ(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorZ__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGeometry_SetVectorZ",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_SetVectorZ" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGeometry_SetVectorZ" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  (arg1)->SetVectorZ(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_SetVectorZ(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGeometry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfGeometry_SetVectorZ__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGeometry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfArray, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfGeometry_SetVectorZ__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfGeometry_SetVectorZ'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SetVectorZ(XdmfGeometry *,XdmfArray *,XdmfBoolean)\n"
    "    SetVectorZ(XdmfGeometry *,XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGeometry_HasData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGeometry *arg1 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGeometry_HasData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGeometry_HasData" "', argument " "1"" of type '" "XdmfGeometry *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGeometry * >(argp1);
  result = (XdmfInt32)(arg1)->HasData();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfGeometry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfGeometry, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_GetXdmfGeometryHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  int res1 ;
  PyObject * obj0 = 0 ;
  XdmfGeometry *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:GetXdmfGeometryHandle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetXdmfGeometryHandle" "', argument " "1"" of type '" "void *""'"); 
  }
  result = (XdmfGeometry *)GetXdmfGeometryHandle(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfGrid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfGrid")) SWIG_fail;
  result = (XdmfGrid *)new XdmfGrid();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfGrid, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfGrid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfGrid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfGrid" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetClassName" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfGeometry *arg2 = (XdmfGeometry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetGeometry" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_SetGeometry" "', argument " "2"" of type '" "XdmfGeometry *""'"); 
  }
  arg2 = reinterpret_cast< XdmfGeometry * >(argp2);
  result = (XdmfInt32)(arg1)->SetGeometry(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfGeometry *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetGeometry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetGeometry" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfGeometry *)(arg1)->GetGeometry();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfGeometry, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetTopology(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfTopology *arg2 = (XdmfTopology *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetTopology",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetTopology" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfTopology, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_SetTopology" "', argument " "2"" of type '" "XdmfTopology *""'"); 
  }
  arg2 = reinterpret_cast< XdmfTopology * >(argp2);
  result = (XdmfInt32)(arg1)->SetTopology(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetTopology(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfTopology *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetTopology",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetTopology" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfTopology *)(arg1)->GetTopology();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfTopology, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfTime *arg2 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetTime" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_SetTime" "', argument " "2"" of type '" "XdmfTime *""'"); 
  }
  arg2 = reinterpret_cast< XdmfTime * >(argp2);
  result = (XdmfInt32)(arg1)->SetTime(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfTime *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetTime",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetTime" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfTime *)(arg1)->GetTime();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfTime, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetGridTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetGridTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetGridTypeAsString" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfConstString)(arg1)->GetGridTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetGridTypeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetGridTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetGridTypeFromString" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_SetGridTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetGridTypeFromString(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_XdmfGrid_GetCollectionTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetCollectionTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetCollectionTypeAsString" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfConstString)(arg1)->GetCollectionTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetCollectionTypeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetCollectionTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetCollectionTypeFromString" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_SetCollectionTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetCollectionTypeFromString(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_XdmfGrid_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_Build" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_InsertTopology(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_InsertTopology",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_InsertTopology" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->InsertTopology();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_InsertGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_InsertGeometry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_InsertGeometry" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->InsertGeometry();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_Insert" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetGridType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetGridType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetGridType" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->GetGridType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetGridType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetGridType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetGridType" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_SetGridType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetGridType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetCollectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetCollectionType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetCollectionType" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->GetCollectionType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetCollectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetCollectionType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetCollectionType" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_SetCollectionType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetCollectionType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetBuildTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetBuildTime",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetBuildTime" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->GetBuildTime();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetBuildTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetBuildTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetBuildTime" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_SetBuildTime" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetBuildTime(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_Copy",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_Copy" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_Copy" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Copy(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetNumberOfChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetNumberOfChildren",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetNumberOfChildren" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->GetNumberOfChildren();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_SetNumberOfChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_SetNumberOfChildren",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_SetNumberOfChildren" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_SetNumberOfChildren" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetNumberOfChildren(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_IsUniform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_IsUniform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_IsUniform" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->IsUniform();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetNumberOfAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetNumberOfAttributes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetNumberOfAttributes" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->GetNumberOfAttributes();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetNumberOfSets(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetNumberOfSets",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetNumberOfSets" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->GetNumberOfSets();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetNumberOfInformations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetNumberOfInformations",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetNumberOfInformations" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->GetNumberOfInformations();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfAttribute *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_GetAttribute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetAttribute" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_GetAttribute" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfAttribute *)(arg1)->GetAttribute(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetSets(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfSet *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_GetSets",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetSets" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_GetSets" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfSet *)(arg1)->GetSets(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfSet, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_AssignAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_AssignAttribute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_AssignAttribute" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_AssignAttribute" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->AssignAttribute(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_AssignAttributeByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_AssignAttributeByIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_AssignAttributeByIndex" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_AssignAttributeByIndex" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->AssignAttributeByIndex(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_AssignAttributeByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfString arg2 = (XdmfString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_AssignAttributeByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_AssignAttributeByName" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_AssignAttributeByName" "', argument " "2"" of type '" "XdmfString""'");
  }
  arg2 = reinterpret_cast< XdmfString >(buf2);
  result = (XdmfInt32)(arg1)->AssignAttributeByName(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_XdmfGrid_GetAssignedAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfAttribute *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetAssignedAttribute",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetAssignedAttribute" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfAttribute *)(arg1)->GetAssignedAttribute();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetAssignedAttributeIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_GetAssignedAttributeIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetAssignedAttributeIndex" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt64)(arg1)->GetAssignedAttributeIndex();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_UpdateInformation" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_Update" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfGrid *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_GetChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetChild" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_GetChild" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfGrid *)(arg1)->GetChild(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfGrid, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_GetInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInformation *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfGrid_GetInformation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_GetInformation" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_GetInformation" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInformation *)(arg1)->GetInformation(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfInformation, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_FindGridsInTimeRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfFloat64 arg2 ;
  XdmfFloat64 arg3 ;
  XdmfArray *arg4 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfGrid_FindGridsInTimeRange",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_FindGridsInTimeRange" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfGrid_FindGridsInTimeRange" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfGrid_FindGridsInTimeRange" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfGrid_FindGridsInTimeRange" "', argument " "4"" of type '" "XdmfArray *""'"); 
  }
  arg4 = reinterpret_cast< XdmfArray * >(argp4);
  result = (XdmfInt32)(arg1)->FindGridsInTimeRange(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_FindGridsAtTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfTime *arg2 = (XdmfTime *) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  XdmfFloat64 arg4 ;
  XdmfInt32 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfGrid_FindGridsAtTime",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "2"" of type '" "XdmfTime *""'"); 
  }
  arg2 = reinterpret_cast< XdmfTime * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "4"" of type '" "XdmfFloat64""'");
  } 
  arg4 = static_cast< XdmfFloat64 >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "5"" of type '" "XdmfInt32""'");
  } 
  arg5 = static_cast< XdmfInt32 >(val5);
  result = (XdmfInt32)(arg1)->FindGridsAtTime(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_FindGridsAtTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfTime *arg2 = (XdmfTime *) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  XdmfFloat64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfGrid_FindGridsAtTime",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "2"" of type '" "XdmfTime *""'"); 
  }
  arg2 = reinterpret_cast< XdmfTime * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "4"" of type '" "XdmfFloat64""'");
  } 
  arg4 = static_cast< XdmfFloat64 >(val4);
  result = (XdmfInt32)(arg1)->FindGridsAtTime(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_FindGridsAtTime__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  XdmfTime *arg2 = (XdmfTime *) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfGrid_FindGridsAtTime",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "2"" of type '" "XdmfTime *""'"); 
  }
  arg2 = reinterpret_cast< XdmfTime * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfGrid_FindGridsAtTime" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  result = (XdmfInt32)(arg1)->FindGridsAtTime(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_FindGridsAtTime(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGrid, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfTime, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfGrid_FindGridsAtTime__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGrid, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfTime, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfGrid_FindGridsAtTime__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfGrid, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfTime, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 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_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfGrid_FindGridsAtTime__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfGrid_FindGridsAtTime'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindGridsAtTime(XdmfGrid *,XdmfTime *,XdmfArray *,XdmfFloat64,XdmfInt32)\n"
    "    FindGridsAtTime(XdmfGrid *,XdmfTime *,XdmfArray *,XdmfFloat64)\n"
    "    FindGridsAtTime(XdmfGrid *,XdmfTime *,XdmfArray *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfGrid_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfGrid *arg1 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfGrid_Release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfGrid_Release" "', argument " "1"" of type '" "XdmfGrid *""'"); 
  }
  arg1 = reinterpret_cast< XdmfGrid * >(argp1);
  result = (XdmfInt32)(arg1)->Release();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfGrid_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfGrid, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_HandleToXdmfGrid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfString arg1 = (XdmfString) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfGrid *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:HandleToXdmfGrid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HandleToXdmfGrid" "', argument " "1"" of type '" "XdmfString""'");
  }
  arg1 = reinterpret_cast< XdmfString >(buf1);
  result = (XdmfGrid *)HandleToXdmfGrid(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfTime")) SWIG_fail;
  result = (XdmfTime *)new XdmfTime();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfTime, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfTime",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfTime" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_GetClassName" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_Insert" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_UpdateInformation" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfFloat64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_SetValue" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTime_SetValue" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  result = (XdmfInt32)(arg1)->SetValue(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_Build" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_GetValue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_GetValue" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfFloat64)(arg1)->GetValue();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_GetArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_GetArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_GetArray" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfArray *)(arg1)->GetArray();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_SetArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_SetArray",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_SetArray" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_SetArray" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetArray(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_GetDataItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDataItem *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_GetDataItem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_GetDataItem" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfDataItem *)(arg1)->GetDataItem();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_SetDataItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfDataItem *arg2 = (XdmfDataItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_SetDataItem",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_SetDataItem" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDataItem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_SetDataItem" "', argument " "2"" of type '" "XdmfDataItem *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDataItem * >(argp2);
  result = (XdmfInt32)(arg1)->SetDataItem(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_GetTimeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_GetTimeType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_GetTimeType" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfInt32)(arg1)->GetTimeType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_GetTimeTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_GetTimeTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_GetTimeTypeAsString" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfConstString)(arg1)->GetTimeTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_SetTimeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_SetTimeType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_SetTimeType" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTime_SetTimeType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetTimeType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_GetFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_GetFunction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_GetFunction" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfConstString)(arg1)->GetFunction();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_SetFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_SetFunction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_SetFunction" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_SetFunction" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetFunction(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_XdmfTime_SetTimeFromParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfTime *arg2 = (XdmfTime *) 0 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfTime_SetTimeFromParent",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_SetTimeFromParent" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_SetTimeFromParent" "', argument " "2"" of type '" "XdmfTime *""'"); 
  }
  arg2 = reinterpret_cast< XdmfTime * >(argp2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfTime_SetTimeFromParent" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfInt32)(arg1)->SetTimeFromParent(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_Evaluate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfGrid *arg2 = (XdmfGrid *) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  XdmfInt32 arg4 ;
  XdmfInt32 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfTime_Evaluate",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_Evaluate" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_Evaluate" "', argument " "2"" of type '" "XdmfGrid *""'"); 
  }
  arg2 = reinterpret_cast< XdmfGrid * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfTime_Evaluate" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfTime_Evaluate" "', argument " "4"" of type '" "XdmfInt32""'");
  } 
  arg4 = static_cast< XdmfInt32 >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfTime_Evaluate" "', argument " "5"" of type '" "XdmfInt32""'");
  } 
  arg5 = static_cast< XdmfInt32 >(val5);
  result = (XdmfInt32)(arg1)->Evaluate(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_Evaluate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfGrid *arg2 = (XdmfGrid *) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 0 ;
  XdmfInt32 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfTime_Evaluate",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_Evaluate" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_Evaluate" "', argument " "2"" of type '" "XdmfGrid *""'"); 
  }
  arg2 = reinterpret_cast< XdmfGrid * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfTime_Evaluate" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfTime_Evaluate" "', argument " "4"" of type '" "XdmfInt32""'");
  } 
  arg4 = static_cast< XdmfInt32 >(val4);
  result = (XdmfInt32)(arg1)->Evaluate(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_Evaluate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfGrid *arg2 = (XdmfGrid *) 0 ;
  XdmfArray *arg3 = (XdmfArray *) 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfTime_Evaluate",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_Evaluate" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_Evaluate" "', argument " "2"" of type '" "XdmfGrid *""'"); 
  }
  arg2 = reinterpret_cast< XdmfGrid * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfTime_Evaluate" "', argument " "3"" of type '" "XdmfArray *""'"); 
  }
  arg3 = reinterpret_cast< XdmfArray * >(argp3);
  result = (XdmfInt32)(arg1)->Evaluate(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_Evaluate__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfGrid *arg2 = (XdmfGrid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_Evaluate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_Evaluate" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfGrid, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_Evaluate" "', argument " "2"" of type '" "XdmfGrid *""'"); 
  }
  arg2 = reinterpret_cast< XdmfGrid * >(argp2);
  result = (XdmfInt32)(arg1)->Evaluate(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_Evaluate(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTime, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfGrid, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfTime_Evaluate__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTime, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfGrid, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_XdmfTime_Evaluate__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTime, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfGrid, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfTime_Evaluate__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTime, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfGrid, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_XdmfArray, 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_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfTime_Evaluate__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfTime_Evaluate'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Evaluate(XdmfTime *,XdmfGrid *,XdmfArray *,XdmfInt32,XdmfInt32)\n"
    "    Evaluate(XdmfTime *,XdmfGrid *,XdmfArray *,XdmfInt32)\n"
    "    Evaluate(XdmfTime *,XdmfGrid *,XdmfArray *)\n"
    "    Evaluate(XdmfTime *,XdmfGrid *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_IsValid__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfTime *arg2 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_IsValid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_IsValid" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfTime_IsValid" "', argument " "2"" of type '" "XdmfTime *""'"); 
  }
  arg2 = reinterpret_cast< XdmfTime * >(argp2);
  result = (XdmfInt32)(arg1)->IsValid(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_IsValid__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfFloat64 arg2 ;
  XdmfFloat64 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfTime_IsValid",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_IsValid" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTime_IsValid" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfTime_IsValid" "', argument " "3"" of type '" "XdmfFloat64""'");
  } 
  arg3 = static_cast< XdmfFloat64 >(val3);
  result = (XdmfInt32)(arg1)->IsValid(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_IsValid(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTime, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfTime, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfTime_IsValid__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfTime, 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) {
          return _wrap_XdmfTime_IsValid__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfTime_IsValid'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    IsValid(XdmfTime *,XdmfTime *)\n"
    "    IsValid(XdmfTime *,XdmfFloat64,XdmfFloat64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_SetEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  XdmfFloat64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfTime_SetEpsilon",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_SetEpsilon" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfTime_SetEpsilon" "', argument " "2"" of type '" "XdmfFloat64""'");
  } 
  arg2 = static_cast< XdmfFloat64 >(val2);
  result = (XdmfInt32)(arg1)->SetEpsilon(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfTime_GetEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfTime *arg1 = (XdmfTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfFloat64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfTime_GetEpsilon",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfTime_GetEpsilon" "', argument " "1"" of type '" "XdmfTime *""'"); 
  }
  arg1 = reinterpret_cast< XdmfTime * >(argp1);
  result = (XdmfFloat64)(arg1)->GetEpsilon();
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfTime, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfRegion")) SWIG_fail;
  result = (XdmfRegion *)new XdmfRegion();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfRegion, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfRegion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfRegion" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_GetClassName" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_SetRegionTypeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfRegion_SetRegionTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_SetRegionTypeFromString" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfRegion_SetRegionTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetRegionTypeFromString(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_XdmfRegion_GetRegionTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_GetRegionTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_GetRegionTypeAsString" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfConstString)(arg1)->GetRegionTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_SetRegionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfRegion_SetRegionType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_SetRegionType" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfRegion_SetRegionType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetRegionType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_GetRegionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_GetRegionType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_GetRegionType" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfInt32)(arg1)->GetRegionType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_GetShapeDesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDataDesc *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_GetShapeDesc",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_GetShapeDesc" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfDataDesc *)(arg1)->GetShapeDesc();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfRegion_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_Insert" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfRegion_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_SetValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfRegion_SetValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_SetValues" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfRegion_SetValues" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetValues(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_GetValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfRegion_GetValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_GetValues" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfRegion_GetValues" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetValues(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_GetValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_GetValues",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_GetValues" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfArray *)(arg1)->GetValues();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_GetValues(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfRegion, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfRegion_GetValues__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfRegion, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfRegion_GetValues__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfRegion_GetValues'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetValues(XdmfRegion *,XdmfInt32)\n"
    "    GetValues(XdmfRegion *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_UpdateInformation" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_Update" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_Build" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfRegion_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfRegion *arg1 = (XdmfRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfRegion_Release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfRegion_Release" "', argument " "1"" of type '" "XdmfRegion *""'"); 
  }
  arg1 = reinterpret_cast< XdmfRegion * >(argp1);
  result = (XdmfInt32)(arg1)->Release();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfRegion_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfRegion, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfSet")) SWIG_fail;
  result = (XdmfSet *)new XdmfSet();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfSet, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfSet" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetClassName" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_SetSetTypeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_SetSetTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_SetSetTypeFromString" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfSet_SetSetTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetSetTypeFromString(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_XdmfSet_GetSetTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetSetTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetSetTypeAsString" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfConstString)(arg1)->GetSetTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_SetSetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_SetSetType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_SetSetType" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfSet_SetSetType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetSetType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetSetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetSetType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetSetType" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt32)(arg1)->GetSetType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetSize" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt64)(arg1)->GetSize();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_SetSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_SetSize" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfSet_SetSize" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetSize(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetGhost(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetGhost",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetGhost" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt64)(arg1)->GetGhost();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_SetGhost(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_SetGhost",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_SetGhost" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfSet_SetGhost" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetGhost(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetShapeDesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDataDesc *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetShapeDesc",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetShapeDesc" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfDataDesc *)(arg1)->GetShapeDesc();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDataDesc, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_Insert" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfSet_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_SetIds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_SetIds",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_SetIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfSet_SetIds" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetIds(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetIds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_GetIds",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfSet_GetIds" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetIds(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetIds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetIds",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfArray *)(arg1)->GetIds();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetIds(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfSet_GetIds__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfSet_GetIds__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfSet_GetIds'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetIds(XdmfSet *,XdmfInt32)\n"
    "    GetIds(XdmfSet *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_SetCellIds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_SetCellIds",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_SetCellIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfSet_SetCellIds" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetCellIds(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetCellIds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_GetCellIds",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetCellIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfSet_GetCellIds" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetCellIds(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetCellIds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetCellIds",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetCellIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfArray *)(arg1)->GetCellIds();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetCellIds(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfSet_GetCellIds__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfSet_GetCellIds__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfSet_GetCellIds'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetCellIds(XdmfSet *,XdmfInt32)\n"
    "    GetCellIds(XdmfSet *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_SetFaceIds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_SetFaceIds",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_SetFaceIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfSet_SetFaceIds" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetFaceIds(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetFaceIds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_GetFaceIds",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetFaceIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfSet_GetFaceIds" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetFaceIds(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetFaceIds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetFaceIds",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetFaceIds" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfArray *)(arg1)->GetFaceIds();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetFaceIds(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfSet_GetFaceIds__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfSet_GetFaceIds__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfSet_GetFaceIds'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetFaceIds(XdmfSet *,XdmfInt32)\n"
    "    GetFaceIds(XdmfSet *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetNumberOfMaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetNumberOfMaps",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetNumberOfMaps" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt32)(arg1)->GetNumberOfMaps();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfMap *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_GetMap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetMap" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfSet_GetMap" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfMap *)(arg1)->GetMap(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfMap, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetNumberOfAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_GetNumberOfAttributes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetNumberOfAttributes" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt32)(arg1)->GetNumberOfAttributes();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_GetAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfAttribute *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfSet_GetAttribute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_GetAttribute" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfSet_GetAttribute" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfAttribute *)(arg1)->GetAttribute(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfAttribute, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_UpdateInformation" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_Update" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_Build" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfSet_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfSet *arg1 = (XdmfSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfSet_Release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfSet_Release" "', argument " "1"" of type '" "XdmfSet *""'"); 
  }
  arg1 = reinterpret_cast< XdmfSet * >(argp1);
  result = (XdmfInt32)(arg1)->Release();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfSet, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfMap")) SWIG_fail;
  result = (XdmfMap *)new XdmfMap();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfMap, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfMap",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfMap" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetClassName" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_SetMapTypeFromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfConstString arg2 = (XdmfConstString) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_SetMapTypeFromString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_SetMapTypeFromString" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfMap_SetMapTypeFromString" "', argument " "2"" of type '" "XdmfConstString""'");
  }
  arg2 = reinterpret_cast< XdmfConstString >(buf2);
  result = (XdmfInt32)(arg1)->SetMapTypeFromString(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_XdmfMap_GetMapTypeAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_GetMapTypeAsString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetMapTypeAsString" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfConstString)(arg1)->GetMapTypeAsString();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_SetMapType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_SetMapType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_SetMapType" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfMap_SetMapType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetMapType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetMapType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_GetMapType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetMapType" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfInt32)(arg1)->GetMapType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetItemLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_GetItemLength",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetItemLength" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfInt32)(arg1)->GetItemLength();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_SetItemLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_SetItemLength",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_SetItemLength" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfMap_SetItemLength" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetItemLength(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetMapLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_GetMapLength",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetMapLength" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfInt64)(arg1)->GetMapLength();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_SetMapLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_SetMapLength",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_SetMapLength" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfMap_SetMapLength" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetMapLength(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfElement *arg2 = (XdmfElement *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_Insert",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_Insert" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfElement, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfMap_Insert" "', argument " "2"" of type '" "XdmfElement *""'"); 
  }
  arg2 = reinterpret_cast< XdmfElement * >(argp2);
  result = (XdmfInt32)(arg1)->Insert(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_SetIds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_SetIds",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_SetIds" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfMap_SetIds" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetIds(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetIds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_GetIds",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetIds" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfMap_GetIds" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetIds(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetIds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_GetIds",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetIds" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfArray *)(arg1)->GetIds();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetIds(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfMap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfMap_GetIds__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfMap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfMap_GetIds__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfMap_GetIds'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetIds(XdmfMap *,XdmfInt32)\n"
    "    GetIds(XdmfMap *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_SetMapIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_SetMapIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_SetMapIndex" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfMap_SetMapIndex" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetMapIndex(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetMapIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_GetMapIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetMapIndex" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfMap_GetMapIndex" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetMapIndex(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetMapIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_GetMapIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetMapIndex" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfArray *)(arg1)->GetMapIndex();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetMapIndex(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfMap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfMap_GetMapIndex__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfMap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfMap_GetMapIndex__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfMap_GetMapIndex'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetMapIndex(XdmfMap *,XdmfInt32)\n"
    "    GetMapIndex(XdmfMap *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_SetMapData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_SetMapData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_SetMapData" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfMap_SetMapData" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetMapData(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetMapData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfMap_GetMapData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetMapData" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfMap_GetMapData" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfArray *)(arg1)->GetMapData(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetMapData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_GetMapData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_GetMapData" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfArray *)(arg1)->GetMapData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_GetMapData(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfMap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfMap_GetMapData__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfMap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_XdmfMap_GetMapData__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfMap_GetMapData'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    GetMapData(XdmfMap *,XdmfInt32)\n"
    "    GetMapData(XdmfMap *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_UpdateInformation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_UpdateInformation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_UpdateInformation" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfInt32)(arg1)->UpdateInformation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_Update" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfInt32)(arg1)->Update();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_Build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_Build",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_Build" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfInt32)(arg1)->Build();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfMap_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfMap *arg1 = (XdmfMap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfMap_Release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfMap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfMap_Release" "', argument " "1"" of type '" "XdmfMap *""'"); 
  }
  arg1 = reinterpret_cast< XdmfMap * >(argp1);
  result = (XdmfInt32)(arg1)->Release();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfMap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfMap, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfDsm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDsm")) SWIG_fail;
  result = (XdmfDsm *)new XdmfDsm();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsm, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDsm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDsm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDsm" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetClassName" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetDsmType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetDsmType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetDsmType" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfInt32)(arg1)->GetDsmType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetDsmType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetDsmType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetDsmType" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SetDsmType" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetDsmType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetEndAddress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetEndAddress",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetEndAddress" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfInt64)(arg1)->GetEndAddress();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetEndAddress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetEndAddress",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetEndAddress" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SetEndAddress" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetEndAddress(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetStartAddress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetStartAddress",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetStartAddress" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfInt64)(arg1)->GetStartAddress();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetStartAddress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetStartAddress",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetStartAddress" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SetStartAddress" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetStartAddress(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetStartServerId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetStartServerId",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetStartServerId" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfInt32)(arg1)->GetStartServerId();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetStartServerId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetStartServerId",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetStartServerId" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SetStartServerId" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetStartServerId(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetEndServerId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetEndServerId",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetEndServerId" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfInt32)(arg1)->GetEndServerId();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetEndServerId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetEndServerId",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetEndServerId" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SetEndServerId" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetEndServerId(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetLength",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetLength" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfInt64)(arg1)->GetLength();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetLength",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetLength" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SetLength" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetLength(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetTotalLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetTotalLength",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetTotalLength" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfInt64)(arg1)->GetTotalLength();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetTotalLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetTotalLength",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetTotalLength" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SetTotalLength" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetTotalLength(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetStorage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetStorage",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetStorage" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfArray *)(arg1)->GetStorage();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetStorage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfArray *arg2 = (XdmfArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetStorage",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetStorage" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfArray, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_SetStorage" "', argument " "2"" of type '" "XdmfArray *""'"); 
  }
  arg2 = reinterpret_cast< XdmfArray * >(argp2);
  result = (XdmfInt32)(arg1)->SetStorage(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetComm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDsmComm *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetComm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetComm" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfDsmComm *)(arg1)->GetComm();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetComm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfDsmComm *arg2 = (XdmfDsmComm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetComm",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetComm" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_SetComm" "', argument " "2"" of type '" "XdmfDsmComm *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmComm * >(argp2);
  result = (XdmfInt32)(arg1)->SetComm(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfDsmMsg *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_GetMsg",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetMsg" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfDsmMsg *)(arg1)->GetMsg();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SetMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfDsmMsg *arg2 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_SetMsg",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SetMsg" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_SetMsg" "', argument " "2"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmMsg * >(argp2);
  result = (XdmfInt32)(arg1)->SetMsg(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_GetAddressRangeForId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 arg2 ;
  XdmfInt64 *arg3 = (XdmfInt64 *) 0 ;
  XdmfInt64 *arg4 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDsm_GetAddressRangeForId",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_GetAddressRangeForId" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_GetAddressRangeForId" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDsm_GetAddressRangeForId" "', argument " "3"" of type '" "XdmfInt64 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt64 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDsm_GetAddressRangeForId" "', argument " "4"" of type '" "XdmfInt64 *""'"); 
  }
  arg4 = reinterpret_cast< XdmfInt64 * >(argp4);
  result = (XdmfInt32)(arg1)->GetAddressRangeForId(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ConfigureUniform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfDsmComm *arg2 = (XdmfDsmComm *) 0 ;
  XdmfInt64 arg3 ;
  XdmfInt32 arg4 ;
  XdmfInt32 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long long 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 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfDsm_ConfigureUniform",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "2"" of type '" "XdmfDsmComm *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmComm * >(argp2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "4"" of type '" "XdmfInt32""'");
  } 
  arg4 = static_cast< XdmfInt32 >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "5"" of type '" "XdmfInt32""'");
  } 
  arg5 = static_cast< XdmfInt32 >(val5);
  result = (XdmfInt32)(arg1)->ConfigureUniform(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ConfigureUniform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfDsmComm *arg2 = (XdmfDsmComm *) 0 ;
  XdmfInt64 arg3 ;
  XdmfInt32 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDsm_ConfigureUniform",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "2"" of type '" "XdmfDsmComm *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmComm * >(argp2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "4"" of type '" "XdmfInt32""'");
  } 
  arg4 = static_cast< XdmfInt32 >(val4);
  result = (XdmfInt32)(arg1)->ConfigureUniform(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ConfigureUniform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfDsmComm *arg2 = (XdmfDsmComm *) 0 ;
  XdmfInt64 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:XdmfDsm_ConfigureUniform",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "2"" of type '" "XdmfDsmComm *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmComm * >(argp2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDsm_ConfigureUniform" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  result = (XdmfInt32)(arg1)->ConfigureUniform(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ConfigureUniform(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsm, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfDsmComm, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_XdmfDsm_ConfigureUniform__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsm, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfDsmComm, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_long_SS_long(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_XdmfDsm_ConfigureUniform__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsm, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_XdmfDsmComm, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_long_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfDsm_ConfigureUniform__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDsm_ConfigureUniform'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    ConfigureUniform(XdmfDsm *,XdmfDsmComm *,XdmfInt64,XdmfInt32,XdmfInt32)\n"
    "    ConfigureUniform(XdmfDsm *,XdmfDsmComm *,XdmfInt64,XdmfInt32)\n"
    "    ConfigureUniform(XdmfDsm *,XdmfDsmComm *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_AddressToId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_AddressToId",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_AddressToId" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_AddressToId" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->AddressToId(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SendCommandHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 arg2 ;
  XdmfInt32 arg3 ;
  XdmfInt64 arg4 ;
  XdmfInt64 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  long long val4 ;
  int ecode4 = 0 ;
  long long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfDsm_SendCommandHeader",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SendCommandHeader" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SendCommandHeader" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDsm_SendCommandHeader" "', argument " "3"" of type '" "XdmfInt32""'");
  } 
  arg3 = static_cast< XdmfInt32 >(val3);
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDsm_SendCommandHeader" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_long_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfDsm_SendCommandHeader" "', argument " "5"" of type '" "XdmfInt64""'");
  } 
  arg5 = static_cast< XdmfInt64 >(val5);
  result = (XdmfInt32)(arg1)->SendCommandHeader(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ReceiveCommandHeader__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 *arg2 = (XdmfInt32 *) 0 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  XdmfInt64 *arg4 = (XdmfInt64 *) 0 ;
  XdmfInt64 *arg5 = (XdmfInt64 *) 0 ;
  XdmfInt32 arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XdmfDsm_ReceiveCommandHeader",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "2"" of type '" "XdmfInt32 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt32 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "4"" of type '" "XdmfInt64 *""'"); 
  }
  arg4 = reinterpret_cast< XdmfInt64 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "5"" of type '" "XdmfInt64 *""'"); 
  }
  arg5 = reinterpret_cast< XdmfInt64 * >(argp5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "6"" of type '" "XdmfInt32""'");
  } 
  arg6 = static_cast< XdmfInt32 >(val6);
  result = (XdmfInt32)(arg1)->ReceiveCommandHeader(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ReceiveCommandHeader__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 *arg2 = (XdmfInt32 *) 0 ;
  XdmfInt32 *arg3 = (XdmfInt32 *) 0 ;
  XdmfInt64 *arg4 = (XdmfInt64 *) 0 ;
  XdmfInt64 *arg5 = (XdmfInt64 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfDsm_ReceiveCommandHeader",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "2"" of type '" "XdmfInt32 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt32 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "3"" of type '" "XdmfInt32 *""'"); 
  }
  arg3 = reinterpret_cast< XdmfInt32 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "4"" of type '" "XdmfInt64 *""'"); 
  }
  arg4 = reinterpret_cast< XdmfInt64 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_long_long, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XdmfDsm_ReceiveCommandHeader" "', argument " "5"" of type '" "XdmfInt64 *""'"); 
  }
  arg5 = reinterpret_cast< XdmfInt64 * >(argp5);
  result = (XdmfInt32)(arg1)->ReceiveCommandHeader(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ReceiveCommandHeader(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsm, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_long_long, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_long_long, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_XdmfDsm_ReceiveCommandHeader__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsm, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_long_long, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_long_long, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_XdmfDsm_ReceiveCommandHeader__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDsm_ReceiveCommandHeader'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    ReceiveCommandHeader(XdmfDsm *,XdmfInt32 *,XdmfInt32 *,XdmfInt64 *,XdmfInt64 *,XdmfInt32)\n"
    "    ReceiveCommandHeader(XdmfDsm *,XdmfInt32 *,XdmfInt32 *,XdmfInt64 *,XdmfInt64 *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SendData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 arg2 ;
  void *arg3 = (void *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDsm_SendData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SendData" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_SendData" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDsm_SendData" "', argument " "3"" of type '" "void *""'"); 
  }
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDsm_SendData" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->SendData(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ReceiveData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 arg2 ;
  void *arg3 = (void *) 0 ;
  XdmfInt64 arg4 ;
  XdmfInt32 arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  long long val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:XdmfDsm_ReceiveData",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_ReceiveData" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_ReceiveData" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDsm_ReceiveData" "', argument " "3"" of type '" "void *""'"); 
  }
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDsm_ReceiveData" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "XdmfDsm_ReceiveData" "', argument " "5"" of type '" "XdmfInt32""'");
  } 
  arg5 = static_cast< XdmfInt32 >(val5);
  result = (XdmfInt32)(arg1)->ReceiveData(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ReceiveData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfInt32 arg2 ;
  void *arg3 = (void *) 0 ;
  XdmfInt64 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  long long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDsm_ReceiveData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_ReceiveData" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsm_ReceiveData" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XdmfDsm_ReceiveData" "', argument " "3"" of type '" "void *""'"); 
  }
  ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XdmfDsm_ReceiveData" "', argument " "4"" of type '" "XdmfInt64""'");
  } 
  arg4 = static_cast< XdmfInt64 >(val4);
  result = (XdmfInt32)(arg1)->ReceiveData(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_ReceiveData(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsm, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *ptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_XdmfDsm_ReceiveData__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsm, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *ptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_long_SS_long(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_XdmfDsm_ReceiveData__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDsm_ReceiveData'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    ReceiveData(XdmfDsm *,XdmfInt32,void *,XdmfInt64,XdmfInt32)\n"
    "    ReceiveData(XdmfDsm *,XdmfInt32,void *,XdmfInt64)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  XdmfDsm *arg2 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsm_Copy",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_Copy" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsm_Copy" "', argument " "2"" of type '" "XdmfDsm *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsm * >(argp2);
  result = (XdmfInt32)(arg1)->Copy(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsm_SendDone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsm *arg1 = (XdmfDsm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsm_SendDone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsm_SendDone" "', argument " "1"" of type '" "XdmfDsm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsm * >(argp1);
  result = (XdmfInt32)(arg1)->SendDone();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDsm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDsm, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfDsmMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDsmMsg")) SWIG_fail;
  result = (XdmfDsmMsg *)new XdmfDsmMsg();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsmMsg, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDsmMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDsmMsg",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDsmMsg" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_SetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_SetSource",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_SetSource" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmMsg_SetSource" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetSource(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_GetSource",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_GetSource" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (XdmfInt32)(arg1)->GetSource();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_SetDest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_SetDest",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_SetDest" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmMsg_SetDest" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetDest(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_GetDest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_GetDest",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_GetDest" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (XdmfInt32)(arg1)->GetDest();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_SetTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_SetTag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_SetTag" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmMsg_SetTag" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetTag(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_GetTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_GetTag",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_GetTag" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (XdmfInt32)(arg1)->GetTag();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_SetLength",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_SetLength" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmMsg_SetLength" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->SetLength(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_GetLength",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_GetLength" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (XdmfInt64)(arg1)->GetLength();
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_SetData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_SetData" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmMsg_SetData" "', argument " "2"" of type '" "void *""'"); 
  }
  result = (XdmfInt32)(arg1)->SetData(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_GetData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_GetData" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (void *)(arg1)->GetData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_Source_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Source_set" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmMsg_Source_set" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  if (arg1) (arg1)->Source = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_Source_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Source_get" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (XdmfInt32) ((arg1)->Source);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Dest_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_Dest_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Dest_set" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmMsg_Dest_set" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  if (arg1) (arg1)->Dest = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Dest_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_Dest_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Dest_get" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (XdmfInt32) ((arg1)->Dest);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Tag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_Tag_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Tag_set" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmMsg_Tag_set" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  if (arg1) (arg1)->Tag = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Tag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_Tag_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Tag_get" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (XdmfInt32) ((arg1)->Tag);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Length_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_Length_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Length_set" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmMsg_Length_set" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  if (arg1) (arg1)->Length = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Length_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt64 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_Length_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Length_get" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (XdmfInt64) ((arg1)->Length);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmMsg_Data_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Data_set" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmMsg_Data_set" "', argument " "2"" of type '" "void *""'"); 
  }
  if (arg1) (arg1)->Data = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmMsg_Data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmMsg *arg1 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmMsg_Data_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmMsg_Data_get" "', argument " "1"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmMsg * >(argp1);
  result = (void *) ((arg1)->Data);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDsmMsg_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDsmMsg, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_XdmfDsmBufferServiceThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  int res1 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBufferServiceThread",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBufferServiceThread" "', argument " "1"" of type '" "void *""'"); 
  }
  result = (void *)XdmfDsmBufferServiceThread(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_XdmfDsmBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDsmBuffer")) SWIG_fail;
  result = (XdmfDsmBuffer *)new XdmfDsmBuffer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsmBuffer, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDsmBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDsmBuffer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDsmBuffer" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBuffer_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_GetClassName" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_GetThreadDsmReady(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBuffer_GetThreadDsmReady",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_GetThreadDsmReady" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  result = (XdmfInt32)(arg1)->GetThreadDsmReady();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_SetThreadDsmReady(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmBuffer_SetThreadDsmReady",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_SetThreadDsmReady" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmBuffer_SetThreadDsmReady" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetThreadDsmReady(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_Put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  int res4 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDsmBuffer_Put",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_Put" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmBuffer_Put" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDsmBuffer_Put" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDsmBuffer_Put" "', argument " "4"" of type '" "void *""'"); 
  }
  result = (XdmfInt32)(arg1)->Put(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt64 arg2 ;
  XdmfInt64 arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  long long val3 ;
  int ecode3 = 0 ;
  int res4 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:XdmfDsmBuffer_Get",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_Get" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmBuffer_Get" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XdmfDsmBuffer_Get" "', argument " "3"" of type '" "XdmfInt64""'");
  } 
  arg3 = static_cast< XdmfInt64 >(val3);
  res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XdmfDsmBuffer_Get" "', argument " "4"" of type '" "void *""'"); 
  }
  result = (XdmfInt32)(arg1)->Get(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_Aquire(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmBuffer_Aquire",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_Aquire" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmBuffer_Aquire" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->Aquire(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmBuffer_Release",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_Release" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmBuffer_Release" "', argument " "2"" of type '" "XdmfInt64""'");
  } 
  arg2 = static_cast< XdmfInt64 >(val2);
  result = (XdmfInt32)(arg1)->Release(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBuffer_ServiceInit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_ServiceInit" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  result = (XdmfInt32)(arg1)->ServiceInit();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceOnce__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt32 *arg2 = (XdmfInt32 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmBuffer_ServiceOnce",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_ServiceOnce" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmBuffer_ServiceOnce" "', argument " "2"" of type '" "XdmfInt32 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt32 * >(argp2);
  result = (XdmfInt32)(arg1)->ServiceOnce(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceOnce__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBuffer_ServiceOnce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_ServiceOnce" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  result = (XdmfInt32)(arg1)->ServiceOnce();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceOnce(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsmBuffer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDsmBuffer_ServiceOnce__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsmBuffer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDsmBuffer_ServiceOnce__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDsmBuffer_ServiceOnce'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    ServiceOnce(XdmfDsmBuffer *,XdmfInt32 *)\n"
    "    ServiceOnce(XdmfDsmBuffer *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceUntilIdle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt32 *arg2 = (XdmfInt32 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmBuffer_ServiceUntilIdle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_ServiceUntilIdle" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmBuffer_ServiceUntilIdle" "', argument " "2"" of type '" "XdmfInt32 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt32 * >(argp2);
  result = (XdmfInt32)(arg1)->ServiceUntilIdle(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceUntilIdle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBuffer_ServiceUntilIdle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_ServiceUntilIdle" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  result = (XdmfInt32)(arg1)->ServiceUntilIdle();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceUntilIdle(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsmBuffer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDsmBuffer_ServiceUntilIdle__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsmBuffer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDsmBuffer_ServiceUntilIdle__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDsmBuffer_ServiceUntilIdle'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    ServiceUntilIdle(XdmfDsmBuffer *,XdmfInt32 *)\n"
    "    ServiceUntilIdle(XdmfDsmBuffer *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceLoop__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt32 *arg2 = (XdmfInt32 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmBuffer_ServiceLoop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_ServiceLoop" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmBuffer_ServiceLoop" "', argument " "2"" of type '" "XdmfInt32 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt32 * >(argp2);
  result = (XdmfInt32)(arg1)->ServiceLoop(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceLoop__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBuffer_ServiceLoop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_ServiceLoop" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  result = (XdmfInt32)(arg1)->ServiceLoop();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceLoop(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsmBuffer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDsmBuffer_ServiceLoop__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsmBuffer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDsmBuffer_ServiceLoop__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDsmBuffer_ServiceLoop'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    ServiceLoop(XdmfDsmBuffer *,XdmfInt32 *)\n"
    "    ServiceLoop(XdmfDsmBuffer *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_Service__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  XdmfInt32 *arg2 = (XdmfInt32 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmBuffer_Service",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_Service" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmBuffer_Service" "', argument " "2"" of type '" "XdmfInt32 *""'"); 
  }
  arg2 = reinterpret_cast< XdmfInt32 * >(argp2);
  result = (XdmfInt32)(arg1)->Service(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_Service__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBuffer_Service",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_Service" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  result = (XdmfInt32)(arg1)->Service();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_Service(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsmBuffer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_XdmfDsmBuffer_Service__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XdmfDsmBuffer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_XdmfDsmBuffer_Service__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XdmfDsmBuffer_Service'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    Service(XdmfDsmBuffer *,XdmfInt32 *)\n"
    "    Service(XdmfDsmBuffer *)\n");
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmBuffer_ServiceThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmBuffer *arg1 = (XdmfDsmBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmBuffer_ServiceThread",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmBuffer_ServiceThread" "', argument " "1"" of type '" "XdmfDsmBuffer *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmBuffer * >(argp1);
  result = (void *)(arg1)->ServiceThread();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDsmBuffer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDsmBuffer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfDsmComm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDsmComm")) SWIG_fail;
  result = (XdmfDsmComm *)new XdmfDsmComm();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsmComm, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDsmComm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDsmComm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDsmComm" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmComm_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_GetClassName" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmComm_GetId",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_GetId" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  result = (XdmfInt32)(arg1)->GetId();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmComm_SetId",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_SetId" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmComm_SetId" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetId(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_GetTotalSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmComm_GetTotalSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_GetTotalSize" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  result = (XdmfInt32)(arg1)->GetTotalSize();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_SetTotalSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  XdmfInt32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmComm_SetTotalSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_SetTotalSize" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XdmfDsmComm_SetTotalSize" "', argument " "2"" of type '" "XdmfInt32""'");
  } 
  arg2 = static_cast< XdmfInt32 >(val2);
  result = (XdmfInt32)(arg1)->SetTotalSize(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmComm_Init",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_Init" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  result = (XdmfInt32)(arg1)->Init();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_Send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  XdmfDsmMsg *arg2 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmComm_Send",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_Send" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmComm_Send" "', argument " "2"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmMsg * >(argp2);
  result = (XdmfInt32)(arg1)->Send(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_Receive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  XdmfDsmMsg *arg2 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmComm_Receive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_Receive" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmComm_Receive" "', argument " "2"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmMsg * >(argp2);
  result = (XdmfInt32)(arg1)->Receive(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  XdmfDsmMsg *arg2 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmComm_Check",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_Check" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmComm_Check" "', argument " "2"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmMsg * >(argp2);
  result = (XdmfInt32)(arg1)->Check(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmComm_Barrier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmComm *arg1 = (XdmfDsmComm *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmComm_Barrier",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmComm, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmComm_Barrier" "', argument " "1"" of type '" "XdmfDsmComm *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmComm * >(argp1);
  result = (XdmfInt32)(arg1)->Barrier();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDsmComm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDsmComm, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_XdmfDsmCommMpi(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmCommMpi *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_XdmfDsmCommMpi")) SWIG_fail;
  result = (XdmfDsmCommMpi *)new XdmfDsmCommMpi();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XdmfDsmCommMpi, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_XdmfDsmCommMpi(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmCommMpi *arg1 = (XdmfDsmCommMpi *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_XdmfDsmCommMpi",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmCommMpi, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XdmfDsmCommMpi" "', argument " "1"" of type '" "XdmfDsmCommMpi *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmCommMpi * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmCommMpi_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmCommMpi *arg1 = (XdmfDsmCommMpi *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfConstString result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmCommMpi_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmCommMpi, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmCommMpi_GetClassName" "', argument " "1"" of type '" "XdmfDsmCommMpi *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmCommMpi * >(argp1);
  result = (XdmfConstString)(arg1)->GetClassName();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmCommMpi_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmCommMpi *arg1 = (XdmfDsmCommMpi *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmCommMpi_Init",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmCommMpi, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmCommMpi_Init" "', argument " "1"" of type '" "XdmfDsmCommMpi *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmCommMpi * >(argp1);
  result = (XdmfInt32)(arg1)->Init();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmCommMpi_Send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmCommMpi *arg1 = (XdmfDsmCommMpi *) 0 ;
  XdmfDsmMsg *arg2 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmCommMpi_Send",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmCommMpi, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmCommMpi_Send" "', argument " "1"" of type '" "XdmfDsmCommMpi *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmCommMpi * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmCommMpi_Send" "', argument " "2"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmMsg * >(argp2);
  result = (XdmfInt32)(arg1)->Send(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmCommMpi_Receive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmCommMpi *arg1 = (XdmfDsmCommMpi *) 0 ;
  XdmfDsmMsg *arg2 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmCommMpi_Receive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmCommMpi, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmCommMpi_Receive" "', argument " "1"" of type '" "XdmfDsmCommMpi *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmCommMpi * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmCommMpi_Receive" "', argument " "2"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmMsg * >(argp2);
  result = (XdmfInt32)(arg1)->Receive(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmCommMpi_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmCommMpi *arg1 = (XdmfDsmCommMpi *) 0 ;
  XdmfDsmMsg *arg2 = (XdmfDsmMsg *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:XdmfDsmCommMpi_Check",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmCommMpi, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmCommMpi_Check" "', argument " "1"" of type '" "XdmfDsmCommMpi *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmCommMpi * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XdmfDsmMsg, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XdmfDsmCommMpi_Check" "', argument " "2"" of type '" "XdmfDsmMsg *""'"); 
  }
  arg2 = reinterpret_cast< XdmfDsmMsg * >(argp2);
  result = (XdmfInt32)(arg1)->Check(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_XdmfDsmCommMpi_Barrier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  XdmfDsmCommMpi *arg1 = (XdmfDsmCommMpi *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  XdmfInt32 result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:XdmfDsmCommMpi_Barrier",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XdmfDsmCommMpi, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XdmfDsmCommMpi_Barrier" "', argument " "1"" of type '" "XdmfDsmCommMpi *""'"); 
  }
  arg1 = reinterpret_cast< XdmfDsmCommMpi * >(argp1);
  result = (XdmfInt32)(arg1)->Barrier();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *XdmfDsmCommMpi_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_XdmfDsmCommMpi, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

static PyMethodDef SwigMethods[] = {
	 { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
	 { (char *)"new_XdmfObject", _wrap_new_XdmfObject, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfObject", _wrap_delete_XdmfObject, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_GetClassName", _wrap_XdmfObject_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_SetDebug", _wrap_XdmfObject_SetDebug, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_GetDebug", _wrap_XdmfObject_GetDebug, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_GetGlobalDebug", _wrap_XdmfObject_GetGlobalDebug, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_SetGlobalDebug", _wrap_XdmfObject_SetGlobalDebug, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_DebugOn", _wrap_XdmfObject_DebugOn, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_DebugOff", _wrap_XdmfObject_DebugOff, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_GlobalDebugOn", _wrap_XdmfObject_GlobalDebugOn, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_GlobalDebugOff", _wrap_XdmfObject_GlobalDebugOff, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_GetUniqueName", _wrap_XdmfObject_GetUniqueName, METH_VARARGS, NULL},
	 { (char *)"XdmfObject_swigregister", XdmfObject_swigregister, METH_VARARGS, NULL},
	 { (char *)"SetGlobalDebugOn", _wrap_SetGlobalDebugOn, METH_VARARGS, NULL},
	 { (char *)"SetGlobalDebugOff", _wrap_SetGlobalDebugOff, METH_VARARGS, NULL},
	 { (char *)"GetGlobalDebug", _wrap_GetGlobalDebug, METH_VARARGS, NULL},
	 { (char *)"SetGlobalDebug", _wrap_SetGlobalDebug, METH_VARARGS, NULL},
	 { (char *)"GetUnique", _wrap_GetUnique, METH_VARARGS, NULL},
	 { (char *)"XdmfObjectToHandle", _wrap_XdmfObjectToHandle, METH_VARARGS, NULL},
	 { (char *)"HandleToXdmfObject", _wrap_HandleToXdmfObject, METH_VARARGS, NULL},
	 { (char *)"VoidPointerHandleToXdmfPointer", _wrap_VoidPointerHandleToXdmfPointer, METH_VARARGS, NULL},
	 { (char *)"new_XdmfLightData", _wrap_new_XdmfLightData, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfLightData", _wrap_delete_XdmfLightData, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_GetClassName", _wrap_XdmfLightData_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_SetName", _wrap_XdmfLightData_SetName, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_GetName", _wrap_XdmfLightData_GetName, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_SetFileName", _wrap_XdmfLightData_SetFileName, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_GetFileName", _wrap_XdmfLightData_GetFileName, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_SetWorkingDirectory", _wrap_XdmfLightData_SetWorkingDirectory, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_GetWorkingDirectory", _wrap_XdmfLightData_GetWorkingDirectory, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_GetInitialized", _wrap_XdmfLightData_GetInitialized, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_SetInitialized", _wrap_XdmfLightData_SetInitialized, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_GetReturnBuffer", _wrap_XdmfLightData_GetReturnBuffer, METH_VARARGS, NULL},
	 { (char *)"XdmfLightData_swigregister", XdmfLightData_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfElement", _wrap_new_XdmfElement, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfElement", _wrap_delete_XdmfElement, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetClassName", _wrap_XdmfElement_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetDOM", _wrap_XdmfElement_SetDOM, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetDOM", _wrap_XdmfElement_GetDOM, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetState", _wrap_XdmfElement_SetState, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetState", _wrap_XdmfElement_GetState, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetIsReference", _wrap_XdmfElement_SetIsReference, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetIsReference", _wrap_XdmfElement_GetIsReference, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_CheckForReference", _wrap_XdmfElement_CheckForReference, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_InsertChildElement", _wrap_XdmfElement_InsertChildElement, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_Serialize", _wrap_XdmfElement_Serialize, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetElement", _wrap_XdmfElement_SetElement, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetElement", _wrap_XdmfElement_GetElement, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetCopyReferenceData", _wrap_XdmfElement_SetCopyReferenceData, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetCopyReferenceData", _wrap_XdmfElement_GetCopyReferenceData, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetElementName", _wrap_XdmfElement_GetElementName, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetElementName", _wrap_XdmfElement_SetElementName, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetDataXml", _wrap_XdmfElement_GetDataXml, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetDataXml", _wrap_XdmfElement_SetDataXml, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetInsertedDataXml", _wrap_XdmfElement_GetInsertedDataXml, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetInsertedDataXml", _wrap_XdmfElement_SetInsertedDataXml, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_BuildFromDataXml", _wrap_XdmfElement_BuildFromDataXml, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetElementType", _wrap_XdmfElement_GetElementType, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_UpdateInformation", _wrap_XdmfElement_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_Update", _wrap_XdmfElement_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_Build", _wrap_XdmfElement_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_Set", _wrap_XdmfElement_Set, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_Get", _wrap_XdmfElement_Get, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_Copy", _wrap_XdmfElement_Copy, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_Insert", _wrap_XdmfElement_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_FollowReference", _wrap_XdmfElement_FollowReference, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetDsmBuffer", _wrap_XdmfElement_GetDsmBuffer, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetDsmBuffer", _wrap_XdmfElement_SetDsmBuffer, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_SetDeleteOnGridDelete", _wrap_XdmfElement_SetDeleteOnGridDelete, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_GetDeleteOnGridDelete", _wrap_XdmfElement_GetDeleteOnGridDelete, METH_VARARGS, NULL},
	 { (char *)"XdmfElement_swigregister", XdmfElement_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfElementData", _wrap_new_XdmfElementData, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfElementData", _wrap_delete_XdmfElementData, METH_VARARGS, NULL},
	 { (char *)"XdmfElementData_SetReferenceElement", _wrap_XdmfElementData_SetReferenceElement, METH_VARARGS, NULL},
	 { (char *)"XdmfElementData_GetReferenceElement", _wrap_XdmfElementData_GetReferenceElement, METH_VARARGS, NULL},
	 { (char *)"XdmfElementData_SetCurrentXdmfElement", _wrap_XdmfElementData_SetCurrentXdmfElement, METH_VARARGS, NULL},
	 { (char *)"XdmfElementData_GetCurrentXdmfElement", _wrap_XdmfElementData_GetCurrentXdmfElement, METH_VARARGS, NULL},
	 { (char *)"XdmfElementData_swigregister", XdmfElementData_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfAttribute", _wrap_new_XdmfAttribute, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfAttribute", _wrap_delete_XdmfAttribute, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetClassName", _wrap_XdmfAttribute_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_SetAttributeType", _wrap_XdmfAttribute_SetAttributeType, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetAttributeType", _wrap_XdmfAttribute_GetAttributeType, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_SetLightDataLimit", _wrap_XdmfAttribute_SetLightDataLimit, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetLightDataLimit", _wrap_XdmfAttribute_GetLightDataLimit, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_SetActive", _wrap_XdmfAttribute_SetActive, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetActive", _wrap_XdmfAttribute_GetActive, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_Insert", _wrap_XdmfAttribute_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_SetAttributeTypeFromString", _wrap_XdmfAttribute_SetAttributeTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetAttributeTypeAsString", _wrap_XdmfAttribute_GetAttributeTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_SetAttributeCenterFromString", _wrap_XdmfAttribute_SetAttributeCenterFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetAttributeCenterAsString", _wrap_XdmfAttribute_GetAttributeCenterAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_SetAttributeCenter", _wrap_XdmfAttribute_SetAttributeCenter, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetAttributeCenter", _wrap_XdmfAttribute_GetAttributeCenter, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetUnits", _wrap_XdmfAttribute_GetUnits, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_SetUnits", _wrap_XdmfAttribute_SetUnits, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetShapeDesc", _wrap_XdmfAttribute_GetShapeDesc, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_SetValues", _wrap_XdmfAttribute_SetValues, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_GetValues", _wrap_XdmfAttribute_GetValues, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_UpdateInformation", _wrap_XdmfAttribute_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_Update", _wrap_XdmfAttribute_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_Build", _wrap_XdmfAttribute_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_Release", _wrap_XdmfAttribute_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfAttribute_swigregister", XdmfAttribute_swigregister, METH_VARARGS, NULL},
	 { (char *)"XdmfTypeToHDF5Type", _wrap_XdmfTypeToHDF5Type, METH_VARARGS, NULL},
	 { (char *)"HDF5TypeToXdmfType", _wrap_HDF5TypeToXdmfType, METH_VARARGS, NULL},
	 { (char *)"XdmfTypeToString", _wrap_XdmfTypeToString, METH_VARARGS, NULL},
	 { (char *)"StringToXdmfType", _wrap_StringToXdmfType, METH_VARARGS, NULL},
	 { (char *)"XdmfTypeToClassString", _wrap_XdmfTypeToClassString, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDataDesc", _wrap_new_XdmfDataDesc, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDataDesc", _wrap_delete_XdmfDataDesc, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_Print", _wrap_XdmfDataDesc_Print, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SetNumberType", _wrap_XdmfDataDesc_SetNumberType, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SetNumberTypeFromString", _wrap_XdmfDataDesc_SetNumberTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetNumberType", _wrap_XdmfDataDesc_GetNumberType, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetNumberTypeAsString", _wrap_XdmfDataDesc_GetNumberTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SetShape", _wrap_XdmfDataDesc_SetShape, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetShape", _wrap_XdmfDataDesc_GetShape, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetShapeAsString", _wrap_XdmfDataDesc_GetShapeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_CopySelection", _wrap_XdmfDataDesc_CopySelection, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_CopyShape", _wrap_XdmfDataDesc_CopyShape, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_CopyType", _wrap_XdmfDataDesc_CopyType, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SetNumberOfElements", _wrap_XdmfDataDesc_SetNumberOfElements, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SetShapeFromString", _wrap_XdmfDataDesc_SetShapeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SelectAll", _wrap_XdmfDataDesc_SelectAll, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SelectHyperSlab", _wrap_XdmfDataDesc_SelectHyperSlab, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SelectHyperSlabFromString", _wrap_XdmfDataDesc_SelectHyperSlabFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetHyperSlab", _wrap_XdmfDataDesc_GetHyperSlab, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetHyperSlabAsString", _wrap_XdmfDataDesc_GetHyperSlabAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SelectCoordinates", _wrap_XdmfDataDesc_SelectCoordinates, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SelectCoordinatesFromString", _wrap_XdmfDataDesc_SelectCoordinatesFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetCoordinates", _wrap_XdmfDataDesc_GetCoordinates, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetCoordinatesAsString", _wrap_XdmfDataDesc_GetCoordinatesAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetSelectionSize", _wrap_XdmfDataDesc_GetSelectionSize, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetNumberOfElements", _wrap_XdmfDataDesc_GetNumberOfElements, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetCompression", _wrap_XdmfDataDesc_GetCompression, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SetCompression", _wrap_XdmfDataDesc_SetCompression, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetRank", _wrap_XdmfDataDesc_GetRank, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetDimension", _wrap_XdmfDataDesc_GetDimension, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetStart", _wrap_XdmfDataDesc_GetStart, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetStride", _wrap_XdmfDataDesc_GetStride, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetCount", _wrap_XdmfDataDesc_GetCount, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetSelectionType", _wrap_XdmfDataDesc_GetSelectionType, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetSelectionTypeAsString", _wrap_XdmfDataDesc_GetSelectionTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetDataType", _wrap_XdmfDataDesc_GetDataType, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetDataSpace", _wrap_XdmfDataDesc_GetDataSpace, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetElementSize", _wrap_XdmfDataDesc_GetElementSize, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_AddCompoundMemberFromString", _wrap_XdmfDataDesc_AddCompoundMemberFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetNumberOfMembers", _wrap_XdmfDataDesc_GetNumberOfMembers, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetMemberName", _wrap_XdmfDataDesc_GetMemberName, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetMemberLength", _wrap_XdmfDataDesc_GetMemberLength, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetMemberSize", _wrap_XdmfDataDesc_GetMemberSize, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetMemberShape", _wrap_XdmfDataDesc_GetMemberShape, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetMemberShapeAsString", _wrap_XdmfDataDesc_GetMemberShapeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetMemberType", _wrap_XdmfDataDesc_GetMemberType, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetMemberTypeAsString", _wrap_XdmfDataDesc_GetMemberTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetMemberOffset", _wrap_XdmfDataDesc_GetMemberOffset, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SetHeavyDataSetName", _wrap_XdmfDataDesc_SetHeavyDataSetName, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetHeavyDataSetName", _wrap_XdmfDataDesc_GetHeavyDataSetName, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_GetDsmBuffer", _wrap_XdmfDataDesc_GetDsmBuffer, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_SetDsmBuffer", _wrap_XdmfDataDesc_SetDsmBuffer, METH_VARARGS, NULL},
	 { (char *)"XdmfDataDesc_swigregister", XdmfDataDesc_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfArray", _wrap_new_XdmfArray, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfArray", _wrap_delete_XdmfArray, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetClassName", _wrap_XdmfArray_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetTagName", _wrap_XdmfArray_GetTagName, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetCoreLength", _wrap_XdmfArray_GetCoreLength, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_Allocate", _wrap_XdmfArray_Allocate, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetAllowAllocate", _wrap_XdmfArray_SetAllowAllocate, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetAllowAllocate", _wrap_XdmfArray_GetAllowAllocate, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetShape", _wrap_XdmfArray_SetShape, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetShapeFromString", _wrap_XdmfArray_SetShapeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetShapeFromSelection", _wrap_XdmfArray_SetShapeFromSelection, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetNumberOfElements", _wrap_XdmfArray_SetNumberOfElements, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_ReformFromString", _wrap_XdmfArray_ReformFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_ReformFromSelection", _wrap_XdmfArray_ReformFromSelection, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_CopyShape", _wrap_XdmfArray_CopyShape, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetDataPointer", _wrap_XdmfArray_GetDataPointer, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetDataPointer", _wrap_XdmfArray_SetDataPointer, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_Reset", _wrap_XdmfArray_Reset, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetValueFromFloat64", _wrap_XdmfArray_SetValueFromFloat64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetValueFromInt64", _wrap_XdmfArray_SetValueFromInt64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetValues", _wrap_XdmfArray_SetValues, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValuesAsInt8", _wrap_XdmfArray_GetValuesAsInt8, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetValuesFromInt8", _wrap_XdmfArray_SetValuesFromInt8, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValuesAsInt32", _wrap_XdmfArray_GetValuesAsInt32, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetValuesFromInt32", _wrap_XdmfArray_SetValuesFromInt32, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValuesAsInt64", _wrap_XdmfArray_GetValuesAsInt64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetValuesFromInt64", _wrap_XdmfArray_SetValuesFromInt64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValuesAsFloat32", _wrap_XdmfArray_GetValuesAsFloat32, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetValuesFromFloat32", _wrap_XdmfArray_SetValuesFromFloat32, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValuesAsFloat64", _wrap_XdmfArray_GetValuesAsFloat64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetValuesFromFloat64", _wrap_XdmfArray_SetValuesFromFloat64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValueAsFloat64", _wrap_XdmfArray_GetValueAsFloat64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValueAsFloat32", _wrap_XdmfArray_GetValueAsFloat32, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValueAsInt64", _wrap_XdmfArray_GetValueAsInt64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValueAsInt32", _wrap_XdmfArray_GetValueAsInt32, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValueAsInt16", _wrap_XdmfArray_GetValueAsInt16, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValueAsInt8", _wrap_XdmfArray_GetValueAsInt8, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetValues", _wrap_XdmfArray_GetValues, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_Generate", _wrap_XdmfArray_Generate, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_Clone", _wrap_XdmfArray_Clone, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_Reference", _wrap_XdmfArray_Reference, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetMaxAsFloat64", _wrap_XdmfArray_GetMaxAsFloat64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetMinAsFloat64", _wrap_XdmfArray_GetMinAsFloat64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetMaxAsInt64", _wrap_XdmfArray_GetMaxAsInt64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetMinAsInt64", _wrap_XdmfArray_GetMinAsInt64, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetMean", _wrap_XdmfArray_GetMean, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_SetDataFromChars", _wrap_XdmfArray_SetDataFromChars, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_GetDataPointerAsCharPointer", _wrap_XdmfArray_GetDataPointerAsCharPointer, METH_VARARGS, NULL},
	 { (char *)"XdmfArray_swigregister", XdmfArray_swigregister, METH_VARARGS, NULL},
	 { (char *)"XdmfArrayList_name_set", _wrap_XdmfArrayList_name_set, METH_VARARGS, NULL},
	 { (char *)"XdmfArrayList_name_get", _wrap_XdmfArrayList_name_get, METH_VARARGS, NULL},
	 { (char *)"XdmfArrayList_timecntr_set", _wrap_XdmfArrayList_timecntr_set, METH_VARARGS, NULL},
	 { (char *)"XdmfArrayList_timecntr_get", _wrap_XdmfArrayList_timecntr_get, METH_VARARGS, NULL},
	 { (char *)"XdmfArrayList_Array_set", _wrap_XdmfArrayList_Array_set, METH_VARARGS, NULL},
	 { (char *)"XdmfArrayList_Array_get", _wrap_XdmfArrayList_Array_get, METH_VARARGS, NULL},
	 { (char *)"new_XdmfArrayList", _wrap_new_XdmfArrayList, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfArrayList", _wrap_delete_XdmfArrayList, METH_VARARGS, NULL},
	 { (char *)"XdmfArrayList_swigregister", XdmfArrayList_swigregister, METH_VARARGS, NULL},
	 { (char *)"TagNameToArray", _wrap_TagNameToArray, METH_VARARGS, NULL},
	 { (char *)"PrintAllXdmfArrays", _wrap_PrintAllXdmfArrays, METH_VARARGS, NULL},
	 { (char *)"GetNextOlderArray", _wrap_GetNextOlderArray, METH_VARARGS, NULL},
	 { (char *)"GetCurrentArrayTime", _wrap_GetCurrentArrayTime, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDOM", _wrap_new_XdmfDOM, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDOM", _wrap_delete_XdmfDOM, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetClassName", _wrap_XdmfDOM_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_SetInputFileName", _wrap_XdmfDOM_SetInputFileName, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_SetOutputFileName", _wrap_XdmfDOM_SetOutputFileName, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetInputFileName", _wrap_XdmfDOM_GetInputFileName, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetOutputFileName", _wrap_XdmfDOM_GetOutputFileName, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_SetParserOptions", _wrap_XdmfDOM_SetParserOptions, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetOutput", _wrap_XdmfDOM_GetOutput, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_SetOutput", _wrap_XdmfDOM_SetOutput, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetInput", _wrap_XdmfDOM_GetInput, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_SetInput", _wrap_XdmfDOM_SetInput, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GenerateHead", _wrap_XdmfDOM_GenerateHead, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetDTD", _wrap_XdmfDOM_GetDTD, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_SetDTD", _wrap_XdmfDOM_SetDTD, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_Puts", _wrap_XdmfDOM_Puts, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GenerateTail", _wrap_XdmfDOM_GenerateTail, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetTree", _wrap_XdmfDOM_GetTree, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM___Parse", _wrap_XdmfDOM___Parse, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_Parse", _wrap_XdmfDOM_Parse, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetRoot", _wrap_XdmfDOM_GetRoot, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetNumberOfChildren", _wrap_XdmfDOM_GetNumberOfChildren, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetChild", _wrap_XdmfDOM_GetChild, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetNumberOfAttributes", _wrap_XdmfDOM_GetNumberOfAttributes, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetAttributeName", _wrap_XdmfDOM_GetAttributeName, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_IsChild", _wrap_XdmfDOM_IsChild, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_Serialize", _wrap_XdmfDOM_Serialize, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_Write", _wrap_XdmfDOM_Write, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_Insert", _wrap_XdmfDOM_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_InsertFromString", _wrap_XdmfDOM_InsertFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_Create", _wrap_XdmfDOM_Create, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_InsertNew", _wrap_XdmfDOM_InsertNew, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_DeleteNode", _wrap_XdmfDOM_DeleteNode, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_FindElement", _wrap_XdmfDOM_FindElement, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_FindNextElement", _wrap_XdmfDOM_FindNextElement, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_FindDataElement", _wrap_XdmfDOM_FindDataElement, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_FindElementByAttribute", _wrap_XdmfDOM_FindElementByAttribute, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_FindElementByPath", _wrap_XdmfDOM_FindElementByPath, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_FindNumberOfElements", _wrap_XdmfDOM_FindNumberOfElements, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_FindNumberOfElementsByAttribute", _wrap_XdmfDOM_FindNumberOfElementsByAttribute, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetPath", _wrap_XdmfDOM_GetPath, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetNdgmHost", _wrap_XdmfDOM_GetNdgmHost, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_SetNdgmHost", _wrap_XdmfDOM_SetNdgmHost, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_Get", _wrap_XdmfDOM_Get, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetAttribute", _wrap_XdmfDOM_GetAttribute, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_GetCData", _wrap_XdmfDOM_GetCData, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_Set", _wrap_XdmfDOM_Set, METH_VARARGS, NULL},
	 { (char *)"XdmfDOM_swigregister", XdmfDOM_swigregister, METH_VARARGS, NULL},
	 { (char *)"HandleToXdmfDOM", _wrap_HandleToXdmfDOM, METH_VARARGS, NULL},
	 { (char *)"new_XdmfInformation", _wrap_new_XdmfInformation, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfInformation", _wrap_delete_XdmfInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfInformation_GetClassName", _wrap_XdmfInformation_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfInformation_Insert", _wrap_XdmfInformation_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfInformation_UpdateInformation", _wrap_XdmfInformation_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfInformation_SetValue", _wrap_XdmfInformation_SetValue, METH_VARARGS, NULL},
	 { (char *)"XdmfInformation_Build", _wrap_XdmfInformation_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfInformation_GetValue", _wrap_XdmfInformation_GetValue, METH_VARARGS, NULL},
	 { (char *)"XdmfInformation_swigregister", XdmfInformation_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDataItem", _wrap_new_XdmfDataItem, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDataItem", _wrap_delete_XdmfDataItem, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetClassName", _wrap_XdmfDataItem_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetValues", _wrap_XdmfDataItem_GetValues, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetFormat", _wrap_XdmfDataItem_GetFormat, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetFormat", _wrap_XdmfDataItem_SetFormat, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_Insert", _wrap_XdmfDataItem_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetArrayIsMine", _wrap_XdmfDataItem_SetArrayIsMine, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetArrayIsMine", _wrap_XdmfDataItem_GetArrayIsMine, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_UpdateInformation", _wrap_XdmfDataItem_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_Update", _wrap_XdmfDataItem_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_Build", _wrap_XdmfDataItem_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetDataDesc", _wrap_XdmfDataItem_GetDataDesc, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetDataDesc", _wrap_XdmfDataItem_SetDataDesc, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetArray", _wrap_XdmfDataItem_GetArray, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetArray", _wrap_XdmfDataItem_SetArray, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetDataValues", _wrap_XdmfDataItem_GetDataValues, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetDataValues", _wrap_XdmfDataItem_SetDataValues, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetRank", _wrap_XdmfDataItem_GetRank, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetShape", _wrap_XdmfDataItem_SetShape, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetShape", _wrap_XdmfDataItem_GetShape, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetShapeAsString", _wrap_XdmfDataItem_GetShapeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetDimensions", _wrap_XdmfDataItem_GetDimensions, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetDimensions", _wrap_XdmfDataItem_SetDimensions, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetDimensionsFromString", _wrap_XdmfDataItem_SetDimensionsFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetHeavyDataSetName", _wrap_XdmfDataItem_SetHeavyDataSetName, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetHeavyDataSetName", _wrap_XdmfDataItem_GetHeavyDataSetName, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_Copy", _wrap_XdmfDataItem_Copy, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetItemType", _wrap_XdmfDataItem_SetItemType, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetItemType", _wrap_XdmfDataItem_GetItemType, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetIsMultiple", _wrap_XdmfDataItem_GetIsMultiple, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetFunction", _wrap_XdmfDataItem_SetFunction, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetFunction", _wrap_XdmfDataItem_GetFunction, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_Release", _wrap_XdmfDataItem_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetColumnMajor", _wrap_XdmfDataItem_GetColumnMajor, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetColumnMajor", _wrap_XdmfDataItem_SetColumnMajor, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_GetTransposeInMemory", _wrap_XdmfDataItem_GetTransposeInMemory, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_SetTransposeInMemory", _wrap_XdmfDataItem_SetTransposeInMemory, METH_VARARGS, NULL},
	 { (char *)"XdmfDataItem_swigregister", XdmfDataItem_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDataStructure", _wrap_new_XdmfDataStructure, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDataStructure", _wrap_delete_XdmfDataStructure, METH_VARARGS, NULL},
	 { (char *)"XdmfDataStructure_GetClassName", _wrap_XdmfDataStructure_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfDataStructure_UpdateInformation", _wrap_XdmfDataStructure_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfDataStructure_swigregister", XdmfDataStructure_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfValues", _wrap_new_XdmfValues, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfValues", _wrap_delete_XdmfValues, METH_VARARGS, NULL},
	 { (char *)"XdmfValues_GetClassName", _wrap_XdmfValues_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfValues_Inherit", _wrap_XdmfValues_Inherit, METH_VARARGS, NULL},
	 { (char *)"XdmfValues_Read", _wrap_XdmfValues_Read, METH_VARARGS, NULL},
	 { (char *)"XdmfValues_Write", _wrap_XdmfValues_Write, METH_VARARGS, NULL},
	 { (char *)"XdmfValues_swigregister", XdmfValues_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfValuesXML", _wrap_new_XdmfValuesXML, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfValuesXML", _wrap_delete_XdmfValuesXML, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesXML_GetClassName", _wrap_XdmfValuesXML_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesXML_Read", _wrap_XdmfValuesXML_Read, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesXML_Write", _wrap_XdmfValuesXML_Write, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesXML_swigregister", XdmfValuesXML_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfValuesHDF", _wrap_new_XdmfValuesHDF, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfValuesHDF", _wrap_delete_XdmfValuesHDF, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesHDF_GetClassName", _wrap_XdmfValuesHDF_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesHDF_Read", _wrap_XdmfValuesHDF_Read, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesHDF_Write", _wrap_XdmfValuesHDF_Write, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesHDF_DataItemFromHDF", _wrap_XdmfValuesHDF_DataItemFromHDF, METH_VARARGS, NULL},
	 { (char *)"XdmfValuesHDF_swigregister", XdmfValuesHDF_swigregister, METH_VARARGS, NULL},
	 { (char *)"XdmfArrayExpr", _wrap_XdmfArrayExpr, METH_VARARGS, NULL},
	 { (char *)"XdmfScalarExpr", _wrap_XdmfScalarExpr, METH_VARARGS, NULL},
	 { (char *)"XdmfExpr", _wrap_XdmfExpr, METH_VARARGS, NULL},
	 { (char *)"new_XdmfHeavyData", _wrap_new_XdmfHeavyData, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfHeavyData", _wrap_delete_XdmfHeavyData, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_GetClassName", _wrap_XdmfHeavyData_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_GetNdgmHost", _wrap_XdmfHeavyData_GetNdgmHost, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_SetNdgmHost", _wrap_XdmfHeavyData_SetNdgmHost, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_GetWorkingDirectory", _wrap_XdmfHeavyData_GetWorkingDirectory, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_SetWorkingDirectory", _wrap_XdmfHeavyData_SetWorkingDirectory, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_GetDomain", _wrap_XdmfHeavyData_GetDomain, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_SetDomain", _wrap_XdmfHeavyData_SetDomain, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_GetFileName", _wrap_XdmfHeavyData_GetFileName, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_SetFileName", _wrap_XdmfHeavyData_SetFileName, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_GetPath", _wrap_XdmfHeavyData_GetPath, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_SetPath", _wrap_XdmfHeavyData_SetPath, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_GetAccess", _wrap_XdmfHeavyData_GetAccess, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_SetAccess", _wrap_XdmfHeavyData_SetAccess, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_Open", _wrap_XdmfHeavyData_Open, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_Read", _wrap_XdmfHeavyData_Read, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_Write", _wrap_XdmfHeavyData_Write, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_Close", _wrap_XdmfHeavyData_Close, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_DoOpen", _wrap_XdmfHeavyData_DoOpen, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_DoRead", _wrap_XdmfHeavyData_DoRead, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_DoWrite", _wrap_XdmfHeavyData_DoWrite, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_DoClose", _wrap_XdmfHeavyData_DoClose, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_setOpenCallback", _wrap_XdmfHeavyData_setOpenCallback, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_setReadCallback", _wrap_XdmfHeavyData_setReadCallback, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_setWriteCallback", _wrap_XdmfHeavyData_setWriteCallback, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_setCloseCallback", _wrap_XdmfHeavyData_setCloseCallback, METH_VARARGS, NULL},
	 { (char *)"XdmfHeavyData_swigregister", XdmfHeavyData_swigregister, METH_VARARGS, NULL},
	 { (char *)"XdmfOpenCallback_DoOpen", _wrap_XdmfOpenCallback_DoOpen, METH_VARARGS, NULL},
	 { (char *)"new_XdmfOpenCallback", _wrap_new_XdmfOpenCallback, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfOpenCallback", _wrap_delete_XdmfOpenCallback, METH_VARARGS, NULL},
	 { (char *)"XdmfOpenCallback_swigregister", XdmfOpenCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"XdmfReadCallback_DoRead", _wrap_XdmfReadCallback_DoRead, METH_VARARGS, NULL},
	 { (char *)"new_XdmfReadCallback", _wrap_new_XdmfReadCallback, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfReadCallback", _wrap_delete_XdmfReadCallback, METH_VARARGS, NULL},
	 { (char *)"XdmfReadCallback_swigregister", XdmfReadCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"XdmfWriteCallback_DoWrite", _wrap_XdmfWriteCallback_DoWrite, METH_VARARGS, NULL},
	 { (char *)"new_XdmfWriteCallback", _wrap_new_XdmfWriteCallback, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfWriteCallback", _wrap_delete_XdmfWriteCallback, METH_VARARGS, NULL},
	 { (char *)"XdmfWriteCallback_swigregister", XdmfWriteCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"XdmfCloseCallback_DoClose", _wrap_XdmfCloseCallback_DoClose, METH_VARARGS, NULL},
	 { (char *)"new_XdmfCloseCallback", _wrap_new_XdmfCloseCallback, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfCloseCallback", _wrap_delete_XdmfCloseCallback, METH_VARARGS, NULL},
	 { (char *)"XdmfCloseCallback_swigregister", XdmfCloseCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfHDF", _wrap_new_XdmfHDF, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfHDF", _wrap_delete_XdmfHDF, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetClassName", _wrap_XdmfHDF_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_SetCompression", _wrap_XdmfHDF_SetCompression, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetCompression", _wrap_XdmfHDF_GetCompression, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_SetUseSerialFile", _wrap_XdmfHDF_SetUseSerialFile, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetUseSerialFile", _wrap_XdmfHDF_GetUseSerialFile, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_SetCwdName", _wrap_XdmfHDF_SetCwdName, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetCwdName", _wrap_XdmfHDF_GetCwdName, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_Cd", _wrap_XdmfHDF_Cd, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_Mkdir", _wrap_XdmfHDF_Mkdir, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetNumberOfChildren", _wrap_XdmfHDF_GetNumberOfChildren, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetHDFVersion", _wrap_XdmfHDF_GetHDFVersion, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetChild", _wrap_XdmfHDF_GetChild, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_SetNextChild", _wrap_XdmfHDF_SetNextChild, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_Info", _wrap_XdmfHDF_Info, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetChildType", _wrap_XdmfHDF_GetChildType, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_GetChildTypeAsString", _wrap_XdmfHDF_GetChildTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_CreateDataset", _wrap_XdmfHDF_CreateDataset, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_OpenDataset", _wrap_XdmfHDF_OpenDataset, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_DoOpen", _wrap_XdmfHDF_DoOpen, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_DoRead", _wrap_XdmfHDF_DoRead, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_DoWrite", _wrap_XdmfHDF_DoWrite, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_DoClose", _wrap_XdmfHDF_DoClose, METH_VARARGS, NULL},
	 { (char *)"XdmfHDF_swigregister", XdmfHDF_swigregister, METH_VARARGS, NULL},
	 { (char *)"CopyArray", _wrap_CopyArray, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDomain", _wrap_new_XdmfDomain, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDomain", _wrap_delete_XdmfDomain, METH_VARARGS, NULL},
	 { (char *)"XdmfDomain_GetClassName", _wrap_XdmfDomain_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfDomain_UpdateInformation", _wrap_XdmfDomain_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfDomain_Insert", _wrap_XdmfDomain_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfDomain_Build", _wrap_XdmfDomain_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfDomain_swigregister", XdmfDomain_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfRoot", _wrap_new_XdmfRoot, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfRoot", _wrap_delete_XdmfRoot, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_GetClassName", _wrap_XdmfRoot_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_UpdateInformation", _wrap_XdmfRoot_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_Insert", _wrap_XdmfRoot_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_SetVersion", _wrap_XdmfRoot_SetVersion, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_SetXInclude", _wrap_XdmfRoot_SetXInclude, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_Build", _wrap_XdmfRoot_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_GetXInclude", _wrap_XdmfRoot_GetXInclude, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_GetVersion", _wrap_XdmfRoot_GetVersion, METH_VARARGS, NULL},
	 { (char *)"XdmfRoot_swigregister", XdmfRoot_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfTopology", _wrap_new_XdmfTopology, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfTopology", _wrap_delete_XdmfTopology, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetClassName", _wrap_XdmfTopology_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_Build", _wrap_XdmfTopology_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_Insert", _wrap_XdmfTopology_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetClass", _wrap_XdmfTopology_GetClass, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetClassAsString", _wrap_XdmfTopology_GetClassAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetTopologyType", _wrap_XdmfTopology_SetTopologyType, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetTopologyTypeFromString", _wrap_XdmfTopology_SetTopologyTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetTopologyType", _wrap_XdmfTopology_GetTopologyType, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetTopologyTypeAsString", _wrap_XdmfTopology_GetTopologyTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetOrder", _wrap_XdmfTopology_GetOrder, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetOrderAsString", _wrap_XdmfTopology_GetOrderAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetOrderFromString", _wrap_XdmfTopology_SetOrderFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetOrder", _wrap_XdmfTopology_SetOrder, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetLightDataLimit", _wrap_XdmfTopology_SetLightDataLimit, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetLightDataLimit", _wrap_XdmfTopology_GetLightDataLimit, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetNodesPerElement", _wrap_XdmfTopology_SetNodesPerElement, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetNodesPerElement", _wrap_XdmfTopology_GetNodesPerElement, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetEdgesPerElement", _wrap_XdmfTopology_GetEdgesPerElement, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetFacesPerElement", _wrap_XdmfTopology_GetFacesPerElement, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetBaseOffset", _wrap_XdmfTopology_SetBaseOffset, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetBaseOffset", _wrap_XdmfTopology_GetBaseOffset, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetShapeDesc", _wrap_XdmfTopology_GetShapeDesc, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetNumberOfElements", _wrap_XdmfTopology_SetNumberOfElements, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetNumberOfElements", _wrap_XdmfTopology_GetNumberOfElements, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetConnectivity", _wrap_XdmfTopology_GetConnectivity, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_SetConnectivity", _wrap_XdmfTopology_SetConnectivity, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_GetCellOffsets", _wrap_XdmfTopology_GetCellOffsets, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_Update", _wrap_XdmfTopology_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_UpdateInformation", _wrap_XdmfTopology_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_Release", _wrap_XdmfTopology_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfTopology_swigregister", XdmfTopology_swigregister, METH_VARARGS, NULL},
	 { (char *)"HandleToXdmfTopology", _wrap_HandleToXdmfTopology, METH_VARARGS, NULL},
	 { (char *)"new_XdmfGeometry", _wrap_new_XdmfGeometry, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfGeometry", _wrap_delete_XdmfGeometry, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetClassName", _wrap_XdmfGeometry_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetNumberOfPoints", _wrap_XdmfGeometry_SetNumberOfPoints, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetNumberOfPoints", _wrap_XdmfGeometry_GetNumberOfPoints, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetGeometryType", _wrap_XdmfGeometry_SetGeometryType, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetGeometryType", _wrap_XdmfGeometry_GetGeometryType, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetLightDataLimit", _wrap_XdmfGeometry_SetLightDataLimit, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetLightDataLimit", _wrap_XdmfGeometry_GetLightDataLimit, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetUnits", _wrap_XdmfGeometry_GetUnits, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetUnits", _wrap_XdmfGeometry_SetUnits, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetGeometryTypeAsString", _wrap_XdmfGeometry_GetGeometryTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetGeometryTypeFromString", _wrap_XdmfGeometry_SetGeometryTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_Build", _wrap_XdmfGeometry_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_Insert", _wrap_XdmfGeometry_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_Update", _wrap_XdmfGeometry_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_UpdateInformation", _wrap_XdmfGeometry_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetPoints", _wrap_XdmfGeometry_SetPoints, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetPoints", _wrap_XdmfGeometry_GetPoints, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_Release", _wrap_XdmfGeometry_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetOrigin", _wrap_XdmfGeometry_GetOrigin, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetOriginX", _wrap_XdmfGeometry_GetOriginX, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetOriginY", _wrap_XdmfGeometry_GetOriginY, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetOriginZ", _wrap_XdmfGeometry_GetOriginZ, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetOrigin", _wrap_XdmfGeometry_SetOrigin, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetDxDyDz", _wrap_XdmfGeometry_SetDxDyDz, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetDx", _wrap_XdmfGeometry_GetDx, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetDy", _wrap_XdmfGeometry_GetDy, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetDz", _wrap_XdmfGeometry_GetDz, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetDxDyDz", _wrap_XdmfGeometry_GetDxDyDz, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetVectorX", _wrap_XdmfGeometry_GetVectorX, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetVectorY", _wrap_XdmfGeometry_GetVectorY, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_GetVectorZ", _wrap_XdmfGeometry_GetVectorZ, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetVectorX", _wrap_XdmfGeometry_SetVectorX, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetVectorY", _wrap_XdmfGeometry_SetVectorY, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_SetVectorZ", _wrap_XdmfGeometry_SetVectorZ, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_HasData", _wrap_XdmfGeometry_HasData, METH_VARARGS, NULL},
	 { (char *)"XdmfGeometry_swigregister", XdmfGeometry_swigregister, METH_VARARGS, NULL},
	 { (char *)"GetXdmfGeometryHandle", _wrap_GetXdmfGeometryHandle, METH_VARARGS, NULL},
	 { (char *)"new_XdmfGrid", _wrap_new_XdmfGrid, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfGrid", _wrap_delete_XdmfGrid, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetClassName", _wrap_XdmfGrid_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetGeometry", _wrap_XdmfGrid_SetGeometry, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetGeometry", _wrap_XdmfGrid_GetGeometry, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetTopology", _wrap_XdmfGrid_SetTopology, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetTopology", _wrap_XdmfGrid_GetTopology, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetTime", _wrap_XdmfGrid_SetTime, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetTime", _wrap_XdmfGrid_GetTime, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetGridTypeAsString", _wrap_XdmfGrid_GetGridTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetGridTypeFromString", _wrap_XdmfGrid_SetGridTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetCollectionTypeAsString", _wrap_XdmfGrid_GetCollectionTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetCollectionTypeFromString", _wrap_XdmfGrid_SetCollectionTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_Build", _wrap_XdmfGrid_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_InsertTopology", _wrap_XdmfGrid_InsertTopology, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_InsertGeometry", _wrap_XdmfGrid_InsertGeometry, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_Insert", _wrap_XdmfGrid_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetGridType", _wrap_XdmfGrid_GetGridType, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetGridType", _wrap_XdmfGrid_SetGridType, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetCollectionType", _wrap_XdmfGrid_GetCollectionType, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetCollectionType", _wrap_XdmfGrid_SetCollectionType, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetBuildTime", _wrap_XdmfGrid_GetBuildTime, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetBuildTime", _wrap_XdmfGrid_SetBuildTime, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_Copy", _wrap_XdmfGrid_Copy, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetNumberOfChildren", _wrap_XdmfGrid_GetNumberOfChildren, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_SetNumberOfChildren", _wrap_XdmfGrid_SetNumberOfChildren, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_IsUniform", _wrap_XdmfGrid_IsUniform, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetNumberOfAttributes", _wrap_XdmfGrid_GetNumberOfAttributes, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetNumberOfSets", _wrap_XdmfGrid_GetNumberOfSets, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetNumberOfInformations", _wrap_XdmfGrid_GetNumberOfInformations, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetAttribute", _wrap_XdmfGrid_GetAttribute, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetSets", _wrap_XdmfGrid_GetSets, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_AssignAttribute", _wrap_XdmfGrid_AssignAttribute, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_AssignAttributeByIndex", _wrap_XdmfGrid_AssignAttributeByIndex, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_AssignAttributeByName", _wrap_XdmfGrid_AssignAttributeByName, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetAssignedAttribute", _wrap_XdmfGrid_GetAssignedAttribute, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetAssignedAttributeIndex", _wrap_XdmfGrid_GetAssignedAttributeIndex, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_UpdateInformation", _wrap_XdmfGrid_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_Update", _wrap_XdmfGrid_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetChild", _wrap_XdmfGrid_GetChild, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_GetInformation", _wrap_XdmfGrid_GetInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_FindGridsInTimeRange", _wrap_XdmfGrid_FindGridsInTimeRange, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_FindGridsAtTime", _wrap_XdmfGrid_FindGridsAtTime, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_Release", _wrap_XdmfGrid_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfGrid_swigregister", XdmfGrid_swigregister, METH_VARARGS, NULL},
	 { (char *)"HandleToXdmfGrid", _wrap_HandleToXdmfGrid, METH_VARARGS, NULL},
	 { (char *)"new_XdmfTime", _wrap_new_XdmfTime, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfTime", _wrap_delete_XdmfTime, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_GetClassName", _wrap_XdmfTime_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_Insert", _wrap_XdmfTime_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_UpdateInformation", _wrap_XdmfTime_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_SetValue", _wrap_XdmfTime_SetValue, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_Build", _wrap_XdmfTime_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_GetValue", _wrap_XdmfTime_GetValue, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_GetArray", _wrap_XdmfTime_GetArray, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_SetArray", _wrap_XdmfTime_SetArray, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_GetDataItem", _wrap_XdmfTime_GetDataItem, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_SetDataItem", _wrap_XdmfTime_SetDataItem, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_GetTimeType", _wrap_XdmfTime_GetTimeType, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_GetTimeTypeAsString", _wrap_XdmfTime_GetTimeTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_SetTimeType", _wrap_XdmfTime_SetTimeType, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_GetFunction", _wrap_XdmfTime_GetFunction, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_SetFunction", _wrap_XdmfTime_SetFunction, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_SetTimeFromParent", _wrap_XdmfTime_SetTimeFromParent, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_Evaluate", _wrap_XdmfTime_Evaluate, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_IsValid", _wrap_XdmfTime_IsValid, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_SetEpsilon", _wrap_XdmfTime_SetEpsilon, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_GetEpsilon", _wrap_XdmfTime_GetEpsilon, METH_VARARGS, NULL},
	 { (char *)"XdmfTime_swigregister", XdmfTime_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfRegion", _wrap_new_XdmfRegion, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfRegion", _wrap_delete_XdmfRegion, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_GetClassName", _wrap_XdmfRegion_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_SetRegionTypeFromString", _wrap_XdmfRegion_SetRegionTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_GetRegionTypeAsString", _wrap_XdmfRegion_GetRegionTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_SetRegionType", _wrap_XdmfRegion_SetRegionType, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_GetRegionType", _wrap_XdmfRegion_GetRegionType, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_GetShapeDesc", _wrap_XdmfRegion_GetShapeDesc, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_Insert", _wrap_XdmfRegion_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_SetValues", _wrap_XdmfRegion_SetValues, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_GetValues", _wrap_XdmfRegion_GetValues, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_UpdateInformation", _wrap_XdmfRegion_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_Update", _wrap_XdmfRegion_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_Build", _wrap_XdmfRegion_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_Release", _wrap_XdmfRegion_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfRegion_swigregister", XdmfRegion_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfSet", _wrap_new_XdmfSet, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfSet", _wrap_delete_XdmfSet, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetClassName", _wrap_XdmfSet_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_SetSetTypeFromString", _wrap_XdmfSet_SetSetTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetSetTypeAsString", _wrap_XdmfSet_GetSetTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_SetSetType", _wrap_XdmfSet_SetSetType, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetSetType", _wrap_XdmfSet_GetSetType, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetSize", _wrap_XdmfSet_GetSize, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_SetSize", _wrap_XdmfSet_SetSize, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetGhost", _wrap_XdmfSet_GetGhost, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_SetGhost", _wrap_XdmfSet_SetGhost, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetShapeDesc", _wrap_XdmfSet_GetShapeDesc, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_Insert", _wrap_XdmfSet_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_SetIds", _wrap_XdmfSet_SetIds, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetIds", _wrap_XdmfSet_GetIds, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_SetCellIds", _wrap_XdmfSet_SetCellIds, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetCellIds", _wrap_XdmfSet_GetCellIds, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_SetFaceIds", _wrap_XdmfSet_SetFaceIds, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetFaceIds", _wrap_XdmfSet_GetFaceIds, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetNumberOfMaps", _wrap_XdmfSet_GetNumberOfMaps, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetMap", _wrap_XdmfSet_GetMap, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetNumberOfAttributes", _wrap_XdmfSet_GetNumberOfAttributes, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_GetAttribute", _wrap_XdmfSet_GetAttribute, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_UpdateInformation", _wrap_XdmfSet_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_Update", _wrap_XdmfSet_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_Build", _wrap_XdmfSet_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_Release", _wrap_XdmfSet_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfSet_swigregister", XdmfSet_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfMap", _wrap_new_XdmfMap, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfMap", _wrap_delete_XdmfMap, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_GetClassName", _wrap_XdmfMap_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_SetMapTypeFromString", _wrap_XdmfMap_SetMapTypeFromString, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_GetMapTypeAsString", _wrap_XdmfMap_GetMapTypeAsString, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_SetMapType", _wrap_XdmfMap_SetMapType, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_GetMapType", _wrap_XdmfMap_GetMapType, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_GetItemLength", _wrap_XdmfMap_GetItemLength, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_SetItemLength", _wrap_XdmfMap_SetItemLength, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_GetMapLength", _wrap_XdmfMap_GetMapLength, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_SetMapLength", _wrap_XdmfMap_SetMapLength, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_Insert", _wrap_XdmfMap_Insert, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_SetIds", _wrap_XdmfMap_SetIds, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_GetIds", _wrap_XdmfMap_GetIds, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_SetMapIndex", _wrap_XdmfMap_SetMapIndex, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_GetMapIndex", _wrap_XdmfMap_GetMapIndex, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_SetMapData", _wrap_XdmfMap_SetMapData, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_GetMapData", _wrap_XdmfMap_GetMapData, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_UpdateInformation", _wrap_XdmfMap_UpdateInformation, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_Update", _wrap_XdmfMap_Update, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_Build", _wrap_XdmfMap_Build, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_Release", _wrap_XdmfMap_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfMap_swigregister", XdmfMap_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDsm", _wrap_new_XdmfDsm, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDsm", _wrap_delete_XdmfDsm, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetClassName", _wrap_XdmfDsm_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetDsmType", _wrap_XdmfDsm_GetDsmType, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetDsmType", _wrap_XdmfDsm_SetDsmType, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetEndAddress", _wrap_XdmfDsm_GetEndAddress, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetEndAddress", _wrap_XdmfDsm_SetEndAddress, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetStartAddress", _wrap_XdmfDsm_GetStartAddress, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetStartAddress", _wrap_XdmfDsm_SetStartAddress, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetStartServerId", _wrap_XdmfDsm_GetStartServerId, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetStartServerId", _wrap_XdmfDsm_SetStartServerId, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetEndServerId", _wrap_XdmfDsm_GetEndServerId, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetEndServerId", _wrap_XdmfDsm_SetEndServerId, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetLength", _wrap_XdmfDsm_GetLength, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetLength", _wrap_XdmfDsm_SetLength, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetTotalLength", _wrap_XdmfDsm_GetTotalLength, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetTotalLength", _wrap_XdmfDsm_SetTotalLength, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetStorage", _wrap_XdmfDsm_GetStorage, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetStorage", _wrap_XdmfDsm_SetStorage, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetComm", _wrap_XdmfDsm_GetComm, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetComm", _wrap_XdmfDsm_SetComm, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetMsg", _wrap_XdmfDsm_GetMsg, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SetMsg", _wrap_XdmfDsm_SetMsg, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_GetAddressRangeForId", _wrap_XdmfDsm_GetAddressRangeForId, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_ConfigureUniform", _wrap_XdmfDsm_ConfigureUniform, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_AddressToId", _wrap_XdmfDsm_AddressToId, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SendCommandHeader", _wrap_XdmfDsm_SendCommandHeader, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_ReceiveCommandHeader", _wrap_XdmfDsm_ReceiveCommandHeader, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SendData", _wrap_XdmfDsm_SendData, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_ReceiveData", _wrap_XdmfDsm_ReceiveData, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_Copy", _wrap_XdmfDsm_Copy, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_SendDone", _wrap_XdmfDsm_SendDone, METH_VARARGS, NULL},
	 { (char *)"XdmfDsm_swigregister", XdmfDsm_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDsmMsg", _wrap_new_XdmfDsmMsg, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDsmMsg", _wrap_delete_XdmfDsmMsg, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_SetSource", _wrap_XdmfDsmMsg_SetSource, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_GetSource", _wrap_XdmfDsmMsg_GetSource, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_SetDest", _wrap_XdmfDsmMsg_SetDest, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_GetDest", _wrap_XdmfDsmMsg_GetDest, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_SetTag", _wrap_XdmfDsmMsg_SetTag, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_GetTag", _wrap_XdmfDsmMsg_GetTag, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_SetLength", _wrap_XdmfDsmMsg_SetLength, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_GetLength", _wrap_XdmfDsmMsg_GetLength, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_SetData", _wrap_XdmfDsmMsg_SetData, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_GetData", _wrap_XdmfDsmMsg_GetData, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Source_set", _wrap_XdmfDsmMsg_Source_set, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Source_get", _wrap_XdmfDsmMsg_Source_get, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Dest_set", _wrap_XdmfDsmMsg_Dest_set, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Dest_get", _wrap_XdmfDsmMsg_Dest_get, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Tag_set", _wrap_XdmfDsmMsg_Tag_set, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Tag_get", _wrap_XdmfDsmMsg_Tag_get, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Length_set", _wrap_XdmfDsmMsg_Length_set, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Length_get", _wrap_XdmfDsmMsg_Length_get, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Data_set", _wrap_XdmfDsmMsg_Data_set, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_Data_get", _wrap_XdmfDsmMsg_Data_get, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmMsg_swigregister", XdmfDsmMsg_swigregister, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBufferServiceThread", _wrap_XdmfDsmBufferServiceThread, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDsmBuffer", _wrap_new_XdmfDsmBuffer, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDsmBuffer", _wrap_delete_XdmfDsmBuffer, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_GetClassName", _wrap_XdmfDsmBuffer_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_GetThreadDsmReady", _wrap_XdmfDsmBuffer_GetThreadDsmReady, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_SetThreadDsmReady", _wrap_XdmfDsmBuffer_SetThreadDsmReady, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_Put", _wrap_XdmfDsmBuffer_Put, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_Get", _wrap_XdmfDsmBuffer_Get, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_Aquire", _wrap_XdmfDsmBuffer_Aquire, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_Release", _wrap_XdmfDsmBuffer_Release, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_ServiceInit", _wrap_XdmfDsmBuffer_ServiceInit, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_ServiceOnce", _wrap_XdmfDsmBuffer_ServiceOnce, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_ServiceUntilIdle", _wrap_XdmfDsmBuffer_ServiceUntilIdle, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_ServiceLoop", _wrap_XdmfDsmBuffer_ServiceLoop, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_Service", _wrap_XdmfDsmBuffer_Service, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_ServiceThread", _wrap_XdmfDsmBuffer_ServiceThread, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmBuffer_swigregister", XdmfDsmBuffer_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDsmComm", _wrap_new_XdmfDsmComm, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDsmComm", _wrap_delete_XdmfDsmComm, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_GetClassName", _wrap_XdmfDsmComm_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_GetId", _wrap_XdmfDsmComm_GetId, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_SetId", _wrap_XdmfDsmComm_SetId, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_GetTotalSize", _wrap_XdmfDsmComm_GetTotalSize, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_SetTotalSize", _wrap_XdmfDsmComm_SetTotalSize, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_Init", _wrap_XdmfDsmComm_Init, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_Send", _wrap_XdmfDsmComm_Send, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_Receive", _wrap_XdmfDsmComm_Receive, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_Check", _wrap_XdmfDsmComm_Check, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_Barrier", _wrap_XdmfDsmComm_Barrier, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmComm_swigregister", XdmfDsmComm_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_XdmfDsmCommMpi", _wrap_new_XdmfDsmCommMpi, METH_VARARGS, NULL},
	 { (char *)"delete_XdmfDsmCommMpi", _wrap_delete_XdmfDsmCommMpi, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmCommMpi_GetClassName", _wrap_XdmfDsmCommMpi_GetClassName, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmCommMpi_Init", _wrap_XdmfDsmCommMpi_Init, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmCommMpi_Send", _wrap_XdmfDsmCommMpi_Send, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmCommMpi_Receive", _wrap_XdmfDsmCommMpi_Receive, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmCommMpi_Check", _wrap_XdmfDsmCommMpi_Check, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmCommMpi_Barrier", _wrap_XdmfDsmCommMpi_Barrier, METH_VARARGS, NULL},
	 { (char *)"XdmfDsmCommMpi_swigregister", XdmfDsmCommMpi_swigregister, METH_VARARGS, NULL},
	 { NULL, NULL, 0, NULL }
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static void *_p_XdmfValuesXMLTo_p_XdmfValues(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfValues *)  ((XdmfValuesXML *) x));
}
static void *_p_XdmfValuesHDFTo_p_XdmfValues(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfValues *)  ((XdmfValuesHDF *) x));
}
static void *_p_XdmfDataStructureTo_p_XdmfDataItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDataItem *)  ((XdmfDataStructure *) x));
}
static void *_p_XdmfValuesXMLTo_p_XdmfDataItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDataItem *) (XdmfValues *) ((XdmfValuesXML *) x));
}
static void *_p_XdmfValuesTo_p_XdmfDataItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDataItem *)  ((XdmfValues *) x));
}
static void *_p_XdmfValuesHDFTo_p_XdmfDataItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDataItem *) (XdmfValues *) ((XdmfValuesHDF *) x));
}
static void *_p_XdmfLightDataTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *)  ((XdmfLightData *) x));
}
static void *_p_XdmfDOMTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *) ((XdmfDOM *) x));
}
static void *_p_XdmfDsmMsgTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *)  ((XdmfDsmMsg *) x));
}
static void *_p_XdmfDataItemTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfDataItem *) x));
}
static void *_p_XdmfInformationTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfInformation *) x));
}
static void *_p_XdmfMapTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfMap *) x));
}
static void *_p_XdmfDsmCommMpiTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfDsmComm *) ((XdmfDsmCommMpi *) x));
}
static void *_p_XdmfValuesHDFTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *)(XdmfDataItem *)(XdmfValues *) ((XdmfValuesHDF *) x));
}
static void *_p_XdmfGridTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfGrid *) x));
}
static void *_p_XdmfValuesXMLTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *)(XdmfDataItem *)(XdmfValues *) ((XdmfValuesXML *) x));
}
static void *_p_XdmfSetTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfSet *) x));
}
static void *_p_XdmfHeavyDataTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfDataDesc *) ((XdmfHeavyData *) x));
}
static void *_p_XdmfAttributeTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfAttribute *) x));
}
static void *_p_XdmfValuesTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *)(XdmfDataItem *) ((XdmfValues *) x));
}
static void *_p_XdmfDomainTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfDomain *) x));
}
static void *_p_XdmfRootTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfRoot *) x));
}
static void *_p_XdmfTimeTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfTime *) x));
}
static void *_p_XdmfTopologyTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfTopology *) x));
}
static void *_p_XdmfElementDataTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *)  ((XdmfElementData *) x));
}
static void *_p_XdmfDataDescTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *)  ((XdmfDataDesc *) x));
}
static void *_p_XdmfDsmTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *)  ((XdmfDsm *) x));
}
static void *_p_XdmfArrayTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfDataDesc *) ((XdmfArray *) x));
}
static void *_p_XdmfDsmCommTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *)  ((XdmfDsmComm *) x));
}
static void *_p_XdmfElementTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *) ((XdmfElement *) x));
}
static void *_p_XdmfGeometryTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfGeometry *) x));
}
static void *_p_XdmfRegionTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *) ((XdmfRegion *) x));
}
static void *_p_XdmfDataStructureTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfLightData *)(XdmfElement *)(XdmfDataItem *) ((XdmfDataStructure *) x));
}
static void *_p_XdmfHDFTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfDataDesc *)(XdmfHeavyData *) ((XdmfHDF *) x));
}
static void *_p_XdmfDsmBufferTo_p_XdmfObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfObject *) (XdmfDsm *) ((XdmfDsmBuffer *) x));
}
static void *_p_XdmfDsmBufferTo_p_XdmfDsm(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDsm *)  ((XdmfDsmBuffer *) x));
}
static void *_p_XdmfDOMTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *)  ((XdmfDOM *) x));
}
static void *_p_XdmfDataItemTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfDataItem *) x));
}
static void *_p_XdmfInformationTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfInformation *) x));
}
static void *_p_XdmfMapTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfMap *) x));
}
static void *_p_XdmfValuesHDFTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *)(XdmfDataItem *)(XdmfValues *) ((XdmfValuesHDF *) x));
}
static void *_p_XdmfGridTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfGrid *) x));
}
static void *_p_XdmfValuesXMLTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *)(XdmfDataItem *)(XdmfValues *) ((XdmfValuesXML *) x));
}
static void *_p_XdmfSetTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfSet *) x));
}
static void *_p_XdmfAttributeTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfAttribute *) x));
}
static void *_p_XdmfValuesTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *)(XdmfDataItem *) ((XdmfValues *) x));
}
static void *_p_XdmfRootTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfRoot *) x));
}
static void *_p_XdmfDomainTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfDomain *) x));
}
static void *_p_XdmfTimeTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfTime *) x));
}
static void *_p_XdmfTopologyTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfTopology *) x));
}
static void *_p_XdmfGeometryTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfGeometry *) x));
}
static void *_p_XdmfElementTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *)  ((XdmfElement *) x));
}
static void *_p_XdmfRegionTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *) ((XdmfRegion *) x));
}
static void *_p_XdmfDataStructureTo_p_XdmfLightData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfLightData *) (XdmfElement *)(XdmfDataItem *) ((XdmfDataStructure *) x));
}
static void *_p_XdmfHDFTo_p_XdmfHeavyData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfHeavyData *)  ((XdmfHDF *) x));
}
static void *_p_XdmfDsmCommMpiTo_p_XdmfDsmComm(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDsmComm *)  ((XdmfDsmCommMpi *) x));
}
static void *_p_XdmfDataItemTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfDataItem *) x));
}
static void *_p_XdmfInformationTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfInformation *) x));
}
static void *_p_XdmfMapTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfMap *) x));
}
static void *_p_XdmfValuesHDFTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *) (XdmfDataItem *)(XdmfValues *) ((XdmfValuesHDF *) x));
}
static void *_p_XdmfGridTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfGrid *) x));
}
static void *_p_XdmfValuesXMLTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *) (XdmfDataItem *)(XdmfValues *) ((XdmfValuesXML *) x));
}
static void *_p_XdmfSetTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfSet *) x));
}
static void *_p_XdmfAttributeTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfAttribute *) x));
}
static void *_p_XdmfValuesTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *) (XdmfDataItem *) ((XdmfValues *) x));
}
static void *_p_XdmfTimeTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfTime *) x));
}
static void *_p_XdmfRootTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfRoot *) x));
}
static void *_p_XdmfDomainTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfDomain *) x));
}
static void *_p_XdmfTopologyTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfTopology *) x));
}
static void *_p_XdmfRegionTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfRegion *) x));
}
static void *_p_XdmfGeometryTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *)  ((XdmfGeometry *) x));
}
static void *_p_XdmfDataStructureTo_p_XdmfElement(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfElement *) (XdmfDataItem *) ((XdmfDataStructure *) x));
}
static void *_p_XdmfHeavyDataTo_p_XdmfDataDesc(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDataDesc *)  ((XdmfHeavyData *) x));
}
static void *_p_XdmfArrayTo_p_XdmfDataDesc(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDataDesc *)  ((XdmfArray *) x));
}
static void *_p_XdmfHDFTo_p_XdmfDataDesc(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((XdmfDataDesc *) (XdmfHeavyData *) ((XdmfHDF *) x));
}
static swig_type_info _swigt__p_XdmfArray = {"_p_XdmfArray", "XdmfArray *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfArrayList = {"_p_XdmfArrayList", "XdmfArrayList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfAttribute = {"_p_XdmfAttribute", "XdmfAttribute *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfCloseCallback = {"_p_XdmfCloseCallback", "XdmfCloseCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDOM = {"_p_XdmfDOM", "XdmfDOM *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDataDesc = {"_p_XdmfDataDesc", "XdmfDataDesc *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDataItem = {"_p_XdmfDataItem", "XdmfDataItem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDataStructure = {"_p_XdmfDataStructure", "XdmfDataStructure *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDomain = {"_p_XdmfDomain", "XdmfDomain *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDsm = {"_p_XdmfDsm", "XdmfDsm *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDsmBuffer = {"_p_XdmfDsmBuffer", "XdmfDsmBuffer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDsmComm = {"_p_XdmfDsmComm", "XdmfDsmComm *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDsmCommMpi = {"_p_XdmfDsmCommMpi", "XdmfDsmCommMpi *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfDsmMsg = {"_p_XdmfDsmMsg", "XdmfDsmMsg *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfElement = {"_p_XdmfElement", "XdmfElement *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfElementData = {"_p_XdmfElementData", "XdmfElementData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfGeometry = {"_p_XdmfGeometry", "XdmfGeometry *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfGrid = {"_p_XdmfGrid", "XdmfGrid *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfHDF = {"_p_XdmfHDF", "XdmfHDF *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfHeavyData = {"_p_XdmfHeavyData", "XdmfHeavyData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfInformation = {"_p_XdmfInformation", "XdmfInformation *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfLightData = {"_p_XdmfLightData", "XdmfLightData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfMap = {"_p_XdmfMap", "XdmfMap *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfObject = {"_p_XdmfObject", "XdmfObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfOpenCallback = {"_p_XdmfOpenCallback", "XdmfOpenCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfReadCallback = {"_p_XdmfReadCallback", "XdmfReadCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfRegion = {"_p_XdmfRegion", "XdmfRegion *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfRoot = {"_p_XdmfRoot", "XdmfRoot *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfSet = {"_p_XdmfSet", "XdmfSet *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfTime = {"_p_XdmfTime", "XdmfTime *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfTopology = {"_p_XdmfTopology", "XdmfTopology *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfValues = {"_p_XdmfValues", "XdmfValues *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfValuesHDF = {"_p_XdmfValuesHDF", "XdmfValuesHDF *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfValuesXML = {"_p_XdmfValuesXML", "XdmfValuesXML *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_XdmfWriteCallback = {"_p_XdmfWriteCallback", "XdmfWriteCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__xmlNode = {"_p__xmlNode", "XdmfXmlNode|_xmlNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *|XdmfInt8 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_double = {"_p_double", "XdmfFloat64 *|double *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_float = {"_p_float", "float *|XdmfFloat32 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_hid_t = {"_p_hid_t", "hid_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *|XdmfInt32 *|XdmfBoolean *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_istream = {"_p_istream", "istream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_long_long = {"_p_long_long", "XdmfInt64 *|long long *|XdmfLength *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_ostream = {"_p_ostream", "ostream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p__xmlDoc = {"_p_p__xmlDoc", "XdmfXmlDoc *|_xmlDoc **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_short = {"_p_short", "XdmfInt16 *|short *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|XdmfUInt8 *|XdmfByte *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "XdmfUInt32 *|unsigned int *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "XdmfUInt16 *|unsigned short *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_void = {"_p_void", "XdmfPointer|void *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_XdmfArray,
  &_swigt__p_XdmfArrayList,
  &_swigt__p_XdmfAttribute,
  &_swigt__p_XdmfCloseCallback,
  &_swigt__p_XdmfDOM,
  &_swigt__p_XdmfDataDesc,
  &_swigt__p_XdmfDataItem,
  &_swigt__p_XdmfDataStructure,
  &_swigt__p_XdmfDomain,
  &_swigt__p_XdmfDsm,
  &_swigt__p_XdmfDsmBuffer,
  &_swigt__p_XdmfDsmComm,
  &_swigt__p_XdmfDsmCommMpi,
  &_swigt__p_XdmfDsmMsg,
  &_swigt__p_XdmfElement,
  &_swigt__p_XdmfElementData,
  &_swigt__p_XdmfGeometry,
  &_swigt__p_XdmfGrid,
  &_swigt__p_XdmfHDF,
  &_swigt__p_XdmfHeavyData,
  &_swigt__p_XdmfInformation,
  &_swigt__p_XdmfLightData,
  &_swigt__p_XdmfMap,
  &_swigt__p_XdmfObject,
  &_swigt__p_XdmfOpenCallback,
  &_swigt__p_XdmfReadCallback,
  &_swigt__p_XdmfRegion,
  &_swigt__p_XdmfRoot,
  &_swigt__p_XdmfSet,
  &_swigt__p_XdmfTime,
  &_swigt__p_XdmfTopology,
  &_swigt__p_XdmfValues,
  &_swigt__p_XdmfValuesHDF,
  &_swigt__p_XdmfValuesXML,
  &_swigt__p_XdmfWriteCallback,
  &_swigt__p__xmlNode,
  &_swigt__p_char,
  &_swigt__p_double,
  &_swigt__p_float,
  &_swigt__p_hid_t,
  &_swigt__p_int,
  &_swigt__p_istream,
  &_swigt__p_long_long,
  &_swigt__p_ostream,
  &_swigt__p_p__xmlDoc,
  &_swigt__p_short,
  &_swigt__p_unsigned_char,
  &_swigt__p_unsigned_int,
  &_swigt__p_unsigned_short,
  &_swigt__p_void,
};

static swig_cast_info _swigc__p_XdmfArray[] = {  {&_swigt__p_XdmfArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfArrayList[] = {  {&_swigt__p_XdmfArrayList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfAttribute[] = {  {&_swigt__p_XdmfAttribute, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfCloseCallback[] = {  {&_swigt__p_XdmfCloseCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDOM[] = {  {&_swigt__p_XdmfDOM, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDataDesc[] = {  {&_swigt__p_XdmfHeavyData, _p_XdmfHeavyDataTo_p_XdmfDataDesc, 0, 0},  {&_swigt__p_XdmfArray, _p_XdmfArrayTo_p_XdmfDataDesc, 0, 0},  {&_swigt__p_XdmfDataDesc, 0, 0, 0},  {&_swigt__p_XdmfHDF, _p_XdmfHDFTo_p_XdmfDataDesc, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDataItem[] = {  {&_swigt__p_XdmfDataItem, 0, 0, 0},  {&_swigt__p_XdmfDataStructure, _p_XdmfDataStructureTo_p_XdmfDataItem, 0, 0},  {&_swigt__p_XdmfValuesXML, _p_XdmfValuesXMLTo_p_XdmfDataItem, 0, 0},  {&_swigt__p_XdmfValues, _p_XdmfValuesTo_p_XdmfDataItem, 0, 0},  {&_swigt__p_XdmfValuesHDF, _p_XdmfValuesHDFTo_p_XdmfDataItem, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDataStructure[] = {  {&_swigt__p_XdmfDataStructure, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDomain[] = {  {&_swigt__p_XdmfDomain, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDsm[] = {  {&_swigt__p_XdmfDsmBuffer, _p_XdmfDsmBufferTo_p_XdmfDsm, 0, 0},  {&_swigt__p_XdmfDsm, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDsmBuffer[] = {  {&_swigt__p_XdmfDsmBuffer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDsmComm[] = {  {&_swigt__p_XdmfDsmComm, 0, 0, 0},  {&_swigt__p_XdmfDsmCommMpi, _p_XdmfDsmCommMpiTo_p_XdmfDsmComm, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDsmCommMpi[] = {  {&_swigt__p_XdmfDsmCommMpi, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfDsmMsg[] = {  {&_swigt__p_XdmfDsmMsg, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfElement[] = {  {&_swigt__p_XdmfMap, _p_XdmfMapTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfDataItem, _p_XdmfDataItemTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfInformation, _p_XdmfInformationTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfValuesHDF, _p_XdmfValuesHDFTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfGrid, _p_XdmfGridTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfValuesXML, _p_XdmfValuesXMLTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfSet, _p_XdmfSetTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfAttribute, _p_XdmfAttributeTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfValues, _p_XdmfValuesTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfTime, _p_XdmfTimeTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfRoot, _p_XdmfRootTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfDomain, _p_XdmfDomainTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfTopology, _p_XdmfTopologyTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfElement, 0, 0, 0},  {&_swigt__p_XdmfRegion, _p_XdmfRegionTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfGeometry, _p_XdmfGeometryTo_p_XdmfElement, 0, 0},  {&_swigt__p_XdmfDataStructure, _p_XdmfDataStructureTo_p_XdmfElement, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfElementData[] = {  {&_swigt__p_XdmfElementData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfGeometry[] = {  {&_swigt__p_XdmfGeometry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfGrid[] = {  {&_swigt__p_XdmfGrid, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfHDF[] = {  {&_swigt__p_XdmfHDF, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfHeavyData[] = {  {&_swigt__p_XdmfHeavyData, 0, 0, 0},  {&_swigt__p_XdmfHDF, _p_XdmfHDFTo_p_XdmfHeavyData, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfInformation[] = {  {&_swigt__p_XdmfInformation, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfLightData[] = {  {&_swigt__p_XdmfLightData, 0, 0, 0},  {&_swigt__p_XdmfDOM, _p_XdmfDOMTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfMap, _p_XdmfMapTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfDataItem, _p_XdmfDataItemTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfInformation, _p_XdmfInformationTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfValuesHDF, _p_XdmfValuesHDFTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfGrid, _p_XdmfGridTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfValuesXML, _p_XdmfValuesXMLTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfSet, _p_XdmfSetTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfAttribute, _p_XdmfAttributeTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfValues, _p_XdmfValuesTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfTime, _p_XdmfTimeTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfDomain, _p_XdmfDomainTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfRoot, _p_XdmfRootTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfTopology, _p_XdmfTopologyTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfGeometry, _p_XdmfGeometryTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfElement, _p_XdmfElementTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfRegion, _p_XdmfRegionTo_p_XdmfLightData, 0, 0},  {&_swigt__p_XdmfDataStructure, _p_XdmfDataStructureTo_p_XdmfLightData, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfMap[] = {  {&_swigt__p_XdmfMap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfObject[] = {  {&_swigt__p_XdmfLightData, _p_XdmfLightDataTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDOM, _p_XdmfDOMTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfObject, 0, 0, 0},  {&_swigt__p_XdmfDsmMsg, _p_XdmfDsmMsgTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfMap, _p_XdmfMapTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDataItem, _p_XdmfDataItemTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfInformation, _p_XdmfInformationTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDsmCommMpi, _p_XdmfDsmCommMpiTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfValuesHDF, _p_XdmfValuesHDFTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfGrid, _p_XdmfGridTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfValuesXML, _p_XdmfValuesXMLTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfSet, _p_XdmfSetTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfHeavyData, _p_XdmfHeavyDataTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfAttribute, _p_XdmfAttributeTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfValues, _p_XdmfValuesTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfTime, _p_XdmfTimeTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDomain, _p_XdmfDomainTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfRoot, _p_XdmfRootTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfTopology, _p_XdmfTopologyTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfElementData, _p_XdmfElementDataTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDataDesc, _p_XdmfDataDescTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDsm, _p_XdmfDsmTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfArray, _p_XdmfArrayTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDsmComm, _p_XdmfDsmCommTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfGeometry, _p_XdmfGeometryTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfElement, _p_XdmfElementTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfRegion, _p_XdmfRegionTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDataStructure, _p_XdmfDataStructureTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfHDF, _p_XdmfHDFTo_p_XdmfObject, 0, 0},  {&_swigt__p_XdmfDsmBuffer, _p_XdmfDsmBufferTo_p_XdmfObject, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfOpenCallback[] = {  {&_swigt__p_XdmfOpenCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfReadCallback[] = {  {&_swigt__p_XdmfReadCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfRegion[] = {  {&_swigt__p_XdmfRegion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfRoot[] = {  {&_swigt__p_XdmfRoot, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfSet[] = {  {&_swigt__p_XdmfSet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfTime[] = {  {&_swigt__p_XdmfTime, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfTopology[] = {  {&_swigt__p_XdmfTopology, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfValues[] = {  {&_swigt__p_XdmfValuesXML, _p_XdmfValuesXMLTo_p_XdmfValues, 0, 0},  {&_swigt__p_XdmfValues, 0, 0, 0},  {&_swigt__p_XdmfValuesHDF, _p_XdmfValuesHDFTo_p_XdmfValues, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfValuesHDF[] = {  {&_swigt__p_XdmfValuesHDF, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfValuesXML[] = {  {&_swigt__p_XdmfValuesXML, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_XdmfWriteCallback[] = {  {&_swigt__p_XdmfWriteCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__xmlNode[] = {  {&_swigt__p__xmlNode, 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_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_float[] = {  {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_hid_t[] = {  {&_swigt__p_hid_t, 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_istream[] = {  {&_swigt__p_istream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_long_long[] = {  {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_ostream[] = {  {&_swigt__p_ostream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p__xmlDoc[] = {  {&_swigt__p_p__xmlDoc, 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_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_short[] = {  {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_XdmfArray,
  _swigc__p_XdmfArrayList,
  _swigc__p_XdmfAttribute,
  _swigc__p_XdmfCloseCallback,
  _swigc__p_XdmfDOM,
  _swigc__p_XdmfDataDesc,
  _swigc__p_XdmfDataItem,
  _swigc__p_XdmfDataStructure,
  _swigc__p_XdmfDomain,
  _swigc__p_XdmfDsm,
  _swigc__p_XdmfDsmBuffer,
  _swigc__p_XdmfDsmComm,
  _swigc__p_XdmfDsmCommMpi,
  _swigc__p_XdmfDsmMsg,
  _swigc__p_XdmfElement,
  _swigc__p_XdmfElementData,
  _swigc__p_XdmfGeometry,
  _swigc__p_XdmfGrid,
  _swigc__p_XdmfHDF,
  _swigc__p_XdmfHeavyData,
  _swigc__p_XdmfInformation,
  _swigc__p_XdmfLightData,
  _swigc__p_XdmfMap,
  _swigc__p_XdmfObject,
  _swigc__p_XdmfOpenCallback,
  _swigc__p_XdmfReadCallback,
  _swigc__p_XdmfRegion,
  _swigc__p_XdmfRoot,
  _swigc__p_XdmfSet,
  _swigc__p_XdmfTime,
  _swigc__p_XdmfTopology,
  _swigc__p_XdmfValues,
  _swigc__p_XdmfValuesHDF,
  _swigc__p_XdmfValuesXML,
  _swigc__p_XdmfWriteCallback,
  _swigc__p__xmlNode,
  _swigc__p_char,
  _swigc__p_double,
  _swigc__p_float,
  _swigc__p_hid_t,
  _swigc__p_int,
  _swigc__p_istream,
  _swigc__p_long_long,
  _swigc__p_ostream,
  _swigc__p_p__xmlDoc,
  _swigc__p_short,
  _swigc__p_unsigned_char,
  _swigc__p_unsigned_int,
  _swigc__p_unsigned_short,
  _swigc__p_void,
};


/* -------- 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 staticly to an initial 
 * array. We just loop through that array, and handle each type individually.
 * First we lookup if this type has been already loaded, and if so, use the
 * loaded structure instead of the generated one. Then we have to fill in the
 * cast linked list. The cast data is initially stored in something like a
 * two-dimensional array. Each row corresponds to a type (there are the same
 * number of rows as there are in the swig_type_initial array). Each entry in
 * a column is one of the swig_cast_info structures for that type.
 * The cast_initial array is actually an array of arrays, because each row has
 * a variable number of columns. So to actually build the cast linked list,
 * we find the array of casts associated with the type, and loop through it 
 * adding the casts to the list. The one last trick we need to do is making
 * sure the type pointer in the swig_cast_info struct is correct.
 *
 * First off, we lookup the cast->type name to see if it is already loaded. 
 * There are three cases to handle:
 *  1) If the cast->type has already been loaded AND the type we are adding
 *     casting info to has not been loaded (it is in this module), THEN we
 *     replace the cast->type pointer with the type pointer that has already
 *     been loaded.
 *  2) If BOTH types (the one we are adding casting info to, and the 
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 *     the previous module so we just ignore it.
 *  3) Finally, if cast->type has not already been loaded, then we add that
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 *     be correct.
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* c-mode */
#endif
#endif

#if 0
#define SWIGRUNTIME_DEBUG
#endif


SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
  size_t i;
  swig_module_info *module_head, *iter;
  int found, init;
  
  clientdata = clientdata;
  
  /* 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);
    module_head = &swig_module;
  } else {
    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    found=0;
    iter=module_head;
    do {
      if (iter==&swig_module) {
        found=1;
        break;
      }
      iter=iter->next;
    } while (iter!= module_head);
    
    /* if the is found in the list, then all is done and we may leave */
    if (found) return;
    /* otherwise we must add out module into the list */
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  }
  
  /* When multiple interpeters are used, a module could have already been initialized in
       a different interpreter, but not yet have a pointer in this interpreter.
       In this case, we do not want to continue adding types... everything should be
       set up already */
  if (init == 0) return;
  
  /* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
#endif
  for (i = 0; i < swig_module.size; ++i) {
    swig_type_info *type = 0;
    swig_type_info *ret;
    swig_cast_info *cast;
    
#ifdef SWIGRUNTIME_DEBUG
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
    
    /* if there is another module already loaded */
    if (swig_module.next != &swig_module) {
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
    }
    if (type) {
      /* Overwrite clientdata field */
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
      if (swig_module.type_initial[i]->clientdata) {
        type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
      }
    } else {
      type = swig_module.type_initial[i];
    }
    
    /* Insert casting types */
    cast = swig_module.cast_initial[i];
    while (cast->type) {
      /* Don't need to add information already in the list */
      ret = 0;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
      if (swig_module.next != &swig_module) {
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
      }
      if (ret) {
        if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
          cast->type = ret;
          ret = 0;
        } else {
          /* Check for casting already in the list */
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
          if (!ocast) ret = 0;
        }
      }
      
      if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
        if (type->cast) {
          type->cast->prev = cast;
          cast->next = type->cast;
        }
        type->cast = cast;
      }
      cast++;
    }
    /* Set entry in modules->types array equal to the type */
    swig_module.types[i] = type;
  }
  swig_module.types[i] = 0;
  
#ifdef SWIGRUNTIME_DEBUG
  printf("**** SWIG_InitializeModule: Cast List ******\n");
  for (i = 0; i < swig_module.size; ++i) {
    int j = 0;
    swig_cast_info *cast = swig_module.cast_initial[i];
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    while (cast->type) {
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
      cast++;
      ++j;
    }
    printf("---- Total casts: %d\n",j);
  }
  printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}

/* This function will propagate the clientdata field of type to
* any new swig_type_info structures that have been added into the list
* of equivalent types.  It is like calling
* SWIG_TypeClientData(type, clientdata) a second time.
*/
SWIGRUNTIME void
SWIG_PropagateClientData(void) {
  size_t i;
  swig_cast_info *equiv;
  static int init_run = 0;
  
  if (init_run) return;
  init_run = 1;
  
  for (i = 0; i < swig_module.size; i++) {
    if (swig_module.types[i]->clientdata) {
      equiv = swig_module.types[i]->cast;
      while (equiv) {
        if (!equiv->converter) {
          if (equiv->type && !equiv->type->clientdata)
          SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
        }
        equiv = equiv->next;
      }
    }
  }
}

#ifdef __cplusplus
#if 0
{
  /* c-mode */
#endif
}
#endif



#ifdef __cplusplus
extern "C" {
#endif
  
  /* Python-specific SWIG API */
#define SWIG_newvarlink()                             SWIG_Python_newvarlink()
#define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
#define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants)
  
  /* -----------------------------------------------------------------------------
   * global variable support code.
   * ----------------------------------------------------------------------------- */
  
  typedef struct swig_globalvar {
    char       *name;                  /* Name of global variable */
    PyObject *(*get_attr)(void);       /* Return the current value */
    int       (*set_attr)(PyObject *); /* Set the value */
    struct swig_globalvar *next;
  } swig_globalvar;
  
  typedef struct swig_varlinkobject {
    PyObject_HEAD
    swig_globalvar *vars;
  } swig_varlinkobject;
  
  SWIGINTERN PyObject *
  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
#if PY_VERSION_HEX >= 0x03000000
    return PyUnicode_InternFromString("<Swig global variables>");
#else
    return PyString_FromString("<Swig global variables>");
#endif
  }
  
  SWIGINTERN PyObject *
  swig_varlink_str(swig_varlinkobject *v) {
#if PY_VERSION_HEX >= 0x03000000
    PyObject *str = PyUnicode_InternFromString("(");
    PyObject *tail;
    PyObject *joined;
    swig_globalvar *var;
    for (var = v->vars; var; var=var->next) {
      tail = PyUnicode_FromString(var->name);
      joined = PyUnicode_Concat(str, tail);
      Py_DecRef(str);
      Py_DecRef(tail);
      str = joined;
      if (var->next) {
        tail = PyUnicode_InternFromString(", ");
        joined = PyUnicode_Concat(str, tail);
        Py_DecRef(str);
        Py_DecRef(tail);
        str = joined;
      }
    }
    tail = PyUnicode_InternFromString(")");
    joined = PyUnicode_Concat(str, tail);
    Py_DecRef(str);
    Py_DecRef(tail);
    str = joined;
#else
    PyObject *str = PyString_FromString("(");
    swig_globalvar *var;
    for (var = v->vars; var; var=var->next) {
      PyString_ConcatAndDel(&str,PyString_FromString(var->name));
      if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
    }
    PyString_ConcatAndDel(&str,PyString_FromString(")"));
#endif
    return str;
  }
  
  SWIGINTERN int
  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
    PyObject *str = swig_varlink_str(v);
    fprintf(fp,"Swig global variables ");
    fprintf(fp,"%s\n", SWIG_Python_str_AsChar(str));
    Py_DECREF(str);
    return 0;
  }
  
  SWIGINTERN void
  swig_varlink_dealloc(swig_varlinkobject *v) {
    swig_globalvar *var = v->vars;
    while (var) {
      swig_globalvar *n = var->next;
      free(var->name);
      free(var);
      var = n;
    }
  }
  
  SWIGINTERN PyObject *
  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
    PyObject *res = NULL;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->get_attr)();
        break;
      }
      var = var->next;
    }
    if (res == NULL && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }
  
  SWIGINTERN int
  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
    int res = 1;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->set_attr)(p);
        break;
      }
      var = var->next;
    }
    if (res == 1 && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }
  
  SWIGINTERN PyTypeObject*
  swig_varlink_type(void) {
    static char varlink__doc__[] = "Swig var link object";
    static PyTypeObject varlink_type;
    static int type_init = 0;  
    if (!type_init) {
      const PyTypeObject tmp
      = {
        /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX >= 0x03000000
        PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else
        PyObject_HEAD_INIT(NULL)
        0,                                  /* Number of items in variable part (ob_size) */
#endif
        (char *)"swigvarlink",              /* Type name (tp_name) */
        sizeof(swig_varlinkobject),         /* Basic size (tp_basicsize) */
        0,                                  /* Itemsize (tp_itemsize) */
        (destructor) swig_varlink_dealloc,   /* Deallocator (tp_dealloc) */ 
        (printfunc) swig_varlink_print,     /* Print (tp_print) */
        (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
        (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
        0,                                  /* tp_compare */
        (reprfunc) swig_varlink_repr,       /* tp_repr */
        0,                                  /* tp_as_number */
        0,                                  /* tp_as_sequence */
        0,                                  /* tp_as_mapping */
        0,                                  /* tp_hash */
        0,                                  /* tp_call */
        (reprfunc)swig_varlink_str,        /* tp_str */
        0,                                  /* tp_getattro */
        0,                                  /* tp_setattro */
        0,                                  /* tp_as_buffer */
        0,                                  /* tp_flags */
        varlink__doc__,                     /* tp_doc */
        0,                                  /* tp_traverse */
        0,                                  /* tp_clear */
        0,                                  /* tp_richcompare */
        0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
        0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
        0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
      varlink_type = tmp;
      /* for Python 3 we already assigned the ob_type in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
      varlink_type.ob_type = &PyType_Type;
#endif
      type_init = 1;
    }
    return &varlink_type;
  }
  
  /* Create a variable linking object for use later */
  SWIGINTERN PyObject *
  SWIG_Python_newvarlink(void) {
    swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
    if (result) {
      result->vars = 0;
    }
    return ((PyObject*) result);
  }
  
  SWIGINTERN void 
  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
    swig_varlinkobject *v = (swig_varlinkobject *) p;
    swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
    if (gv) {
      size_t size = strlen(name)+1;
      gv->name = (char *)malloc(size);
      if (gv->name) {
        strncpy(gv->name,name,size);
        gv->get_attr = get_attr;
        gv->set_attr = set_attr;
        gv->next = v->vars;
      }
    }
    v->vars = gv;
  }
  
  SWIGINTERN PyObject *
  SWIG_globals(void) {
    static PyObject *_SWIG_globals = 0; 
    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
    return _SWIG_globals;
  }
  
  /* -----------------------------------------------------------------------------
   * constants/methods manipulation
   * ----------------------------------------------------------------------------- */
  
  /* Install Constants */
  SWIGINTERN void
  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
    PyObject *obj = 0;
    size_t i;
    for (i = 0; constants[i].type; ++i) {
      switch(constants[i].type) {
      case SWIG_PY_POINTER:
        obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
        break;
      case SWIG_PY_BINARY:
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
        break;
      default:
        obj = 0;
        break;
      }
      if (obj) {
        PyDict_SetItemString(d, constants[i].name, obj);
        Py_DECREF(obj);
      }
    }
  }
  
  /* -----------------------------------------------------------------------------*/
  /* Fix SwigMethods to carry the callback ptrs when needed */
  /* -----------------------------------------------------------------------------*/
  
  SWIGINTERN void
  SWIG_Python_FixMethods(PyMethodDef *methods,
    swig_const_info *const_table,
    swig_type_info **types,
    swig_type_info **types_initial) {
    size_t i;
    for (i = 0; methods[i].ml_name; ++i) {
      const char *c = methods[i].ml_doc;
      if (c && (c = strstr(c, "swig_ptr: "))) {
        int j;
        swig_const_info *ci = 0;
        const char *name = c + 10;
        for (j = 0; const_table[j].type; ++j) {
          if (strncmp(const_table[j].name, name, 
              strlen(const_table[j].name)) == 0) {
            ci = &(const_table[j]);
            break;
          }
        }
        if (ci) {
          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;
            void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
            if (ptr) {
              strncpy(buff, methods[i].ml_doc, ldoc);
              buff += ldoc;
              strncpy(buff, "swig_ptr: ", 10);
              buff += 10;
              SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
              methods[i].ml_doc = ndoc;
            }
          }
        }
      }
    }
  } 
  
#ifdef __cplusplus
}
#endif

/* -----------------------------------------------------------------------------*
 *  Partial Init method
 * -----------------------------------------------------------------------------*/

#ifdef __cplusplus
extern "C"
#endif

SWIGEXPORT 
#if PY_VERSION_HEX >= 0x03000000
PyObject*
#else
void
#endif
SWIG_init(void) {
  PyObject *m, *d;
  
  /* 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
  static struct PyModuleDef SWIG_module = {
    PyModuleDef_HEAD_INIT,
    (char *) SWIG_name,
    NULL,
    -1,
    SwigMethods,
    NULL,
    NULL,
    NULL,
    NULL
  };
  
  m = PyModule_Create(&SWIG_module);
#else
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
#endif
  d = PyModule_GetDict(m);
  
  SWIG_InitializeModule(0);
  SWIG_InstallConstants(d,swig_const_table);
  
  
  SWIG_Python_SetConstant(d, "_FILE_OFFSET_BITS",SWIG_From_int(static_cast< int >(64)));
  SWIG_Python_SetConstant(d, "SIZEOF_LONG_LONG",SWIG_From_int(static_cast< int >(8)));
  SWIG_Python_SetConstant(d, "XDMF_VERSION",SWIG_From_double(static_cast< double >(2.1)));
  SWIG_Python_SetConstant(d, "XDMF_VERSION_STRING",SWIG_FromCharPtr("2.1"));
  SWIG_Python_SetConstant(d, "XDMF_SUCCESS",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_FAIL",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "XDMF_TRUE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_FALSE",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_MAX_DIMENSION",SWIG_From_int(static_cast< int >(10)));
  SWIG_Python_SetConstant(d, "XDMF_MAX_STRING_LENGTH",SWIG_From_int(static_cast< int >(1024)));
  SWIG_Python_SetConstant(d, "XDMF_DEFAULT_INDEX",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "XDMF_SELECT_SLAB",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_SELECT_INDEX",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_UNKNOWN_TYPE",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "XDMF_INT8_TYPE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_INT16_TYPE",SWIG_From_int(static_cast< int >(6)));
  SWIG_Python_SetConstant(d, "XDMF_INT32_TYPE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_INT64_TYPE",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "XDMF_FLOAT32_TYPE",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "XDMF_FLOAT64_TYPE",SWIG_From_int(static_cast< int >(5)));
  SWIG_Python_SetConstant(d, "XDMF_UINT8_TYPE",SWIG_From_int(static_cast< int >(7)));
  SWIG_Python_SetConstant(d, "XDMF_UINT16_TYPE",SWIG_From_int(static_cast< int >(8)));
  SWIG_Python_SetConstant(d, "XDMF_UINT32_TYPE",SWIG_From_int(static_cast< int >(9)));
  SWIG_Python_SetConstant(d, "XDMF_COMPOUND_TYPE",SWIG_From_int(static_cast< int >(0x10)));
  SWIG_Python_SetConstant(d, "XDMF_ELEMENT_STATE_UNINITIALIZED",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_ELEMENT_STATE_LIGHT_PARSED",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_ELEMENT_STATE_HEAVY_READ",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_TYPE_NONE",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_TYPE_SCALAR",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_TYPE_VECTOR",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_TYPE_TENSOR",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_TYPE_MATRIX",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_TYPE_TENSOR6",SWIG_From_int(static_cast< int >(5)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_TYPE_GLOBALID",SWIG_From_int(static_cast< int >(6)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_CENTER_GRID",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_CENTER_CELL",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_CENTER_FACE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_CENTER_EDGE",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "XDMF_ATTRIBUTE_CENTER_NODE",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "XDMF_SELECTALL",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_HYPERSLAB",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_COORDINATES",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_ARRAY_TAG_LENGTH",SWIG_From_int(static_cast< int >(80)));
  SWIG_Python_SetConstant(d, "XDMF_FORMAT_XML",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_FORMAT_HDF",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_FORMAT_MYSQL",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_FORMAT_BINARY",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "XDMF_ITEM_UNIFORM",SWIG_From_int(static_cast< int >(0x00)));
  SWIG_Python_SetConstant(d, "XDMF_ITEM_HYPERSLAB",SWIG_From_int(static_cast< int >(0x01)));
  SWIG_Python_SetConstant(d, "XDMF_ITEM_COORDINATES",SWIG_From_int(static_cast< int >(0x02)));
  SWIG_Python_SetConstant(d, "XDMF_ITEM_FUNCTION",SWIG_From_int(static_cast< int >(0x03)));
  SWIG_Python_SetConstant(d, "XDMF_ITEM_COLLECTION",SWIG_From_int(static_cast< int >(0x14)));
  SWIG_Python_SetConstant(d, "XDMF_ITEM_TREE",SWIG_From_int(static_cast< int >(0x15)));
  SWIG_Python_SetConstant(d, "XDMF_ITEM_MASK",SWIG_From_int(static_cast< int >(0xF0)));
  SWIG_Python_SetConstant(d, "XDMF_H5_OTHER",SWIG_From_int(static_cast< int >(0xFF)));
  SWIG_Python_SetConstant(d, "XDMF_MAX_ORDER",SWIG_From_int(static_cast< int >(10)));
  SWIG_Python_SetConstant(d, "XDMF_STRUCTURED",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_UNSTRUCTURED",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_NOTOPOLOGY",SWIG_From_int(static_cast< int >(0x0)));
  SWIG_Python_SetConstant(d, "XDMF_POLYVERTEX",SWIG_From_int(static_cast< int >(0x1)));
  SWIG_Python_SetConstant(d, "XDMF_POLYLINE",SWIG_From_int(static_cast< int >(0x2)));
  SWIG_Python_SetConstant(d, "XDMF_POLYGON",SWIG_From_int(static_cast< int >(0x3)));
  SWIG_Python_SetConstant(d, "XDMF_TRI",SWIG_From_int(static_cast< int >(0x4)));
  SWIG_Python_SetConstant(d, "XDMF_QUAD",SWIG_From_int(static_cast< int >(0x5)));
  SWIG_Python_SetConstant(d, "XDMF_TET",SWIG_From_int(static_cast< int >(0x6)));
  SWIG_Python_SetConstant(d, "XDMF_PYRAMID",SWIG_From_int(static_cast< int >(0x7)));
  SWIG_Python_SetConstant(d, "XDMF_WEDGE",SWIG_From_int(static_cast< int >(0x8)));
  SWIG_Python_SetConstant(d, "XDMF_HEX",SWIG_From_int(static_cast< int >(0x9)));
  SWIG_Python_SetConstant(d, "XDMF_EDGE_3",SWIG_From_int(static_cast< int >(0x0022)));
  SWIG_Python_SetConstant(d, "XDMF_TRI_6",SWIG_From_int(static_cast< int >(0x0024)));
  SWIG_Python_SetConstant(d, "XDMF_QUAD_8",SWIG_From_int(static_cast< int >(0x0025)));
  SWIG_Python_SetConstant(d, "XDMF_QUAD_9",SWIG_From_int(static_cast< int >(0x0023)));
  SWIG_Python_SetConstant(d, "XDMF_TET_10",SWIG_From_int(static_cast< int >(0x0026)));
  SWIG_Python_SetConstant(d, "XDMF_PYRAMID_13",SWIG_From_int(static_cast< int >(0x0027)));
  SWIG_Python_SetConstant(d, "XDMF_WEDGE_15",SWIG_From_int(static_cast< int >(0x0028)));
  SWIG_Python_SetConstant(d, "XDMF_WEDGE_18",SWIG_From_int(static_cast< int >(0x0029)));
  SWIG_Python_SetConstant(d, "XDMF_HEX_20",SWIG_From_int(static_cast< int >(0x0030)));
  SWIG_Python_SetConstant(d, "XDMF_HEX_24",SWIG_From_int(static_cast< int >(0x0031)));
  SWIG_Python_SetConstant(d, "XDMF_HEX_27",SWIG_From_int(static_cast< int >(0x0032)));
  SWIG_Python_SetConstant(d, "XDMF_MIXED",SWIG_From_int(static_cast< int >(0x0070)));
  SWIG_Python_SetConstant(d, "XDMF_2DSMESH",SWIG_From_int(static_cast< int >(0x0100)));
  SWIG_Python_SetConstant(d, "XDMF_2DRECTMESH",SWIG_From_int(static_cast< int >(0x0101)));
  SWIG_Python_SetConstant(d, "XDMF_2DCORECTMESH",SWIG_From_int(static_cast< int >(0x0102)));
  SWIG_Python_SetConstant(d, "XDMF_3DSMESH",SWIG_From_int(static_cast< int >(0x1100)));
  SWIG_Python_SetConstant(d, "XDMF_3DRECTMESH",SWIG_From_int(static_cast< int >(0x1101)));
  SWIG_Python_SetConstant(d, "XDMF_3DCORECTMESH",SWIG_From_int(static_cast< int >(0x1102)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_NONE",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_XYZ",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_XY",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_X_Y_Z",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_X_Y",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_VXVYVZ",SWIG_From_int(static_cast< int >(5)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_ORIGIN_DXDYDZ",SWIG_From_int(static_cast< int >(6)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_VXVY",SWIG_From_int(static_cast< int >(7)));
  SWIG_Python_SetConstant(d, "XDMF_GEOMETRY_ORIGIN_DXDY",SWIG_From_int(static_cast< int >(8)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_UNIFORM",SWIG_From_int(static_cast< int >(0x00000)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_COLLECTION",SWIG_From_int(static_cast< int >(0x10000)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_TREE",SWIG_From_int(static_cast< int >(0x20000)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_SUBSET",SWIG_From_int(static_cast< int >(0x40000)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_UNSET",SWIG_From_int(static_cast< int >(0x0FFFF)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_MASK",SWIG_From_int(static_cast< int >(0xF0000)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_SECTION_ALL",SWIG_From_int(static_cast< int >(0x100000)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_SECTION_DATA_ITEM",SWIG_From_int(static_cast< int >(0x200000)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_SECTION_MASK",SWIG_From_int(static_cast< int >(0xF00000)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_COLLECTION_TEMPORAL",SWIG_From_int(static_cast< int >(0x0001)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_COLLECTION_SPATIAL",SWIG_From_int(static_cast< int >(0x0002)));
  SWIG_Python_SetConstant(d, "XDMF_GRID_COLLECTION_UNSET",SWIG_From_int(static_cast< int >(0x0FFFF)));
  SWIG_Python_SetConstant(d, "XDMF_TIME_SINGLE",SWIG_From_int(static_cast< int >(0x00)));
  SWIG_Python_SetConstant(d, "XDMF_TIME_LIST",SWIG_From_int(static_cast< int >(0x01)));
  SWIG_Python_SetConstant(d, "XDMF_TIME_HYPERSLAB",SWIG_From_int(static_cast< int >(0x02)));
  SWIG_Python_SetConstant(d, "XDMF_TIME_RANGE",SWIG_From_int(static_cast< int >(0x03)));
  SWIG_Python_SetConstant(d, "XDMF_TIME_FUNCTION",SWIG_From_int(static_cast< int >(0x04)));
  SWIG_Python_SetConstant(d, "XDMF_TIME_UNSET",SWIG_From_int(static_cast< int >(0x0FF)));
  SWIG_Python_SetConstant(d, "XDMF_REGION_TYPE_UNSET",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "XDMF_REGION_TYPE_CELL",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_REGION_TYPE_FACE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_REGION_TYPE_EDGE",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "XDMF_REGION_TYPE_NODE",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "XDMF_SET_MAX_ORDER",SWIG_From_int(static_cast< int >(50)));
  SWIG_Python_SetConstant(d, "XDMF_SET_TYPE_UNSET",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "XDMF_SET_TYPE_NODE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_SET_TYPE_CELL",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_SET_TYPE_FACE",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "XDMF_SET_TYPE_EDGE",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "XDMF_MAP_MAX_ORDER",SWIG_From_int(static_cast< int >(50)));
  SWIG_Python_SetConstant(d, "XDMF_MAP_TYPE_UNSET",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "XDMF_MAP_TYPE_NODE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_MAP_TYPE_CELL",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_MAP_TYPE_FACE",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "XDMF_MAP_TYPE_EDGE",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_OPCODE_DONE",SWIG_From_int(static_cast< int >(0xFF)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_TYPE_UNIFORM",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_TYPE_UNIFORM_RANGE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_TYPE_MIXED",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_DEFAULT_LENGTH",SWIG_From_int(static_cast< int >(10000)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_DEFAULT_TAG",SWIG_From_int(static_cast< int >(0x80)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_COMMAND_TAG",SWIG_From_int(static_cast< int >(0x81)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_RESPONSE_TAG",SWIG_From_int(static_cast< int >(0x82)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_ANY_SOURCE",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "XDMF_DSM_MAX_LOCKS",SWIG_From_int(static_cast< int >(32)));
#if PY_VERSION_HEX >= 0x03000000
  return m;
#else
  return;
#endif
}

