Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[win] I fail to disable winpthread + I think it's harmless, so re-enable it
[simgrid.git] / src / bindings / java / org / simgrid / surf / Model.java
index f1caaa3..6f4787f 100644 (file)
@@ -1,6 +1,6 @@
 /* ----------------------------------------------------------------------------
  * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 2.0.12
  *
  * Do not make changes to this file unless you know what you are doing--modify
  * the SWIG interface file instead.
@@ -46,23 +46,6 @@ public class Model {
   }
 
   
-  /**
-    * Model constructor
-    * @param name The name of the model
-    */
-  public Model(String name) {
-    this(SurfJNI.new_Model(name), true);
-  }
-
-  
-  /**
-    * @return The name of the model
-    */
-  public String getName() {
-    return SurfJNI.Model_getName(swigCPtr, this);
-  }
-
-  
   /**
     * Share the resources between the actions
     * @param now the current time
@@ -107,4 +90,8 @@ public class Model {
     return (cPtr == 0) ? null : new ActionList(cPtr, false);
   }
 
+  public void addTraces() {
+    SurfJNI.Model_addTraces(swigCPtr, this);
+  }
+
 }