Salome HOME
Merge from V6_main (04/10/2012)
[tools/medcoupling.git] / src / MEDCoupling_Swig / MEDCouplingCommon.i
index b6e2d0b64d0603f72ebf3d85d8733251e7ee7c6e..085293b0c9405d55d120950ae93e10bd174a8660 100644 (file)
@@ -2444,7 +2444,39 @@ namespace ParaMEDMEM
   {
     return self->buildDADouble(1,self->getNumberOfCompo());
   }
+
+  PyObject *___iadd___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayDouble> ret=self->buildDADouble(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayDouble____iadd___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
   
+  PyObject *___isub___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayDouble> ret=self->buildDADouble(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayDouble____isub___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
+  
+  PyObject *___imul___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayDouble> ret=self->buildDADouble(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayDouble____imul___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
+
+  PyObject *___idiv___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayDouble> ret=self->buildDADouble(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayDouble____idiv___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
+
   PyObject *__getitem__(PyObject *obj) throw(INTERP_KERNEL::Exception)
   {
     int sw;
@@ -4108,6 +4140,46 @@ namespace ParaMEDMEM
   {
     return self->buildDAInt(1,self->getNumberOfCompo());
   }
+
+  PyObject *___iadd___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayInt> ret=self->buildDAInt(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayInt____iadd___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
+  
+  PyObject *___isub___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayInt> ret=self->buildDAInt(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayInt____isub___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
+  
+  PyObject *___imul___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayInt> ret=self->buildDAInt(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayInt____imul___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
+
+  PyObject *___idiv___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayInt> ret=self->buildDAInt(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayInt____idiv___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
+
+  PyObject *___imod___(PyObject *trueSelf, PyObject *obj) throw(INTERP_KERNEL::Exception)
+  {
+    MEDCouplingAutoRefCountObjectPtr<DataArrayInt> ret=self->buildDAInt(1,self->getNumberOfCompo());
+    ParaMEDMEM_DataArrayInt____imod___(ret,0,obj);
+    Py_XINCREF(trueSelf);
+    return trueSelf;
+  }
   
   PyObject *__getitem__(PyObject *obj) throw(INTERP_KERNEL::Exception)
   {